@flamingo-stack/openframe-frontend-core 0.0.614 → 0.0.615-snapshot.20260912023200

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 (103) hide show
  1. package/dist/{chunk-LMPSXRBQ.js → chunk-4C3BOBV6.js} +4 -4
  2. package/dist/{chunk-ET7V7TCE.cjs → chunk-5WHUUHSH.cjs} +50 -50
  3. package/dist/{chunk-ET7V7TCE.cjs.map → chunk-5WHUUHSH.cjs.map} +1 -1
  4. package/dist/{chunk-FHFOL5I3.js → chunk-646YZIUK.js} +5 -5
  5. package/dist/{chunk-BGZKQQ2A.js → chunk-A6ZMLRBR.js} +4 -4
  6. package/dist/{chunk-SYRUA3AU.js → chunk-AJRHEX5D.js} +5 -4
  7. package/dist/{chunk-SYRUA3AU.js.map → chunk-AJRHEX5D.js.map} +1 -1
  8. package/dist/{chunk-RXRKRQJQ.cjs → chunk-BESOUYM7.cjs} +18 -18
  9. package/dist/{chunk-RXRKRQJQ.cjs.map → chunk-BESOUYM7.cjs.map} +1 -1
  10. package/dist/{chunk-7RW3BHST.cjs → chunk-F7R7J4HK.cjs} +3 -3
  11. package/dist/{chunk-7RW3BHST.cjs.map → chunk-F7R7J4HK.cjs.map} +1 -1
  12. package/dist/{chunk-RWVDNOFK.cjs → chunk-FBL32U6S.cjs} +17 -17
  13. package/dist/{chunk-RWVDNOFK.cjs.map → chunk-FBL32U6S.cjs.map} +1 -1
  14. package/dist/{chunk-CAUQWQMA.cjs → chunk-GHMTJJCC.cjs} +3 -3
  15. package/dist/{chunk-CAUQWQMA.cjs.map → chunk-GHMTJJCC.cjs.map} +1 -1
  16. package/dist/{chunk-W3GVWZJY.cjs → chunk-H6TOSMGU.cjs} +13 -13
  17. package/dist/{chunk-W3GVWZJY.cjs.map → chunk-H6TOSMGU.cjs.map} +1 -1
  18. package/dist/{chunk-LW7AD6K6.js → chunk-HIMST6NK.js} +2 -2
  19. package/dist/{chunk-CQW5CHSC.js → chunk-JYHDJD3U.js} +3 -3
  20. package/dist/{chunk-4COKMAVQ.cjs → chunk-KIQNMCOO.cjs} +4 -4
  21. package/dist/{chunk-4COKMAVQ.cjs.map → chunk-KIQNMCOO.cjs.map} +1 -1
  22. package/dist/{chunk-JC6GWGBA.js → chunk-KKYE3E66.js} +2 -2
  23. package/dist/{chunk-QGIWOUL2.js → chunk-L3H6VYDB.js} +2 -2
  24. package/dist/{chunk-65S44FIF.cjs → chunk-L6UVTIJP.cjs} +4 -4
  25. package/dist/{chunk-65S44FIF.cjs.map → chunk-L6UVTIJP.cjs.map} +1 -1
  26. package/dist/{chunk-D3VPM26Z.cjs → chunk-N3G3YG3V.cjs} +5 -4
  27. package/dist/chunk-N3G3YG3V.cjs.map +1 -0
  28. package/dist/{chunk-3HOISRKE.js → chunk-NLKYBYPV.js} +5 -5
  29. package/dist/{chunk-7KVU4ZF4.cjs → chunk-NLYWRJ6J.cjs} +17 -17
  30. package/dist/{chunk-7KVU4ZF4.cjs.map → chunk-NLYWRJ6J.cjs.map} +1 -1
  31. package/dist/{chunk-PC7TY7IS.js → chunk-OKWHWDA3.js} +2 -2
  32. package/dist/{chunk-HZ7DTE5W.cjs → chunk-RJT7I2Y4.cjs} +10 -10
  33. package/dist/{chunk-HZ7DTE5W.cjs.map → chunk-RJT7I2Y4.cjs.map} +1 -1
  34. package/dist/{chunk-EPXB6HVO.js → chunk-RRGQTQ6T.js} +2 -2
  35. package/dist/{chunk-ZE4VBPX2.cjs → chunk-TDA355L7.cjs} +3 -3
  36. package/dist/{chunk-ZE4VBPX2.cjs.map → chunk-TDA355L7.cjs.map} +1 -1
  37. package/dist/{chunk-P3C4NQHG.js → chunk-TOAJWB3V.js} +2 -2
  38. package/dist/{chunk-OSWF3MAO.cjs → chunk-TOXJS4HN.cjs} +3 -3
  39. package/dist/{chunk-OSWF3MAO.cjs.map → chunk-TOXJS4HN.cjs.map} +1 -1
  40. package/dist/{chunk-KVLSMFXX.js → chunk-TWE6KYQM.js} +2 -2
  41. package/dist/{chunk-EWWPDW2F.js → chunk-UMVCVMCG.js} +2 -2
  42. package/dist/{chunk-QQYCM25C.cjs → chunk-X6G7JIX6.cjs} +34 -34
  43. package/dist/{chunk-QQYCM25C.cjs.map → chunk-X6G7JIX6.cjs.map} +1 -1
  44. package/dist/{chunk-W3FN2TMO.js → chunk-XJ5KH37F.js} +2 -2
  45. package/dist/{chunk-ZC6DN7IQ.cjs → chunk-YSG26SQ7.cjs} +33 -33
  46. package/dist/{chunk-ZC6DN7IQ.cjs.map → chunk-YSG26SQ7.cjs.map} +1 -1
  47. package/dist/components/case-studies/index.cjs +8 -8
  48. package/dist/components/case-studies/index.js +2 -2
  49. package/dist/components/contact/index.cjs +3 -3
  50. package/dist/components/contact/index.js +2 -2
  51. package/dist/components/docs/index.cjs +6 -6
  52. package/dist/components/docs/index.js +5 -5
  53. package/dist/components/embeds/index.cjs +3 -3
  54. package/dist/components/embeds/index.js +2 -2
  55. package/dist/components/faq/index.cjs +3 -3
  56. package/dist/components/faq/index.js +2 -2
  57. package/dist/components/features/board/ticket-card.d.ts.map +1 -1
  58. package/dist/components/features/board/types.d.ts +5 -0
  59. package/dist/components/features/board/types.d.ts.map +1 -1
  60. package/dist/components/features/index.cjs +2 -2
  61. package/dist/components/features/index.js +1 -1
  62. package/dist/components/help-center-pages/index.cjs +22 -22
  63. package/dist/components/help-center-pages/index.js +13 -13
  64. package/dist/components/index.cjs +31 -31
  65. package/dist/components/index.js +12 -12
  66. package/dist/components/meeting-scheduler/index.cjs +21 -21
  67. package/dist/components/meeting-scheduler/index.js +1 -1
  68. package/dist/components/navigation/index.cjs +5 -5
  69. package/dist/components/navigation/index.js +4 -4
  70. package/dist/components/onboarding-guides/index.cjs +5 -5
  71. package/dist/components/onboarding-guides/index.js +4 -4
  72. package/dist/components/tickets/index.cjs +6 -6
  73. package/dist/components/tickets/index.js +5 -5
  74. package/dist/components/ui/index.cjs +2 -2
  75. package/dist/components/ui/index.js +1 -1
  76. package/dist/index.cjs +6 -6
  77. package/dist/index.js +5 -5
  78. package/dist/types/design-doc.d.ts +34 -43
  79. package/dist/types/design-doc.d.ts.map +1 -1
  80. package/package.json +1 -1
  81. package/src/__tests__/ticket-card-meta.test.tsx +37 -0
  82. package/src/components/features/board/.ticket-card.md +1 -1
  83. package/src/components/features/board/.types.md +2 -2
  84. package/src/components/features/board/ticket-card.tsx +18 -10
  85. package/src/components/features/board/types.ts +5 -0
  86. package/src/stories/Board.stories.tsx +1 -1
  87. package/src/stories/TicketCard.stories.tsx +2 -2
  88. package/src/types/design-doc.ts +59 -51
  89. package/dist/chunk-D3VPM26Z.cjs.map +0 -1
  90. /package/dist/{chunk-LMPSXRBQ.js.map → chunk-4C3BOBV6.js.map} +0 -0
  91. /package/dist/{chunk-FHFOL5I3.js.map → chunk-646YZIUK.js.map} +0 -0
  92. /package/dist/{chunk-BGZKQQ2A.js.map → chunk-A6ZMLRBR.js.map} +0 -0
  93. /package/dist/{chunk-LW7AD6K6.js.map → chunk-HIMST6NK.js.map} +0 -0
  94. /package/dist/{chunk-CQW5CHSC.js.map → chunk-JYHDJD3U.js.map} +0 -0
  95. /package/dist/{chunk-JC6GWGBA.js.map → chunk-KKYE3E66.js.map} +0 -0
  96. /package/dist/{chunk-QGIWOUL2.js.map → chunk-L3H6VYDB.js.map} +0 -0
  97. /package/dist/{chunk-3HOISRKE.js.map → chunk-NLKYBYPV.js.map} +0 -0
  98. /package/dist/{chunk-PC7TY7IS.js.map → chunk-OKWHWDA3.js.map} +0 -0
  99. /package/dist/{chunk-EPXB6HVO.js.map → chunk-RRGQTQ6T.js.map} +0 -0
  100. /package/dist/{chunk-P3C4NQHG.js.map → chunk-TOAJWB3V.js.map} +0 -0
  101. /package/dist/{chunk-KVLSMFXX.js.map → chunk-TWE6KYQM.js.map} +0 -0
  102. /package/dist/{chunk-EWWPDW2F.js.map → chunk-UMVCVMCG.js.map} +0 -0
  103. /package/dist/{chunk-W3FN2TMO.js.map → chunk-XJ5KH37F.js.map} +0 -0
