@hed-hog/operations 0.0.294 → 0.0.296

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/operations.controller.d.ts +415 -0
  2. package/dist/operations.controller.d.ts.map +1 -0
  3. package/dist/operations.controller.js +333 -0
  4. package/dist/operations.controller.js.map +1 -0
  5. package/dist/operations.module.d.ts.map +1 -1
  6. package/dist/operations.module.js +4 -3
  7. package/dist/operations.module.js.map +1 -1
  8. package/dist/operations.service.d.ts +589 -153
  9. package/dist/operations.service.d.ts.map +1 -1
  10. package/dist/operations.service.js +2229 -100
  11. package/dist/operations.service.js.map +1 -1
  12. package/hedhog/data/menu.yaml +198 -251
  13. package/hedhog/data/role.yaml +23 -14
  14. package/hedhog/data/route.yaml +317 -143
  15. package/hedhog/frontend/app/_components/collaborator-details-screen.tsx.ejs +310 -0
  16. package/hedhog/frontend/app/_components/collaborator-form-screen.tsx.ejs +631 -0
  17. package/hedhog/frontend/app/_components/contract-details-screen.tsx.ejs +132 -0
  18. package/hedhog/frontend/app/_components/contract-form-screen.tsx.ejs +558 -0
  19. package/hedhog/frontend/app/_components/project-details-screen.tsx.ejs +291 -0
  20. package/hedhog/frontend/app/_components/project-form-screen.tsx.ejs +689 -0
  21. package/hedhog/frontend/app/_lib/api.ts.ejs +32 -0
  22. package/hedhog/frontend/app/_lib/hooks/use-operations-access.ts.ejs +44 -0
  23. package/hedhog/frontend/app/_lib/types.ts.ejs +360 -0
  24. package/hedhog/frontend/app/_lib/utils/format.ts.ejs +129 -25
  25. package/hedhog/frontend/app/_lib/utils/forms.ts.ejs +14 -0
  26. package/hedhog/frontend/app/approvals/page.tsx.ejs +386 -147
  27. package/hedhog/frontend/app/collaborators/[id]/edit/page.tsx.ejs +11 -0
  28. package/hedhog/frontend/app/collaborators/[id]/page.tsx.ejs +11 -0
  29. package/hedhog/frontend/app/collaborators/new/page.tsx.ejs +5 -0
  30. package/hedhog/frontend/app/collaborators/page.tsx.ejs +261 -0
  31. package/hedhog/frontend/app/contracts/[id]/edit/page.tsx.ejs +11 -0
  32. package/hedhog/frontend/app/contracts/[id]/page.tsx.ejs +11 -108
  33. package/hedhog/frontend/app/contracts/new/page.tsx.ejs +17 -0
  34. package/hedhog/frontend/app/contracts/page.tsx.ejs +262 -181
  35. package/hedhog/frontend/app/page.tsx.ejs +319 -177
  36. package/hedhog/frontend/app/projects/[id]/edit/page.tsx.ejs +11 -0
  37. package/hedhog/frontend/app/projects/[id]/page.tsx.ejs +11 -936
  38. package/hedhog/frontend/app/projects/new/page.tsx.ejs +5 -0
  39. package/hedhog/frontend/app/projects/page.tsx.ejs +236 -1074
  40. package/hedhog/frontend/app/schedule-adjustments/page.tsx.ejs +418 -0
  41. package/hedhog/frontend/app/team/page.tsx.ejs +339 -0
  42. package/hedhog/frontend/app/time-off/page.tsx.ejs +328 -0
  43. package/hedhog/frontend/app/timesheets/page.tsx.ejs +636 -126
  44. package/hedhog/frontend/messages/en.json +648 -454
  45. package/hedhog/frontend/messages/pt.json +647 -454
  46. package/hedhog/table/operations_approval.yaml +49 -0
  47. package/hedhog/table/operations_approval_history.yaml +29 -0
  48. package/hedhog/table/{operations_employee.yaml → operations_collaborator.yaml} +67 -64
  49. package/hedhog/table/operations_collaborator_schedule_day.yaml +34 -0
  50. package/hedhog/table/operations_contract.yaml +100 -48
  51. package/hedhog/table/operations_contract_document.yaml +39 -0
  52. package/hedhog/table/operations_contract_financial_term.yaml +40 -0
  53. package/hedhog/table/operations_contract_history.yaml +27 -0
  54. package/hedhog/table/operations_contract_party.yaml +46 -0
  55. package/hedhog/table/operations_contract_revision.yaml +38 -0
  56. package/hedhog/table/operations_contract_signature.yaml +38 -0
  57. package/hedhog/table/operations_project.yaml +54 -50
  58. package/hedhog/table/{operations_allocation.yaml → operations_project_assignment.yaml} +55 -52
  59. package/hedhog/table/operations_schedule_adjustment_day.yaml +34 -0
  60. package/hedhog/table/operations_schedule_adjustment_request.yaml +53 -0
  61. package/hedhog/table/operations_time_off_request.yaml +57 -0
  62. package/hedhog/table/operations_timesheet.yaml +41 -36
  63. package/hedhog/table/operations_timesheet_entry.yaml +40 -50
  64. package/package.json +7 -6
  65. package/src/operations.controller.ts +182 -0
  66. package/src/operations.module.ts +22 -21
  67. package/src/operations.service.ts +3595 -137
  68. package/hedhog/data/operations_career_level.yaml +0 -102
  69. package/hedhog/data/operations_career_track.yaml +0 -8
  70. package/hedhog/data/operations_certification.yaml +0 -38
  71. package/hedhog/data/operations_evaluation_cycle.yaml +0 -18
  72. package/hedhog/data/operations_performance_criterion.yaml +0 -48
  73. package/hedhog/frontend/app/_components/allocation-calendar.tsx.ejs +0 -56
  74. package/hedhog/frontend/app/_components/kanban-board.tsx.ejs +0 -626
  75. package/hedhog/frontend/app/_components/timesheet-entry-dialog.tsx.ejs +0 -142
  76. package/hedhog/frontend/app/_lib/hooks/use-operations-data.ts.ejs +0 -41
  77. package/hedhog/frontend/app/_lib/hooks/use-operations-growth-data.ts.ejs +0 -63
  78. package/hedhog/frontend/app/_lib/mocks/allocations.mock.ts.ejs +0 -74
  79. package/hedhog/frontend/app/_lib/mocks/contracts.mock.ts.ejs +0 -74
  80. package/hedhog/frontend/app/_lib/mocks/operations-growth.mock.ts.ejs +0 -824
  81. package/hedhog/frontend/app/_lib/mocks/projects.mock.ts.ejs +0 -455
  82. package/hedhog/frontend/app/_lib/mocks/tasks.mock.ts.ejs +0 -117
  83. package/hedhog/frontend/app/_lib/mocks/timesheets.mock.ts.ejs +0 -84
  84. package/hedhog/frontend/app/_lib/mocks/users.mock.ts.ejs +0 -67
  85. package/hedhog/frontend/app/_lib/services/contracts.service.ts.ejs +0 -10
  86. package/hedhog/frontend/app/_lib/services/operations-growth.service.ts.ejs +0 -31
  87. package/hedhog/frontend/app/_lib/services/projects.service.ts.ejs +0 -10
  88. package/hedhog/frontend/app/_lib/services/tasks.service.ts.ejs +0 -10
  89. package/hedhog/frontend/app/_lib/services/timesheets.service.ts.ejs +0 -10
  90. package/hedhog/frontend/app/_lib/types/operations-growth.ts.ejs +0 -209
  91. package/hedhog/frontend/app/_lib/types/operations.ts.ejs +0 -156
  92. package/hedhog/frontend/app/_lib/utils/growth.ts.ejs +0 -62
  93. package/hedhog/frontend/app/_lib/utils/metrics.ts.ejs +0 -103
  94. package/hedhog/frontend/app/_lib/utils/status.ts.ejs +0 -80
  95. package/hedhog/frontend/app/allocations/page.tsx.ejs +0 -155
  96. package/hedhog/frontend/app/career/page.tsx.ejs +0 -143
  97. package/hedhog/frontend/app/certifications/page.tsx.ejs +0 -202
  98. package/hedhog/frontend/app/evaluations/page.tsx.ejs +0 -278
  99. package/hedhog/frontend/app/goals/page.tsx.ejs +0 -171
  100. package/hedhog/frontend/app/growth/page.tsx.ejs +0 -288
  101. package/hedhog/frontend/app/manager/page.tsx.ejs +0 -175
  102. package/hedhog/frontend/app/rewards/page.tsx.ejs +0 -196
  103. package/hedhog/frontend/app/tasks/page.tsx.ejs +0 -999
  104. package/hedhog/table/operations_calibration_item.yaml +0 -61
  105. package/hedhog/table/operations_calibration_session.yaml +0 -25
  106. package/hedhog/table/operations_career_level.yaml +0 -75
  107. package/hedhog/table/operations_career_track.yaml +0 -21
  108. package/hedhog/table/operations_certification.yaml +0 -48
  109. package/hedhog/table/operations_employee_certification.yaml +0 -43
  110. package/hedhog/table/operations_employee_connect.yaml +0 -61
  111. package/hedhog/table/operations_employee_evaluation.yaml +0 -113
  112. package/hedhog/table/operations_employee_evaluation_item.yaml +0 -39
  113. package/hedhog/table/operations_employee_profile.yaml +0 -80
  114. package/hedhog/table/operations_employee_skill_matrix.yaml +0 -30
  115. package/hedhog/table/operations_evaluation_cycle.yaml +0 -31
  116. package/hedhog/table/operations_goal.yaml +0 -67
  117. package/hedhog/table/operations_goal_progress.yaml +0 -31
  118. package/hedhog/table/operations_performance_criterion.yaml +0 -29
  119. package/hedhog/table/operations_promotion_readiness.yaml +0 -49
  120. package/hedhog/table/operations_promotion_recommendation.yaml +0 -63
  121. package/hedhog/table/operations_public_recognition.yaml +0 -46
  122. package/hedhog/table/operations_reward.yaml +0 -100
  123. package/hedhog/table/operations_score_event.yaml +0 -81
  124. package/hedhog/table/operations_task.yaml +0 -60
  125. package/src/operations-data.controller.ts +0 -54
  126. package/src/operations-growth.controller.ts +0 -44
