@flamingo-stack/openframe-frontend-core 0.0.668 → 0.0.669-snapshot.20260927145656
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.
- package/dist/{chunk-B5UP36KY.cjs → chunk-22E6CSIS.cjs} +12 -12
- package/dist/{chunk-B5UP36KY.cjs.map → chunk-22E6CSIS.cjs.map} +1 -1
- package/dist/{chunk-6KJV6GAJ.js → chunk-5IP7FYUN.js} +4 -4
- package/dist/{chunk-GF6WJ4MG.js → chunk-5Q6BE56A.js} +6 -6
- package/dist/{chunk-NZD2WTJ2.cjs → chunk-5ZVYPAFQ.cjs} +3 -3
- package/dist/{chunk-NZD2WTJ2.cjs.map → chunk-5ZVYPAFQ.cjs.map} +1 -1
- package/dist/{chunk-Z3HUP4G7.cjs → chunk-635CAJ36.cjs} +32 -32
- package/dist/{chunk-Z3HUP4G7.cjs.map → chunk-635CAJ36.cjs.map} +1 -1
- package/dist/{chunk-GO63IT6K.js → chunk-6P335PRA.js} +5 -5
- package/dist/{chunk-5V3LERVC.js → chunk-6X66J23J.js} +4 -4
- package/dist/{chunk-6W4LUHMY.cjs → chunk-7VZZ5S5V.cjs} +206 -206
- package/dist/{chunk-6W4LUHMY.cjs.map → chunk-7VZZ5S5V.cjs.map} +1 -1
- package/dist/{chunk-EV2KJ4D2.cjs → chunk-7WK544AC.cjs} +7 -7
- package/dist/{chunk-EV2KJ4D2.cjs.map → chunk-7WK544AC.cjs.map} +1 -1
- package/dist/{chunk-FOH4MNOZ.js → chunk-C5CTLTKJ.js} +3 -3
- package/dist/{chunk-TFVUM6KK.cjs → chunk-CK4BZRVJ.cjs} +10 -10
- package/dist/{chunk-TFVUM6KK.cjs.map → chunk-CK4BZRVJ.cjs.map} +1 -1
- package/dist/{chunk-Z3GN3MIW.cjs → chunk-D2HYPVYQ.cjs} +81 -81
- package/dist/{chunk-Z3GN3MIW.cjs.map → chunk-D2HYPVYQ.cjs.map} +1 -1
- package/dist/{chunk-WVCDX7FE.cjs → chunk-DAMA3A5Z.cjs} +15 -15
- package/dist/{chunk-WVCDX7FE.cjs.map → chunk-DAMA3A5Z.cjs.map} +1 -1
- package/dist/{chunk-P6IJXAEE.js → chunk-DLJGCDHX.js} +2 -1
- package/dist/{chunk-P6IJXAEE.js.map → chunk-DLJGCDHX.js.map} +1 -1
- package/dist/{chunk-IJPV7OMA.js → chunk-EHB5LETA.js} +591 -466
- package/dist/chunk-EHB5LETA.js.map +1 -0
- package/dist/{chunk-CFUUVLYQ.cjs → chunk-GXKKWFZR.cjs} +33 -33
- package/dist/{chunk-CFUUVLYQ.cjs.map → chunk-GXKKWFZR.cjs.map} +1 -1
- package/dist/{chunk-IZ6F7LOE.js → chunk-IHOSMLBC.js} +3 -3
- package/dist/{chunk-DK3BHDUZ.js → chunk-INIITSC3.js} +3 -3
- package/dist/{chunk-ZHRIFUN3.cjs → chunk-L5TTJXLU.cjs} +28 -28
- package/dist/{chunk-ZHRIFUN3.cjs.map → chunk-L5TTJXLU.cjs.map} +1 -1
- package/dist/{chunk-7UW2BBFI.cjs → chunk-LGIBMKRM.cjs} +59 -59
- package/dist/{chunk-7UW2BBFI.cjs.map → chunk-LGIBMKRM.cjs.map} +1 -1
- package/dist/{chunk-IBQT4RTS.js → chunk-O3PPPILJ.js} +3 -3
- package/dist/{chunk-CWK4QHVF.js → chunk-OABFQXAI.js} +3 -3
- package/dist/{chunk-VEQWH5KH.cjs → chunk-OHLOPLOM.cjs} +30 -30
- package/dist/{chunk-VEQWH5KH.cjs.map → chunk-OHLOPLOM.cjs.map} +1 -1
- package/dist/{chunk-PHLBRU5P.js → chunk-P7FKI2UW.js} +3 -3
- package/dist/{chunk-YH3BUB4W.js → chunk-PTZKMV35.js} +5 -5
- package/dist/{chunk-E5HUHKHH.js → chunk-QGHMHW7R.js} +7 -7
- package/dist/{chunk-VJ4XBTR5.cjs → chunk-QH6PMRGF.cjs} +22 -22
- package/dist/{chunk-VJ4XBTR5.cjs.map → chunk-QH6PMRGF.cjs.map} +1 -1
- package/dist/{chunk-37NYF4W2.cjs → chunk-QRUW4UXB.cjs} +2 -1
- package/dist/chunk-QRUW4UXB.cjs.map +1 -0
- package/dist/{chunk-LJOELK7P.js → chunk-RG7XYHN7.js} +2 -2
- package/dist/{chunk-Y7SFGCF4.cjs → chunk-RRJ6EL63.cjs} +20 -20
- package/dist/{chunk-Y7SFGCF4.cjs.map → chunk-RRJ6EL63.cjs.map} +1 -1
- package/dist/{chunk-FJNX67W2.cjs → chunk-SEW23M5X.cjs} +5 -5
- package/dist/{chunk-FJNX67W2.cjs.map → chunk-SEW23M5X.cjs.map} +1 -1
- package/dist/{chunk-K4WYWTQV.cjs → chunk-TLMPNPYS.cjs} +6 -6
- package/dist/{chunk-K4WYWTQV.cjs.map → chunk-TLMPNPYS.cjs.map} +1 -1
- package/dist/{chunk-SHGMDYCR.js → chunk-VEAA5C5X.js} +2 -2
- package/dist/{chunk-5CC33IJ7.js → chunk-VXRWR56S.js} +6 -6
- package/dist/{chunk-NNYND3I4.js → chunk-XUHLWFEM.js} +3 -3
- package/dist/{chunk-QHL4GYYY.cjs → chunk-ZYFDPD73.cjs} +577 -452
- package/dist/chunk-ZYFDPD73.cjs.map +1 -0
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/design-doc-card.d.ts +23 -0
- package/dist/components/chat/entity-cards/design-doc-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.d.ts +1 -0
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +11 -3
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +10 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +197 -89
- package/dist/components/help-center-pages/index.cjs.map +1 -1
- package/dist/components/help-center-pages/index.d.ts +1 -1
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +143 -35
- package/dist/components/help-center-pages/index.js.map +1 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts +6 -0
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts +17 -2
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +62 -54
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +23 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +40 -40
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +12 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +11 -3
- package/dist/index.cjs +27 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +25 -7
- package/dist/index.js.map +1 -1
- package/dist/utils/design-doc-readiness.d.ts +20 -0
- package/dist/utils/design-doc-readiness.d.ts.map +1 -0
- package/dist/utils/index.cjs +28 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +24 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/design-doc-card.tsx +114 -0
- package/src/components/chat/entity-cards/dispatch.tsx +62 -1
- package/src/components/chat/entity-cards/index.ts +7 -0
- package/src/components/help-center-pages/__tests__/trust-center-page.test.tsx +28 -1
- package/src/components/help-center-pages/index.ts +1 -1
- package/src/components/help-center-pages/trust-center-page.tsx +59 -16
- package/src/components/help-center-pages/trust-center-sections.tsx +159 -8
- package/src/utils/design-doc-readiness.ts +34 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/list-url.ts +1 -0
- package/src/utils/source-icons.ts +3 -0
- package/dist/chunk-37NYF4W2.cjs.map +0 -1
- package/dist/chunk-IJPV7OMA.js.map +0 -1
- package/dist/chunk-QHL4GYYY.cjs.map +0 -1
- /package/dist/{chunk-6KJV6GAJ.js.map → chunk-5IP7FYUN.js.map} +0 -0
- /package/dist/{chunk-GF6WJ4MG.js.map → chunk-5Q6BE56A.js.map} +0 -0
- /package/dist/{chunk-GO63IT6K.js.map → chunk-6P335PRA.js.map} +0 -0
- /package/dist/{chunk-5V3LERVC.js.map → chunk-6X66J23J.js.map} +0 -0
- /package/dist/{chunk-FOH4MNOZ.js.map → chunk-C5CTLTKJ.js.map} +0 -0
- /package/dist/{chunk-IZ6F7LOE.js.map → chunk-IHOSMLBC.js.map} +0 -0
- /package/dist/{chunk-DK3BHDUZ.js.map → chunk-INIITSC3.js.map} +0 -0
- /package/dist/{chunk-IBQT4RTS.js.map → chunk-O3PPPILJ.js.map} +0 -0
- /package/dist/{chunk-CWK4QHVF.js.map → chunk-OABFQXAI.js.map} +0 -0
- /package/dist/{chunk-PHLBRU5P.js.map → chunk-P7FKI2UW.js.map} +0 -0
- /package/dist/{chunk-YH3BUB4W.js.map → chunk-PTZKMV35.js.map} +0 -0
- /package/dist/{chunk-E5HUHKHH.js.map → chunk-QGHMHW7R.js.map} +0 -0
- /package/dist/{chunk-LJOELK7P.js.map → chunk-RG7XYHN7.js.map} +0 -0
- /package/dist/{chunk-SHGMDYCR.js.map → chunk-VEAA5C5X.js.map} +0 -0
- /package/dist/{chunk-5CC33IJ7.js.map → chunk-VXRWR56S.js.map} +0 -0
- /package/dist/{chunk-NNYND3I4.js.map → chunk-XUHLWFEM.js.map} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A design doc's readiness in words — THE wording every surface prints (the hub's design-docs screens, its doc
|
|
3
|
+
* page, the lib's design-doc card): "Ready to build" once every department section is signed off and no blocking
|
|
4
|
+
* comment is open, else "Not ready", and the sign-off caption beside it. Pure, zero-import beyond the type.
|
|
5
|
+
*/
|
|
6
|
+
import type { DesignDocCompletion } from '../types/design-doc';
|
|
7
|
+
export declare const DESIGN_DOC_READINESS: readonly ["ready", "not_ready"];
|
|
8
|
+
export type DesignDocReadiness = (typeof DESIGN_DOC_READINESS)[number];
|
|
9
|
+
/** Each readiness's label and badge colour (a `StatusBadge` scheme). */
|
|
10
|
+
export declare const DESIGN_DOC_READINESS_DISPLAY: Record<DesignDocReadiness, {
|
|
11
|
+
label: string;
|
|
12
|
+
scheme: 'success' | 'default';
|
|
13
|
+
}>;
|
|
14
|
+
/** Ready to build ⇔ `completion.isComplete` (every section signed off, no open blocking comment). */
|
|
15
|
+
export declare const designDocReadiness: (completion: Pick<DesignDocCompletion, "isComplete">) => DesignDocReadiness;
|
|
16
|
+
/** "4/6 reviews signed off" */
|
|
17
|
+
export declare function formatCompletionLabel(completion: Pick<DesignDocCompletion, 'total' | 'completed'>): string;
|
|
18
|
+
/** The SAME label plus readiness and the blocking veto (the dashboard row, the doc page, the card). */
|
|
19
|
+
export declare function formatCompletionLabelWithBlockers(completion: DesignDocCompletion): string;
|
|
20
|
+
//# sourceMappingURL=design-doc-readiness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"design-doc-readiness.d.ts","sourceRoot":"","sources":["../../src/utils/design-doc-readiness.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,eAAO,MAAM,oBAAoB,iCAAkC,CAAC;AACpE,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvE,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAC/C,kBAAkB,EAClB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,GAAG,SAAS,CAAA;CAAE,CAIjD,CAAC;AAEF,qGAAqG;AACrG,eAAO,MAAM,kBAAkB,GAAI,YAAY,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,KAAG,kBAC1C,CAAC;AAEhD,+BAA+B;AAC/B,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAAC,GAAG,MAAM,CAE1G;AAED,uGAAuG;AACvG,wBAAgB,iCAAiC,CAAC,UAAU,EAAE,mBAAmB,GAAG,MAAM,CAIzF"}
|
package/dist/utils/index.cjs
CHANGED
|
@@ -1197,6 +1197,22 @@ function brandMarkDataUri(name) {
|
|
|
1197
1197
|
if (!svg) return "";
|
|
1198
1198
|
return `data:image/svg+xml,${encodeURIComponent(svg)}`;
|
|
1199
1199
|
}
|
|
1200
|
+
|
|
1201
|
+
// src/utils/design-doc-readiness.ts
|
|
1202
|
+
var DESIGN_DOC_READINESS = ["ready", "not_ready"];
|
|
1203
|
+
var DESIGN_DOC_READINESS_DISPLAY = {
|
|
1204
|
+
ready: { label: "Ready to build", scheme: "success" },
|
|
1205
|
+
not_ready: { label: "Not ready", scheme: "default" }
|
|
1206
|
+
};
|
|
1207
|
+
var designDocReadiness = (completion) => completion.isComplete ? "ready" : "not_ready";
|
|
1208
|
+
function formatCompletionLabel(completion) {
|
|
1209
|
+
return `${completion.completed}/${completion.total} reviews signed off`;
|
|
1210
|
+
}
|
|
1211
|
+
function formatCompletionLabelWithBlockers(completion) {
|
|
1212
|
+
const base = formatCompletionLabel(completion);
|
|
1213
|
+
if (completion.isComplete) return `${DESIGN_DOC_READINESS_DISPLAY.ready.label} \xB7 ${base}`;
|
|
1214
|
+
return completion.openBlocking > 0 ? `${base} \xB7 ${completion.openBlocking} blocking` : base;
|
|
1215
|
+
}
|
|
1200
1216
|
function OpenmspLogo({
|
|
1201
1217
|
className = "",
|
|
1202
1218
|
frontBubbleColor = "#000000",
|
|
@@ -3385,7 +3401,8 @@ var SOURCE_ICON_NAMES = {
|
|
|
3385
3401
|
"code-graph-files": "file-text",
|
|
3386
3402
|
"code-symbols": "box",
|
|
3387
3403
|
"code-duplicates": "search",
|
|
3388
|
-
"code-impact": "activity"
|
|
3404
|
+
"code-impact": "activity",
|
|
3405
|
+
"change-sets": "coding-branch"
|
|
3389
3406
|
};
|
|
3390
3407
|
function getSourceIconName(tableId) {
|
|
3391
3408
|
if (!tableId) return void 0;
|
|
@@ -3452,7 +3469,8 @@ var SOURCE_LABELS_BY_TABLE = {
|
|
|
3452
3469
|
"code-graph-files": "Code Files",
|
|
3453
3470
|
"code-symbols": "Code Symbols",
|
|
3454
3471
|
"code-duplicates": "Duplicates",
|
|
3455
|
-
"code-impact": "Change Impact"
|
|
3472
|
+
"code-impact": "Change Impact",
|
|
3473
|
+
"change-sets": "Change Sets"
|
|
3456
3474
|
};
|
|
3457
3475
|
function getSourceLabel(tableId) {
|
|
3458
3476
|
return SOURCE_LABELS_BY_TABLE[tableId] ?? tableId;
|
|
@@ -3512,7 +3530,8 @@ var DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = {
|
|
|
3512
3530
|
code_file: "code-graph-files",
|
|
3513
3531
|
code_symbol: "code-symbols",
|
|
3514
3532
|
code_duplicate: "code-duplicates",
|
|
3515
|
-
code_impact: "code-impact"
|
|
3533
|
+
code_impact: "code-impact",
|
|
3534
|
+
change_set: "change-sets"
|
|
3516
3535
|
};
|
|
3517
3536
|
function defaultDocumentTypeForTableId(tableId) {
|
|
3518
3537
|
for (const [documentType, table] of Object.entries(DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID)) {
|
|
@@ -4944,6 +4963,7 @@ var BUILDERS = {
|
|
|
4944
4963
|
code_symbol: (ids, b) => `${b}/api/code-graph/symbols?ids=${ids.join(",")}`,
|
|
4945
4964
|
code_duplicate: (ids, b) => `${b}/api/code-graph/duplicates?ids=${ids.join(",")}`,
|
|
4946
4965
|
code_impact: (ids, b) => `${b}/api/code-graph/impacts?ids=${ids.join(",")}`,
|
|
4966
|
+
change_set: (ids, b) => `${b}/api/code-graph/change-sets?ids=${ids.join(",")}`,
|
|
4947
4967
|
// Single-record live source: the route ignores `?ids=` and returns the ONE
|
|
4948
4968
|
// `TrustCenterPublic` object (card id `TRUST_CENTER_CARD_ID`); see
|
|
4949
4969
|
// `extractCardItems` for how the loader matches it back.
|
|
@@ -6005,6 +6025,8 @@ exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE;
|
|
|
6005
6025
|
exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS;
|
|
6006
6026
|
exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM;
|
|
6007
6027
|
exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS;
|
|
6028
|
+
exports.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS;
|
|
6029
|
+
exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY;
|
|
6008
6030
|
exports.DESIGN_PALETTE = DESIGN_PALETTE;
|
|
6009
6031
|
exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS;
|
|
6010
6032
|
exports.DOC_TABLE_TYPES = DOC_TABLE_TYPES;
|
|
@@ -6094,6 +6116,7 @@ exports.defineParamSchema = defineParamSchema;
|
|
|
6094
6116
|
exports.delay = delay;
|
|
6095
6117
|
exports.deriveActiveColor = deriveActiveColor;
|
|
6096
6118
|
exports.deriveHoverColor = deriveHoverColor;
|
|
6119
|
+
exports.designDocReadiness = designDocReadiness;
|
|
6097
6120
|
exports.devSectionAnchorId = devSectionAnchorId;
|
|
6098
6121
|
exports.dismissAnnouncement = dismissAnnouncement;
|
|
6099
6122
|
exports.dismissWalkthrough = dismissWalkthrough;
|
|
@@ -6129,6 +6152,8 @@ exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForB
|
|
|
6129
6152
|
exports.formatCitationIndices = formatCitationIndices;
|
|
6130
6153
|
exports.formatClassification = formatClassification;
|
|
6131
6154
|
exports.formatCompactMetric = formatCompactMetric;
|
|
6155
|
+
exports.formatCompletionLabel = formatCompletionLabel;
|
|
6156
|
+
exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers;
|
|
6132
6157
|
exports.formatCurrency = formatCurrency;
|
|
6133
6158
|
exports.formatDate = formatDate;
|
|
6134
6159
|
exports.formatDateRange = formatDateRange;
|