@@ -5,7 +5,7 @@ import type { EmployeeDirectoryRow } from './employee';
5
5
  import type { EntityAuthor } from './entity-author';
6
6
  /** One value of `design_doc_vocabulary.kind` — the STRUCTURAL list (one per
7
7
  * value column), the only design-doc vocabulary that is code. */
8
- export type DesignDocVocabularyKind = 'status' | 'tier' | 'participant_status' | 'comment_type' | 'comment_status' | 'link_type' | 'media_type';
8
+ export type DesignDocVocabularyKind = 'tier' | 'spec_mode' | 'participant_status' | 'comment_type' | 'comment_status' | 'link_type' | 'media_type';
9
9
  /** A `design_doc_vocabulary` row, as the DAL and the vocabulary API return it. */
10
10
  export interface DesignDocVocabularyOption {
11
11
  id: number;
@@ -15,13 +15,13 @@ export interface DesignDocVocabularyOption {
15
15
  /** A `StatusBadge` colorScheme name (validated against the badge's own union
16
16
  * when the hub reads the row — an unknown scheme degrades to 'default'). */
17
17
  color_scheme: string;
18
- /** Human copy for surfaces that explain a value rather than just naming it
19
- * (the dashboard's stat tiles). */
18
+ /** Human copy for surfaces that EXPLAIN a value rather than just naming it —
19
+ * the spec-mode picker's per-option hint. Display only. */
20
20
  description: string | null;
21
21
  display_order: number;
22
22
  is_active: boolean;
23
- /** Engine capabilities this member claims (`complete`, `blocks_approval`,
24
- * `locked`, …). The names live in the hub's gate module. */
23
+ /** Engine capabilities this member claims (`complete`, `blocks_ready`, …).
24
+ * The names live in the hub's gate module. */
25
25
  roles: string[];
26
26
  /** link_type only: which renderer previews it. */
27
27
  render: DesignDocLinkRender | null;
@@ -32,31 +32,19 @@ export interface DesignDocVocabularyOption {
32
32
  /** link_type only: where the artifact comes from, shown beside the label. */
33
33
  source: string | null;
34
34
  placeholder: string | null;
35
- /** status only: the verb on the button that moves a doc INTO this status. */
36
- action_label: string | null;
37
35
  }
38
36
  /** How the doc page previews a link type. A CAPABILITY (each key is a
39
37
  * component in the renderer), so this one IS code — a DB row binds to it. */
40
38
  export type DesignDocLinkRender = 'task' | 'figma' | 'claude' | 'link';
41
- /** One legal status move, resolved to values by the DAL. */
42
- export interface DesignDocStatusTransition {
43
- from: string;
44
- to: string;
45
- /** From-specific button copy when it differs from the target's verb
46
- * (`abandoned -> draft` reads "Reopen", not "Back to draft"). */
47
- action_label: string | null;
48
- display_order: number;
49
- }
50
- /** The whole vocabulary in one payload — what every surface (server gate,
39
+ /** The whole vocabulary in one payload — what every surface (server rules,
51
40
  * client badges, pickers, validators) reads instead of a literal list. */
52
41
  export interface DesignDocVocabulary {
53
42
  options: DesignDocVocabularyOption[];
54
- transitions: DesignDocStatusTransition[];
55
43
  }
56
- /** A `design_doc_vocabulary.value` of kind `status`. */
57
- export type DesignDocStatus = string;
58
44
  /** A `design_doc_vocabulary.value` of kind `tier`. */
59
45
  export type DesignDocTier = string;
46
+ /** A `design_doc_vocabulary.value` of kind `spec_mode`. */
47
+ export type DesignDocSpecMode = string;
60
48
  /** A `design_doc_vocabulary.value` of kind `participant_status`. */
61
49
  export type DesignDocParticipantStatus = string;
62
50
  /** A `design_doc_vocabulary.value` of kind `comment_type`. */
@@ -114,7 +102,7 @@ export interface DesignDocMedia {
114
102
  }
115
103
  /**
116
104
  * A comment. ROOT comments (`parent_comment_id === null`) carry `comment_type`
117
- * + `status` and gate approval when `blocking` + `open`; REPLIES carry neither
105
+ * + `status` and keep the doc from being ready when `blocking` + `open`; REPLIES carry neither
118
106
  * (single-level threads — a reply to a reply is re-parented to the root).
119
107
  */
120
108
  export interface DesignDocComment {
@@ -179,19 +167,15 @@ export interface DesignDoc {
179
167
  title: string;
180
168
  slug: string;
181
169
  tier: DesignDocTier;
170
+ /**
171
+ * How much of the solution is knowable before build starts — spec-first
172
+ * (settled up front) or discovery-first (engineering resolves the design
173
+ * while building). A LABEL on the doc: no rule reads it.
174
+ */
175
+ spec_mode: DesignDocSpecMode;
182
176
  summary: string | null;
183
177
  content: string | null;
184
- status: DesignDocStatus;
185
178
  author_id: string | null;
186
- /**
187
- * EVERYONE who has handed the DRI role away on this doc (appended, never
188
- * overwritten). The third-party break-glass excludes all of them: a DRI who
189
- * also holds management could otherwise vacate the seat, act as a "third
190
- * party" on their own doc and approve it alone — and with a single scalar,
191
- * simply hand the seat on twice to erase the memory of their own vacating.
192
- */
193
- dri_vacated_by: string[];
194
- approved_at: string | null;
195
179
  created_at: string;
196
180
  updated_at: string;
197
181
  /** DRI, hydrated via the shared author hydrator. */
@@ -200,8 +184,8 @@ export interface DesignDoc {
200
184
  * Engineering feature leads — the people reviewing the doc alongside the
201
185
  * department sign-off sections. DISPLAY-ONLY attribution, like
202
186
  * `how_i_work_participants`: being listed grants NO rights (nothing in the
203
- * hub's `design-doc-gate.ts` reads it) and is NOT an input to the approval
204
- * gate. The doc-level owner with actual levers is the DRI (`author_id`).
187
+ * hub's `design-doc-gate.ts` reads it) and is NOT an input to readiness.
188
+ * The doc-level owner with actual levers is the DRI (`author_id`).
205
189
  *
206
190
  * Carried on BOTH the list and the detail payload — the dashboard renders
207
191
  * their avatars in its own column.
@@ -242,6 +226,8 @@ export interface CreateDesignDocData {
242
226
  title: string;
243
227
  slug: string;
244
228
  tier: DesignDocTier;
229
+ /** Defaults to the `spec_mode` row claiming `default` when omitted. */
230
+ spec_mode?: DesignDocSpecMode;
245
231
  summary?: string | null;
246
232
  /** Spec markdown (Why / What / How); the create screen carries the same body editor as edit. */
247
233
  content?: string | null;
@@ -253,20 +239,21 @@ export interface CreateDesignDocData {
253
239
  links: DesignDocLinkInput[];
254
240
  }
255
241
  /**
256
- * Doc-level allowlist (PUT). `status` and `participants` are NOT here — status
257
- * only moves through PATCH (the gate), participants only through their routes.
242
+ * Doc-level allowlist (PUT). `participants` are NOT here — they only move
243
+ * through their own routes.
258
244
  */
259
245
  export interface UpdateDesignDocData {
260
246
  title?: string;
261
247
  slug?: string;
262
248
  tier?: DesignDocTier;
249
+ spec_mode?: DesignDocSpecMode;
263
250
  summary?: string | null;
264
251
  content?: string | null;
265
252
  author_id?: string | null;
266
253
  /**
267
254
  * Replaces the whole feature-lead set (`[]` clears it); omitted leaves it
268
255
  * untouched. Display-only, so it rides the STANDING floor like the title —
269
- * not the DRI-only levers, and not the frozen decision record.
256
+ * not the DRI-only levers.
270
257
  */
271
258
  feature_lead_ids?: string[];
272
259
  links?: DesignDocLinkInput[];
@@ -296,8 +283,12 @@ export interface AddDesignDocCommentData {
296
283
  title?: string | null;
297
284
  body: string;
298
285
  }
286
+ /** The dashboard's readiness filter (`?ready=`). */
287
+ export type DesignDocReadyFilter = 'ready' | 'not_ready';
299
288
  export interface DesignDocFilters {
300
- status?: string;
289
+ ready?: DesignDocReadyFilter;
290
+ /** One or more `spec_mode` values (CSV on the wire). */
291
+ spec_mode?: string;
301
292
  search?: string;
302
293
  mine?: 'open';
303
294
  limit?: number;
@@ -306,17 +297,17 @@ export interface DesignDocFilters {
306
297
  export interface DesignDocListResponse {
307
298
  data: DesignDoc[];
308
299
  count: number;
309
- /** Server-computed status facet counts (how-i-work feed convention). */
300
+ /** Server-computed spec-mode counts over the scope, MINUS the spec-mode
301
+ * filter itself — so a filtered row still shows what the other value holds. */
310
302
  facets: {
311
- status: Record<string, number>;
303
+ spec_mode: Record<string, number>;
312
304
  };
313
305
  }
314
306
  export interface DesignDocStats {
315
307
  total: number;
316
- /** One count per `status` vocabulary row (zeros included), keyed by value —
317
- * never a fixed set of named keys, so a status added to the table gets a
318
- * tile without a type change. */
319
- by_status: Record<string, number>;
308
+ /** Docs whose every section is signed off with no open blocking comment. */
309
+ ready: number;
310
+ not_ready: number;
320
311
  waiting_on_me_docs: number;
321
312
  waiting_on_me_tasks: number;
322
313
  }
@@ -1 +1 @@
1
- {"version":3,"file":"design-doc.d.ts","sourceRoot":"","sources":["../../src/types/design-doc.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,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,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oDAAoD;AACpD,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,WAAW,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd;oFACgF;IAChF,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAAC;CAC/C;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,4EAA4E;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;CAC7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flamingo-stack/openframe-frontend-core",
3
- "version": "0.0.614",
3
+ "version": "0.0.615-snapshot.20260912023200",
4
4
  "description": "Shared design system and components for all Flamingo platforms",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -0,0 +1,37 @@
1
+ import { render, screen } from '@testing-library/react';
2
+ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
3
+ import { TicketCardView } from '../components/features/board/ticket-card';
4
+
5
+ const base = { id: 't1', title: 'VPN drops', status: 'ACTIVE' };
6
+
7
+ describe('TicketCardView ticket number line', () => {
8
+ beforeEach(() => {
9
+ vi.useFakeTimers();
10
+ vi.setSystemTime(new Date('2026-09-10T12:00:00Z'));
11
+ });
12
+
13
+ afterEach(() => {
14
+ vi.useRealTimers();
15
+ });
16
+
17
+ it('renders the number before the relative time and names the card by it', () => {
18
+ render(<TicketCardView ticket={{ ...base, ticketNumber: '3891', createdAt: '2026-09-10T11:55:00Z' }} />);
19
+ expect(screen.getByText('3891 • 5 min ago')).toBeInTheDocument();
20
+ });
21
+
22
+ it('shows the time alone when the host passes an empty number', () => {
23
+ render(<TicketCardView ticket={{ ...base, ticketNumber: '', createdAt: '2026-09-10T11:55:00Z' }} />);
24
+ expect(screen.getByText('5 min ago')).toBeInTheDocument();
25
+ expect(screen.queryByText(/•/)).not.toBeInTheDocument();
26
+ });
27
+
28
+ it('shows the number alone without a creation time', () => {
29
+ render(<TicketCardView ticket={{ ...base, ticketNumber: '3891' }} />);
30
+ expect(screen.getByText('3891')).toBeInTheDocument();
31
+ });
32
+
33
+ it('renders no line when both are missing', () => {
34
+ const { container } = render(<TicketCardView ticket={{ ...base, ticketNumber: '' }} />);
35
+ expect(container.textContent).toBe('VPN drops');
36
+ });
37
+ });
@@ -5,7 +5,7 @@ Draggable and static board ticket card components for a kanban-style board view,
5
5
 
6
6
  | Export | Type | Description |
7
7
  |---|---|---|
8
- | `TicketCardBody` | Component | Pure presentational inner content — title, device/org row, priority flag, assignees, tags, timestamp, new message badge, and approval row |
8
+ | `TicketCardBody` | Component | Pure presentational inner content — title, device/org row, priority flag, assignees, tags, the `<ticketNumber> • <relative time>` line (either half alone when the other is missing), new message badge, and approval row |
9
9
  | `TicketCardView` | Component | Static, non-draggable card using the same shell and body as the board card; suitable for embeds, previews, and marketing |
10
10
  | `TicketCard` | Component | Full board card: registers itself as both draggable and drop target, fades in place while carried, draws the insertion line for the shared aim, and supports an optional `href` link plus drag/drop-disabled state |
11
11
  | `TicketCardBodyProps` | Interface | Props for the shared body: `ticket`, `columnColor`, `renderAssignSlot`, `onApprove`, `onReject` |
@@ -36,8 +36,8 @@ import {
36
36
  } from './types'
37
37
 
38
38
  const tickets: BoardTicket[] = [
39
- { id: '1', title: 'Printer offline', ticketNumber: 'T-001', status: 'ACTIVE' },
40
- { id: '2', title: 'VPN issue', ticketNumber: 'T-002', status: 'on hold' },
39
+ { id: '1', title: 'Printer offline', ticketNumber: '1001', status: 'ACTIVE' },
40
+ { id: '2', title: 'VPN issue', ticketNumber: '1002', status: 'on hold' },
41
41
  ]
42
42
 
43
43
  // Group flat tickets into board columns
@@ -138,6 +138,11 @@ export function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprov
138
138
 
139
139
  const timestampLabel = ticket.createdAt ? formatTicketRelativeTime(ticket.createdAt) : null;
140
140
  const tooltipLabel = ticket.createdAt ? formatTicketFullTimestamp(ticket.createdAt) : null;
141
+ // Last line of the details block (Figma tickets 8001-90111): `3891 • 5 min ago`.
142
+ // The number is display-ready text the host passes (no `#` in the design) and
143
+ // may be empty - the hub hero card and tickets without one send '' - so either
144
+ // half stands on its own and the line disappears with both missing.
145
+ const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(' \u2022 ');
141
146
 
142
147
  return (
143
148
  <>
@@ -156,16 +161,19 @@ export function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprov
156
161
  {rightSection}
157
162
  </div>
158
163
  {ticket.tags?.length ? <TicketTagRow tags={ticket.tags} /> : null}
159
- {timestampLabel && tooltipLabel && (
160
- <TooltipProvider>
161
- <Tooltip>
162
- <TooltipTrigger asChild>
163
- <p className="pointer-events-auto truncate text-ods-text-secondary text-h6">{timestampLabel}</p>
164
- </TooltipTrigger>
165
- <TooltipContent>{tooltipLabel}</TooltipContent>
166
- </Tooltip>
167
- </TooltipProvider>
168
- )}
164
+ {metaLabel &&
165
+ (tooltipLabel ? (
166
+ <TooltipProvider>
167
+ <Tooltip>
168
+ <TooltipTrigger asChild>
169
+ <p className="pointer-events-auto truncate text-ods-text-secondary text-h6">{metaLabel}</p>
170
+ </TooltipTrigger>
171
+ <TooltipContent>{tooltipLabel}</TooltipContent>
172
+ </Tooltip>
173
+ </TooltipProvider>
174
+ ) : (
175
+ <p className="truncate text-ods-text-secondary text-h6">{metaLabel}</p>
176
+ ))}
169
177
  {ticket.escalatedByUser && (
170
178
  <div className="flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6">
171
179
  <UserCheckIcon className="size-4 shrink-0" />
@@ -43,6 +43,11 @@ export interface BoardTicketActivity {
43
43
  export interface BoardTicket {
44
44
  id: string;
45
45
  title: string;
46
+ /**
47
+ * Display-ready ticket number (`'3891'`, no `#` - the design never prefixes
48
+ * it), shown before the relative time on the card's last details line.
49
+ * `''` hides it; the hub hero card passes that.
50
+ */
46
51
  ticketNumber: string;
47
52
  status: string;
48
53
 
@@ -43,7 +43,7 @@ const PRIORITIES: BoardTicket['priority'][] = ['low', 'medium', 'high', 'urgent'
43
43
  const baseTicket = (i: number, status: string, overrides: Partial<BoardTicket> = {}): BoardTicket => ({
44
44
  id: `ticket-${status}-${i}`,
45
45
  title: TITLES[i % TITLES.length],
46
- ticketNumber: `#${1000 + i}`,
46
+ ticketNumber: `${1000 + i}`,
47
47
  status,
48
48
  deviceHostnames: i % 2 === 0 ? ['SRV-MAIL-01'] : ['MBP-15', 'WS-2024'],
49
49
  organizationName: i % 3 === 0 ? 'Digital Wave Media' : 'Acme Corp',
@@ -42,7 +42,7 @@ const ASSIGNEES = [
42
42
  const BASE_TICKET: BoardTicket = {
43
43
  id: 'ticket-1',
44
44
  title: 'VPN connection drops every few minutes',
45
- ticketNumber: '#1042',
45
+ ticketNumber: '1042',
46
46
  status: 'TECH_REQUIRED',
47
47
  deviceHostnames: ['MBP-15'],
48
48
  organizationName: 'Acme Corp',
@@ -99,7 +99,7 @@ export const Minimal: Story = {
99
99
  ticket: {
100
100
  id: 'ticket-min',
101
101
  title: 'How to install Teams',
102
- ticketNumber: '#1001',
102
+ ticketNumber: '1001',
103
103
  status: 'ACTIVE',
104
104
  },
105
105
  },
@@ -3,9 +3,26 @@
3
3
  //
4
4
  // Participant sections are keyed by the employee DEPARTMENT (FK to the ONE
5
5
  // `departments` table — see department.ts); there is no function enum.
6
- // Completion-gate math and status transitions live in the hub's
6
+ // A doc has no status: it is READY when every section is signed off and no
7
+ // blocking comment is open. That math lives in the hub's
7
8
  // `lib/utils/design-doc-gate.ts` (isomorphic, shared by server + client).
8
9
 
10
+ // MIGRATION NOTE (2026-09-11). This file dropped `status`, `DesignDocStatus`,
11
+ // `DesignDocStatusTransition`, `approved_at`, `dri_vacated_by`, `by_status` and
12
+ // `facets.status`, and added `spec_mode`. Two things a reader will ask:
13
+ //
14
+ // · LOCKSTEP — the hub is the ONLY consumer. Nothing else in this package
15
+ // references those names, and neither does the sibling oss-frontend
16
+ // checkout; every hub reference moves in multi-platform-hub#1257, which
17
+ // merges after this package is released and the hub's pin bumped.
18
+ // · `dri_vacated_by` was already VESTIGIAL, so removing it drops no live
19
+ // protection. It existed for an anti-self-serve rule — a DRI who also held
20
+ // management could not vacate the seat, act as a "third party" and approve
21
+ // their own doc — that was removed earlier by product decision, and no
22
+ // database column ever backed the field. There is no approval step left to
23
+ // protect: readiness is DERIVED from the department sign-offs, so there is
24
+ // no seat to vacate and nothing to self-approve.
25
+
9
26
  import type { RoadmapItem } from '../components/chat/types/entities/roadmap-item';
10
27
  import type { DeliveryItem } from './delivery';
11
28
  import type { DepartmentRef } from './department';
@@ -15,12 +32,12 @@ import type { EntityAuthor } from './entity-author';
15
32
  // ---------------------------------------------------------------------------
16
33
  // Value vocabularies — DATA, not source code.
17
34
  //
18
- // Every enumerable design-doc value (doc status, tier, participant status,
19
- // comment type/status, link type, media type) is a row in the
20
- // `design_doc_vocabulary` table, with its label, badge colour, display order
21
- // and the semantic ROLES it claims. Nothing here lists members: a union of
22
- // literals would be a second, stale copy of that table and would make adding a
23
- // status a deploy instead of an INSERT.
35
+ // Every enumerable design-doc value (tier, spec mode, participant status, comment
36
+ // type/status, link type, media type) is a row in the `design_doc_vocabulary`
37
+ // table, with its label, badge colour, display order and the semantic ROLES it
38
+ // claims. Nothing here lists members: a union of literals would be a second,
39
+ // stale copy of that table and would make adding a value a deploy instead of an
40
+ // INSERT.
24
41
  //
25
42
  // What stays in code is the CAPABILITY vocabulary — the role names the gate
26
43
  // understands and the renderers a link type can bind to (both declared in the
@@ -36,7 +53,7 @@ import type { EntityAuthor } from './entity-author';
36
53
  /** One value of `design_doc_vocabulary.kind` — the STRUCTURAL list (one per
37
54
  * value column), the only design-doc vocabulary that is code. */
38
55
  export type DesignDocVocabularyKind =
39
- 'status' | 'tier' | 'participant_status' | 'comment_type' | 'comment_status' | 'link_type' | 'media_type';
56
+ 'tier' | 'spec_mode' | 'participant_status' | 'comment_type' | 'comment_status' | 'link_type' | 'media_type';
40
57
 
41
58
  /** A `design_doc_vocabulary` row, as the DAL and the vocabulary API return it. */
42
59
  export interface DesignDocVocabularyOption {
@@ -47,13 +64,13 @@ export interface DesignDocVocabularyOption {
47
64
  /** A `StatusBadge` colorScheme name (validated against the badge's own union
48
65
  * when the hub reads the row — an unknown scheme degrades to 'default'). */
49
66
  color_scheme: string;
50
- /** Human copy for surfaces that explain a value rather than just naming it
51
- * (the dashboard's stat tiles). */
67
+ /** Human copy for surfaces that EXPLAIN a value rather than just naming it —
68
+ * the spec-mode picker's per-option hint. Display only. */
52
69
  description: string | null;
53
70
  display_order: number;
54
71
  is_active: boolean;
55
- /** Engine capabilities this member claims (`complete`, `blocks_approval`,
56
- * `locked`, …). The names live in the hub's gate module. */
72
+ /** Engine capabilities this member claims (`complete`, `blocks_ready`, …).
73
+ * The names live in the hub's gate module. */
57
74
  roles: string[];
58
75
  /** link_type only: which renderer previews it. */
59
76
  render: DesignDocLinkRender | null;
@@ -64,35 +81,22 @@ export interface DesignDocVocabularyOption {
64
81
  /** link_type only: where the artifact comes from, shown beside the label. */
65
82
  source: string | null;
66
83
  placeholder: string | null;
67
- /** status only: the verb on the button that moves a doc INTO this status. */
68
- action_label: string | null;
69
84
  }
70
85
 
71
86
  /** How the doc page previews a link type. A CAPABILITY (each key is a
72
87
  * component in the renderer), so this one IS code — a DB row binds to it. */
73
88
  export type DesignDocLinkRender = 'task' | 'figma' | 'claude' | 'link';
74
89
 
75
- /** One legal status move, resolved to values by the DAL. */
76
- export interface DesignDocStatusTransition {
77
- from: string;
78
- to: string;
79
- /** From-specific button copy when it differs from the target's verb
80
- * (`abandoned -> draft` reads "Reopen", not "Back to draft"). */
81
- action_label: string | null;
82
- display_order: number;
83
- }
84
-
85
- /** The whole vocabulary in one payload — what every surface (server gate,
90
+ /** The whole vocabulary in one payload — what every surface (server rules,
86
91
  * client badges, pickers, validators) reads instead of a literal list. */
87
92
  export interface DesignDocVocabulary {
88
93
  options: DesignDocVocabularyOption[];
89
- transitions: DesignDocStatusTransition[];
90
94
  }
91
95
 
92
- /** A `design_doc_vocabulary.value` of kind `status`. */
93
- export type DesignDocStatus = string;
94
96
  /** A `design_doc_vocabulary.value` of kind `tier`. */
95
97
  export type DesignDocTier = string;
98
+ /** A `design_doc_vocabulary.value` of kind `spec_mode`. */
99
+ export type DesignDocSpecMode = string;
96
100
  /** A `design_doc_vocabulary.value` of kind `participant_status`. */
97
101
  export type DesignDocParticipantStatus = string;
98
102
  /** A `design_doc_vocabulary.value` of kind `comment_type`. */
@@ -159,7 +163,7 @@ export interface DesignDocMedia {
159
163
 
160
164
  /**
161
165
  * A comment. ROOT comments (`parent_comment_id === null`) carry `comment_type`
162
- * + `status` and gate approval when `blocking` + `open`; REPLIES carry neither
166
+ * + `status` and keep the doc from being ready when `blocking` + `open`; REPLIES carry neither
163
167
  * (single-level threads — a reply to a reply is re-parented to the root).
164
168
  */
165
169
  export interface DesignDocComment {
@@ -224,19 +228,15 @@ export interface DesignDoc {
224
228
  title: string;
225
229
  slug: string;
226
230
  tier: DesignDocTier;
231
+ /**
232
+ * How much of the solution is knowable before build starts — spec-first
233
+ * (settled up front) or discovery-first (engineering resolves the design
234
+ * while building). A LABEL on the doc: no rule reads it.
235
+ */
236
+ spec_mode: DesignDocSpecMode;
227
237
  summary: string | null;
228
238
  content: string | null;
229
- status: DesignDocStatus;
230
239
  author_id: string | null;
231
- /**
232
- * EVERYONE who has handed the DRI role away on this doc (appended, never
233
- * overwritten). The third-party break-glass excludes all of them: a DRI who
234
- * also holds management could otherwise vacate the seat, act as a "third
235
- * party" on their own doc and approve it alone — and with a single scalar,
236
- * simply hand the seat on twice to erase the memory of their own vacating.
237
- */
238
- dri_vacated_by: string[];
239
- approved_at: string | null;
240
240
  created_at: string;
241
241
  updated_at: string;
242
242
  /** DRI, hydrated via the shared author hydrator. */
@@ -245,8 +245,8 @@ export interface DesignDoc {
245
245
  * Engineering feature leads — the people reviewing the doc alongside the
246
246
  * department sign-off sections. DISPLAY-ONLY attribution, like
247
247
  * `how_i_work_participants`: being listed grants NO rights (nothing in the
248
- * hub's `design-doc-gate.ts` reads it) and is NOT an input to the approval
249
- * gate. The doc-level owner with actual levers is the DRI (`author_id`).
248
+ * hub's `design-doc-gate.ts` reads it) and is NOT an input to readiness.
249
+ * The doc-level owner with actual levers is the DRI (`author_id`).
250
250
  *
251
251
  * Carried on BOTH the list and the detail payload — the dashboard renders
252
252
  * their avatars in its own column.
@@ -296,6 +296,8 @@ export interface CreateDesignDocData {
296
296
  title: string;
297
297
  slug: string;
298
298
  tier: DesignDocTier;
299
+ /** Defaults to the `spec_mode` row claiming `default` when omitted. */
300
+ spec_mode?: DesignDocSpecMode;
299
301
  summary?: string | null;
300
302
  /** Spec markdown (Why / What / How); the create screen carries the same body editor as edit. */
301
303
  content?: string | null;
@@ -308,20 +310,21 @@ export interface CreateDesignDocData {
308
310
  }
309
311
 
310
312
  /**
311
- * Doc-level allowlist (PUT). `status` and `participants` are NOT here — status
312
- * only moves through PATCH (the gate), participants only through their routes.
313
+ * Doc-level allowlist (PUT). `participants` are NOT here — they only move
314
+ * through their own routes.
313
315
  */
314
316
  export interface UpdateDesignDocData {
315
317
  title?: string;
316
318
  slug?: string;
317
319
  tier?: DesignDocTier;
320
+ spec_mode?: DesignDocSpecMode;
318
321
  summary?: string | null;
319
322
  content?: string | null;
320
323
  author_id?: string | null;
321
324
  /**
322
325
  * Replaces the whole feature-lead set (`[]` clears it); omitted leaves it
323
326
  * untouched. Display-only, so it rides the STANDING floor like the title —
324
- * not the DRI-only levers, and not the frozen decision record.
327
+ * not the DRI-only levers.
325
328
  */
326
329
  feature_lead_ids?: string[];
327
330
  links?: DesignDocLinkInput[];
@@ -355,8 +358,13 @@ export interface AddDesignDocCommentData {
355
358
  body: string;
356
359
  }
357
360
 
361
+ /** The dashboard's readiness filter (`?ready=`). */
362
+ export type DesignDocReadyFilter = 'ready' | 'not_ready';
363
+
358
364
  export interface DesignDocFilters {
359
- status?: string;
365
+ ready?: DesignDocReadyFilter;
366
+ /** One or more `spec_mode` values (CSV on the wire). */
367
+ spec_mode?: string;
360
368
  search?: string;
361
369
  mine?: 'open';
362
370
  limit?: number;
@@ -366,16 +374,16 @@ export interface DesignDocFilters {
366
374
  export interface DesignDocListResponse {
367
375
  data: DesignDoc[];
368
376
  count: number;
369
- /** Server-computed status facet counts (how-i-work feed convention). */
370
- facets: { status: Record<string, number> };
377
+ /** Server-computed spec-mode counts over the scope, MINUS the spec-mode
378
+ * filter itself — so a filtered row still shows what the other value holds. */
379
+ facets: { spec_mode: Record<string, number> };
371
380
  }
372
381
 
373
382
  export interface DesignDocStats {
374
383
  total: number;
375
- /** One count per `status` vocabulary row (zeros included), keyed by value —
376
- * never a fixed set of named keys, so a status added to the table gets a
377
- * tile without a type change. */
378
- by_status: Record<string, number>;
384
+ /** Docs whose every section is signed off with no open blocking comment. */
385
+ ready: number;
386
+ not_ready: number;
379
387
  waiting_on_me_docs: number;
380
388
  waiting_on_me_tasks: number;
381
389
  }