@@ -1,455 +0,0 @@
1
- import type { Project } from '../types/operations';
2
-
3
- export const projectsMock: Project[] = [
4
- {
5
- id: 'prj-orion-web',
6
- name: 'Orion Commerce Revamp',
7
- client: 'Orion Retail Group',
8
- progress: 72,
9
- status: 'active',
10
- teamMemberIds: ['usr-ana', 'usr-bruno', 'usr-elisa', 'usr-fabio'],
11
- hoursLogged: 386,
12
- startDate: '2026-01-08',
13
- endDate: '2026-06-30',
14
- description:
15
- 'Frontend and middleware modernization for the main commerce experience.',
16
- contractId: 'ctr-orion',
17
- budget: 128000,
18
- health: {
19
- overall: 'stable',
20
- scope: 'stable',
21
- schedule: 'attention',
22
- budget: 'stable',
23
- quality: 'excellent',
24
- },
25
- milestones: [
26
- {
27
- id: 'ms-orion-web-1',
28
- title: 'Checkout architecture approved',
29
- date: '2026-02-10',
30
- status: 'done',
31
- description:
32
- 'Core checkout orchestration and rollback strategy approved.',
33
- },
34
- {
35
- id: 'ms-orion-web-2',
36
- title: 'Mobile redesign beta',
37
- date: '2026-04-02',
38
- status: 'next',
39
- description:
40
- 'Mobile PDP and cart refinements available to pilot stores.',
41
- },
42
- {
43
- id: 'ms-orion-web-3',
44
- title: 'Go-live window',
45
- date: '2026-06-25',
46
- status: 'next',
47
- description:
48
- 'Final release cut with observability and rollback checklists.',
49
- },
50
- ],
51
- risks: [
52
- {
53
- id: 'risk-orion-web-1',
54
- title: 'Payment fallback latency in peak season',
55
- ownerUserId: 'usr-diego',
56
- severity: 'high',
57
- status: 'open',
58
- impact: 'Potential conversion drop during high traffic windows.',
59
- mitigation: 'Add edge caching and asynchronous fallback queue.',
60
- },
61
- {
62
- id: 'risk-orion-web-2',
63
- title: 'Client QA team availability reduced',
64
- ownerUserId: 'usr-ana',
65
- severity: 'medium',
66
- status: 'mitigated',
67
- impact: 'Approval cycle can delay final release by one sprint.',
68
- mitigation: 'Shared acceptance criteria and mid-sprint QA handoff.',
69
- },
70
- ],
71
- dependencies: [
72
- {
73
- id: 'dep-orion-web-1',
74
- title: 'Pricing API stabilization',
75
- owner: 'Platform Squad',
76
- type: 'internal',
77
- status: 'watch',
78
- },
79
- {
80
- id: 'dep-orion-web-2',
81
- title: 'Storefront CDN contract update',
82
- owner: 'Orion Procurement',
83
- type: 'client',
84
- status: 'on-track',
85
- },
86
- ],
87
- decisions: [
88
- {
89
- id: 'dec-orion-web-1',
90
- date: '2026-02-14',
91
- title: 'Adopt phased rollout by region',
92
- ownerUserId: 'usr-ana',
93
- summary:
94
- 'Release by region to reduce blast radius and accelerate learning.',
95
- },
96
- {
97
- id: 'dec-orion-web-2',
98
- date: '2026-03-05',
99
- title: 'Prioritize checkout reliability over catalog animation scope',
100
- ownerUserId: 'usr-carla',
101
- summary:
102
- 'Shifted effort from low-impact visual scope to transactional reliability.',
103
- },
104
- ],
105
- nextActions: [
106
- 'Concluir fallback de pricing e validar em carga.',
107
- 'Executar dry-run do plano de rollout regional.',
108
- 'Fechar checklist de observabilidade de checkout.',
109
- ],
110
- monthlyForecast: [
111
- {
112
- month: 'Jan',
113
- plannedCost: 14000,
114
- actualCost: 13200,
115
- plannedProgress: 14,
116
- actualProgress: 12,
117
- },
118
- {
119
- month: 'Feb',
120
- plannedCost: 18000,
121
- actualCost: 19250,
122
- plannedProgress: 30,
123
- actualProgress: 28,
124
- },
125
- {
126
- month: 'Mar',
127
- plannedCost: 22000,
128
- actualCost: 23500,
129
- plannedProgress: 48,
130
- actualProgress: 45,
131
- },
132
- {
133
- month: 'Apr',
134
- plannedCost: 21000,
135
- actualCost: 0,
136
- plannedProgress: 63,
137
- actualProgress: 0,
138
- },
139
- {
140
- month: 'May',
141
- plannedCost: 19500,
142
- actualCost: 0,
143
- plannedProgress: 82,
144
- actualProgress: 0,
145
- },
146
- {
147
- month: 'Jun',
148
- plannedCost: 17000,
149
- actualCost: 0,
150
- plannedProgress: 100,
151
- actualProgress: 0,
152
- },
153
- ],
154
- },
155
- {
156
- id: 'prj-orion-data',
157
- name: 'Orion Data Foundation',
158
- client: 'Orion Retail Group',
159
- progress: 48,
160
- status: 'at-risk',
161
- teamMemberIds: ['usr-carla', 'usr-diego', 'usr-gabi'],
162
- hoursLogged: 244,
163
- startDate: '2026-02-03',
164
- endDate: '2026-09-15',
165
- description:
166
- 'Data governance and reporting layer for omnichannel operations.',
167
- contractId: 'ctr-orion',
168
- budget: 98000,
169
- health: {
170
- overall: 'attention',
171
- scope: 'stable',
172
- schedule: 'critical',
173
- budget: 'attention',
174
- quality: 'stable',
175
- },
176
- milestones: [
177
- {
178
- id: 'ms-orion-data-1',
179
- title: 'Data ownership mapping',
180
- date: '2026-03-07',
181
- status: 'done',
182
- description:
183
- 'Ownership and stewardship model approved by operations and BI.',
184
- },
185
- {
186
- id: 'ms-orion-data-2',
187
- title: 'Warehouse latency dashboard',
188
- date: '2026-04-20',
189
- status: 'delayed',
190
- description: 'Delayed due to source system inconsistencies.',
191
- },
192
- ],
193
- risks: [
194
- {
195
- id: 'risk-orion-data-1',
196
- title: 'Source systems have inconsistent SKU IDs',
197
- ownerUserId: 'usr-gabi',
198
- severity: 'high',
199
- status: 'open',
200
- impact: 'Executive dashboards may show wrong reconciled volume.',
201
- mitigation:
202
- 'Introduce temporary canonical mapping table and nightly audit.',
203
- },
204
- ],
205
- dependencies: [
206
- {
207
- id: 'dep-orion-data-1',
208
- title: 'ERP extract contract extension',
209
- owner: 'Client IT',
210
- type: 'client',
211
- status: 'blocked',
212
- },
213
- ],
214
- decisions: [
215
- {
216
- id: 'dec-orion-data-1',
217
- date: '2026-03-02',
218
- title: 'Adopt weekly release train for analytics assets',
219
- ownerUserId: 'usr-carla',
220
- summary: 'Move from ad-hoc delivery to weekly controlled releases.',
221
- },
222
- ],
223
- nextActions: [
224
- 'Destravar contrato de extracao ERP com TI do cliente.',
225
- 'Concluir camada de reconciliacao de SKUs.',
226
- ],
227
- monthlyForecast: [
228
- {
229
- month: 'Feb',
230
- plannedCost: 11000,
231
- actualCost: 12100,
232
- plannedProgress: 12,
233
- actualProgress: 10,
234
- },
235
- {
236
- month: 'Mar',
237
- plannedCost: 15000,
238
- actualCost: 16800,
239
- plannedProgress: 24,
240
- actualProgress: 20,
241
- },
242
- {
243
- month: 'Apr',
244
- plannedCost: 17000,
245
- actualCost: 0,
246
- plannedProgress: 38,
247
- actualProgress: 0,
248
- },
249
- {
250
- month: 'May',
251
- plannedCost: 16500,
252
- actualCost: 0,
253
- plannedProgress: 55,
254
- actualProgress: 0,
255
- },
256
- ],
257
- },
258
- {
259
- id: 'prj-zenith-cloud',
260
- name: 'Zenith Cloud Stabilization',
261
- client: 'Zenith Health',
262
- progress: 61,
263
- status: 'active',
264
- teamMemberIds: ['usr-ana', 'usr-diego', 'usr-fabio'],
265
- hoursLogged: 322,
266
- startDate: '2026-01-12',
267
- endDate: '2026-07-31',
268
- description:
269
- 'Ops stabilization and incident reduction program after migration.',
270
- contractId: 'ctr-zenith',
271
- budget: 115000,
272
- health: {
273
- overall: 'stable',
274
- scope: 'stable',
275
- schedule: 'stable',
276
- budget: 'stable',
277
- quality: 'attention',
278
- },
279
- milestones: [
280
- {
281
- id: 'ms-zenith-1',
282
- title: 'Alert routing automation',
283
- date: '2026-03-15',
284
- status: 'done',
285
- description: 'Critical incidents now route by service ownership.',
286
- },
287
- {
288
- id: 'ms-zenith-2',
289
- title: 'Quarterly resilience test',
290
- date: '2026-05-12',
291
- status: 'next',
292
- description: 'Failure simulation for top-priority services.',
293
- },
294
- ],
295
- risks: [
296
- {
297
- id: 'risk-zenith-1',
298
- title: 'On-call fatigue after migration incidents',
299
- ownerUserId: 'usr-bruno',
300
- severity: 'medium',
301
- status: 'accepted',
302
- impact: 'Potential drop in response quality and team morale.',
303
- mitigation: 'Rotate on-call and enforce cooldown policies.',
304
- },
305
- ],
306
- dependencies: [
307
- {
308
- id: 'dep-zenith-1',
309
- title: 'Client security review for runbook tooling',
310
- owner: 'Zenith Security Board',
311
- type: 'client',
312
- status: 'on-track',
313
- },
314
- ],
315
- decisions: [
316
- {
317
- id: 'dec-zenith-1',
318
- date: '2026-03-16',
319
- title: 'Switch major incidents to follow-the-sun protocol',
320
- ownerUserId: 'usr-ana',
321
- summary:
322
- 'Distribute high-severity handling to reduce response bottlenecks.',
323
- },
324
- ],
325
- nextActions: [
326
- 'Publicar runbook atualizado no comite mensal.',
327
- 'Executar simulacao de falha em ambiente controlado.',
328
- ],
329
- monthlyForecast: [
330
- {
331
- month: 'Jan',
332
- plannedCost: 16000,
333
- actualCost: 15700,
334
- plannedProgress: 16,
335
- actualProgress: 17,
336
- },
337
- {
338
- month: 'Feb',
339
- plannedCost: 17000,
340
- actualCost: 17400,
341
- plannedProgress: 31,
342
- actualProgress: 30,
343
- },
344
- {
345
- month: 'Mar',
346
- plannedCost: 19500,
347
- actualCost: 18800,
348
- plannedProgress: 45,
349
- actualProgress: 47,
350
- },
351
- {
352
- month: 'Apr',
353
- plannedCost: 18200,
354
- actualCost: 0,
355
- plannedProgress: 58,
356
- actualProgress: 0,
357
- },
358
- ],
359
- },
360
- {
361
- id: 'prj-atlas-crm',
362
- name: 'Atlas CRM Implementation',
363
- client: 'Atlas Logistics',
364
- progress: 29,
365
- status: 'planning',
366
- teamMemberIds: ['usr-carla', 'usr-elisa', 'usr-gabi'],
367
- hoursLogged: 104,
368
- startDate: '2026-03-01',
369
- endDate: '2026-08-31',
370
- description: 'Sales and service CRM rollout with operational dashboards.',
371
- contractId: 'ctr-atlas',
372
- budget: 89000,
373
- health: {
374
- overall: 'stable',
375
- scope: 'excellent',
376
- schedule: 'stable',
377
- budget: 'stable',
378
- quality: 'stable',
379
- },
380
- milestones: [
381
- {
382
- id: 'ms-atlas-1',
383
- title: 'Discovery and process mapping',
384
- date: '2026-03-18',
385
- status: 'done',
386
- description:
387
- 'Cross-functional mapping completed for sales and support flows.',
388
- },
389
- {
390
- id: 'ms-atlas-2',
391
- title: 'Pilot launch',
392
- date: '2026-05-30',
393
- status: 'next',
394
- description: 'Pilot branch launch for LATAM service teams.',
395
- },
396
- ],
397
- risks: [
398
- {
399
- id: 'risk-atlas-1',
400
- title: 'Data migration quality from legacy CRM',
401
- ownerUserId: 'usr-elisa',
402
- severity: 'medium',
403
- status: 'open',
404
- impact: 'Historical data can affect reporting confidence.',
405
- mitigation:
406
- 'Two-step migration with sample reconciliation by business users.',
407
- },
408
- ],
409
- dependencies: [
410
- {
411
- id: 'dep-atlas-1',
412
- title: 'Vendor integration environment',
413
- owner: 'CRM Vendor',
414
- type: 'vendor',
415
- status: 'watch',
416
- },
417
- ],
418
- decisions: [
419
- {
420
- id: 'dec-atlas-1',
421
- date: '2026-03-20',
422
- title: 'Adopt phased migration by business unit',
423
- ownerUserId: 'usr-carla',
424
- summary: 'Move migration in waves to protect frontline operations.',
425
- },
426
- ],
427
- nextActions: [
428
- 'Confirmar escopo da primeira onda de migracao.',
429
- 'Publicar roteiro de treinamento dos usuarios finais.',
430
- ],
431
- monthlyForecast: [
432
- {
433
- month: 'Mar',
434
- plannedCost: 10500,
435
- actualCost: 9600,
436
- plannedProgress: 10,
437
- actualProgress: 12,
438
- },
439
- {
440
- month: 'Apr',
441
- plannedCost: 13000,
442
- actualCost: 0,
443
- plannedProgress: 24,
444
- actualProgress: 0,
445
- },
446
- {
447
- month: 'May',
448
- plannedCost: 14800,
449
- actualCost: 0,
450
- plannedProgress: 41,
451
- actualProgress: 0,
452
- },
453
- ],
454
- },
455
- ];
@@ -1,117 +0,0 @@
1
- import type { Task } from '../types/operations';
2
-
3
- export const tasksMock: Task[] = [
4
- {
5
- id: 'tsk-101',
6
- title: 'Finalize checkout journey QA',
7
- projectId: 'prj-orion-web',
8
- projectName: 'Orion Commerce Revamp',
9
- status: 'review',
10
- priority: 'high',
11
- labels: ['QA', 'E-commerce'],
12
- assignedUserId: 'usr-fabio',
13
- dueDate: '2026-03-18',
14
- estimatedHours: 10,
15
- order: 1,
16
- description: 'Regression pass for payment and address validation flows.',
17
- },
18
- {
19
- id: 'tsk-102',
20
- title: 'Implement pricing API fallback',
21
- projectId: 'prj-orion-web',
22
- projectName: 'Orion Commerce Revamp',
23
- status: 'in-progress',
24
- priority: 'critical',
25
- labels: ['Backend', 'API'],
26
- assignedUserId: 'usr-diego',
27
- dueDate: '2026-03-20',
28
- estimatedHours: 16,
29
- order: 1,
30
- description: 'Fallback logic for inventory and pricing sync gaps.',
31
- },
32
- {
33
- id: 'tsk-103',
34
- title: 'Refine mobile PDP layouts',
35
- projectId: 'prj-orion-web',
36
- projectName: 'Orion Commerce Revamp',
37
- status: 'todo',
38
- priority: 'medium',
39
- labels: ['UX', 'Frontend'],
40
- assignedUserId: 'usr-elisa',
41
- dueDate: '2026-03-21',
42
- estimatedHours: 14,
43
- order: 1,
44
- description: 'Polish responsive product detail page spacing and hierarchy.',
45
- },
46
- {
47
- id: 'tsk-104',
48
- title: 'Map KPI ownership by squad',
49
- projectId: 'prj-orion-data',
50
- projectName: 'Orion Data Foundation',
51
- status: 'backlog',
52
- priority: 'low',
53
- labels: ['Discovery'],
54
- assignedUserId: 'usr-carla',
55
- dueDate: '2026-03-24',
56
- estimatedHours: 8,
57
- order: 1,
58
- description: 'Confirm ownership and cadence for operational KPIs.',
59
- },
60
- {
61
- id: 'tsk-105',
62
- title: 'Finish warehouse latency dashboard',
63
- projectId: 'prj-orion-data',
64
- projectName: 'Orion Data Foundation',
65
- status: 'in-progress',
66
- priority: 'high',
67
- labels: ['BI', 'Ops'],
68
- assignedUserId: 'usr-gabi',
69
- dueDate: '2026-03-22',
70
- estimatedHours: 18,
71
- order: 1,
72
- description: 'Visualize shipping delay drivers and same-day SLA misses.',
73
- },
74
- {
75
- id: 'tsk-106',
76
- title: 'Automate alert routing for critical incidents',
77
- projectId: 'prj-zenith-cloud',
78
- projectName: 'Zenith Cloud Stabilization',
79
- status: 'done',
80
- priority: 'medium',
81
- labels: ['Automation', 'Cloud'],
82
- assignedUserId: 'usr-bruno',
83
- dueDate: '2026-03-15',
84
- estimatedHours: 12,
85
- order: 1,
86
- description: 'Connect PagerDuty routing rules to service ownership matrix.',
87
- },
88
- {
89
- id: 'tsk-107',
90
- title: 'Prepare CRM rollout dependency board',
91
- projectId: 'prj-atlas-crm',
92
- projectName: 'Atlas CRM Implementation',
93
- status: 'todo',
94
- priority: 'medium',
95
- labels: ['PMO'],
96
- assignedUserId: 'usr-carla',
97
- dueDate: '2026-03-26',
98
- estimatedHours: 9,
99
- order: 2,
100
- description: 'Track implementation dependencies before build phase starts.',
101
- },
102
- {
103
- id: 'tsk-108',
104
- title: 'Write escalation playbook for incident command',
105
- projectId: 'prj-zenith-cloud',
106
- projectName: 'Zenith Cloud Stabilization',
107
- status: 'backlog',
108
- priority: 'high',
109
- labels: ['Ops', 'Runbook'],
110
- assignedUserId: '',
111
- dueDate: '2026-03-28',
112
- estimatedHours: 6,
113
- order: 2,
114
- description:
115
- 'Define owner rotation and escalation trees for sev-1 incidents.',
116
- },
117
- ];
@@ -1,84 +0,0 @@
1
- import type { TimesheetEntry } from '../types/operations';
2
-
3
- export const timesheetsMock: TimesheetEntry[] = [
4
- {
5
- id: 'time-001',
6
- date: '2026-03-10',
7
- userId: 'usr-elisa',
8
- projectId: 'prj-orion-web',
9
- taskId: 'tsk-103',
10
- hours: 6,
11
- description: 'Mobile PDP refinements and component spacing updates.',
12
- status: 'approved',
13
- },
14
- {
15
- id: 'time-002',
16
- date: '2026-03-10',
17
- userId: 'usr-diego',
18
- projectId: 'prj-orion-web',
19
- taskId: 'tsk-102',
20
- hours: 7.5,
21
- description: 'Pricing API fallback implementation and test coverage.',
22
- status: 'pending',
23
- },
24
- {
25
- id: 'time-003',
26
- date: '2026-03-11',
27
- userId: 'usr-fabio',
28
- projectId: 'prj-orion-web',
29
- taskId: 'tsk-101',
30
- hours: 5,
31
- description: 'Regression testing for checkout and payment flows.',
32
- status: 'approved',
33
- },
34
- {
35
- id: 'time-004',
36
- date: '2026-03-11',
37
- userId: 'usr-gabi',
38
- projectId: 'prj-orion-data',
39
- taskId: 'tsk-105',
40
- hours: 6.5,
41
- description: 'Dashboard wireframe iteration with supply chain metrics.',
42
- status: 'pending',
43
- },
44
- {
45
- id: 'time-005',
46
- date: '2026-03-12',
47
- userId: 'usr-ana',
48
- projectId: 'prj-zenith-cloud',
49
- taskId: 'tsk-106',
50
- hours: 4,
51
- description: 'Incident review and action plan with client leadership.',
52
- status: 'approved',
53
- },
54
- {
55
- id: 'time-006',
56
- date: '2026-03-12',
57
- userId: 'usr-carla',
58
- projectId: 'prj-atlas-crm',
59
- taskId: 'tsk-107',
60
- hours: 7,
61
- description: 'Rollout planning workshop and dependency review.',
62
- status: 'rejected',
63
- },
64
- {
65
- id: 'time-007',
66
- date: '2026-03-13',
67
- userId: 'usr-diego',
68
- projectId: 'prj-zenith-cloud',
69
- taskId: 'tsk-106',
70
- hours: 8,
71
- description: 'Alert routing automation hardening and validation.',
72
- status: 'approved',
73
- },
74
- {
75
- id: 'time-008',
76
- date: '2026-03-14',
77
- userId: 'usr-carla',
78
- projectId: 'prj-orion-data',
79
- taskId: 'tsk-104',
80
- hours: 3.5,
81
- description: 'KPI ownership mapping workshop prep.',
82
- status: 'pending',
83
- },
84
- ];