autosolutions-os 0.4.22 → 0.4.24
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/CHANGELOG.md +44 -0
- package/dist/nav.d.ts +38 -4
- package/dist/nav.js +82 -18
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.24 - 2026-12-02
|
|
4
|
+
|
|
5
|
+
The no-feedback mark (Didac, 2 December 2026): every menu row we build on our own best guess, with no
|
|
6
|
+
feedback from its owner yet, says so.
|
|
7
|
+
|
|
8
|
+
- `OS_NO_FEEDBACK`: the one list of those tools. Marketing: Paid media, Email & SMS, Retention & LTV,
|
|
9
|
+
Spend vs LY, Social & influencer, Media content planner, Influencer CRM, Brand guidelines, Shelf
|
|
10
|
+
simulator. Commercial: Customer scorecard, Margin calculator, Pricelist generator, Clearance list,
|
|
11
|
+
Retailer sell out (POS) (its Ranging and Retailer stock cover views). Operations: Customer OTIF (the
|
|
12
|
+
OTIF rule). When an owner gives feedback, remove the id: one line.
|
|
13
|
+
- Each row that opens a page shows " (N/F)" after its name and after any data mark, never in its place
|
|
14
|
+
("Paid media (*) (N/F)", "Retailer sell out (POS) (Incomplete) (N/F)"). Its tooltip ends with
|
|
15
|
+
`OS_NO_FEEDBACK_HINT`: "(N/F) No feedback provided. Built on our best guess; tell us what to change."
|
|
16
|
+
A locked row shows its lock's hint only, as before.
|
|
17
|
+
- For page headers and legends: `osNoFeedback(toolId)`, `osNoFeedbackLabel(label)`, `OS_NO_FEEDBACK_MARK`,
|
|
18
|
+
`OS_NO_FEEDBACK_HINT`. The Hub draws an "N/F" tag beside its pages' titles from them; Ops Hub can do
|
|
19
|
+
the same on its pages.
|
|
20
|
+
- The menu search ignores the mark, as it ignores the data marks.
|
|
21
|
+
- Apps change nothing but the version.
|
|
22
|
+
|
|
23
|
+
## 0.4.23 - 2026-12-02
|
|
24
|
+
|
|
25
|
+
Menu changes for the Marketing and Commercial build (Didac, 2 December 2026: every unfinished Marketing and
|
|
26
|
+
Commercial page on real data by 15 December). Apps change nothing but the version.
|
|
27
|
+
|
|
28
|
+
- Marketing > Spend vs budget reads "Spend vs LY": the OS has no budgets, only actual against last year.
|
|
29
|
+
The id stays `spend-vs-budget`, so grants, links and the Hub page stay.
|
|
30
|
+
- Marketing > Paid media and Marketing > Shelf simulator have no app link (`OS_TOOL_LINKS` drops
|
|
31
|
+
`ad_management` and `shelf_simulator`, which have no address): both rows open their page in the Hub,
|
|
32
|
+
like the other Marketing rows, for anyone who holds the row's item. Shelf simulator's map status is
|
|
33
|
+
To build.
|
|
34
|
+
- Operations > Tools > PM Copilot is off the menu: Projects (the Hub panel's Tools) is the one project
|
|
35
|
+
tool. Its item and grants stay in the core, and the app switcher still lists the app for the people
|
|
36
|
+
who hold it. PM Copilot's own frame keeps a row only if the app places it (`fn`, `section`, `label`,
|
|
37
|
+
`icon`), as Candidate Hub does.
|
|
38
|
+
- Operations > Demand plan opens Ops Hub's Demand planning page (`/demand-planning`), which has a view
|
|
39
|
+
for each of the map's views. It is locked for someone who does not hold Ops Hub, like every Ops Hub
|
|
40
|
+
row, and it carries no sample mark.
|
|
41
|
+
- Operations > Action queue loses its Team view (`queue-team`): Ops Hub has no action-owner data, so it
|
|
42
|
+
would be empty. My queue stays. No core item or grant changes.
|
|
43
|
+
- The core's item catalogue has not followed yet (label "Spend vs budget"; Paid media and Shelf
|
|
44
|
+
simulator held through their apps' roles; Demand plan not an Ops Hub row). Who may open each row is
|
|
45
|
+
unchanged. `test/permissions.test.ts` lists these as `CATALOGUE_LAGS` until a core migration.
|
|
46
|
+
|
|
3
47
|
## 0.4.22 - 2026-12-01
|
|
4
48
|
|
|
5
49
|
The feedback form shows a picture big (Didac, 18 November 2026, feedback e724e723: "when someone attach a
|
package/dist/nav.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export declare const OS_FUNCTIONS: OsNavItem[];
|
|
|
73
73
|
* the two rows the design keeps from before its merge (Customer scorecard,
|
|
74
74
|
* Clearance list). Then our two Live apps the map does not have, at the end
|
|
75
75
|
* of their groups, so they stay reachable: Shelf simulator (Marketing >
|
|
76
|
-
* Tools) and PM Copilot (Operations > Tools); they borrow
|
|
76
|
+
* Tools) and PM Copilot (Operations > Tools, until 0.4.23); they borrow
|
|
77
77
|
* ops-inventory-value (a stocked shelf) and hub-tasks. Key accounts was the
|
|
78
78
|
* third until 0.4.1, when it became the sheet's Line form populator row
|
|
79
79
|
* (Commercial > Tools, in the sheet's place, under its id key-accounts). Owner, source and cadence stay in
|
|
@@ -116,6 +116,15 @@ export declare const OS_FUNCTIONS: OsNavItem[];
|
|
|
116
116
|
* One more row is gone since 0.4.21 (the owner's call, 1 December 2026):
|
|
117
117
|
* Finance > Approvals & authority (approvals-authority), until Steve Gordijn
|
|
118
118
|
* describes what it should do; it was a sample only.
|
|
119
|
+
*
|
|
120
|
+
* Since 0.4.23 (the owner's calls, 2 December 2026): Operations > Tools >
|
|
121
|
+
* PM Copilot (pm-copilot) is off the menu, as Projects (the Hub panel's
|
|
122
|
+
* Tools) is the one project tool; its item and grants stay in the core, and
|
|
123
|
+
* the app switcher still lists the app for the people who hold it. Marketing
|
|
124
|
+
* > Spend vs budget reads "Spend vs LY": the OS has no budgets, only actual
|
|
125
|
+
* against last year. Its id stays spend-vs-budget, so grants and links stay.
|
|
126
|
+
* Operations > Action queue has one view, My queue: its Team view
|
|
127
|
+
* (queue-team) is gone, as Ops Hub has no action-owner data to fill it.
|
|
119
128
|
*/
|
|
120
129
|
export declare const OS_MENU: Record<OsMenuFunction, OsToolGroup[]>;
|
|
121
130
|
/**
|
|
@@ -167,9 +176,10 @@ export type OsToolLink = {
|
|
|
167
176
|
* frame off the core sends each row where the Hub's catalogue does once the
|
|
168
177
|
* catalogue has that address (`launch_url`), not to the tool's page in the
|
|
169
178
|
* Hub; and PM Copilot opens its console (`/ops`), from the catalogue too.
|
|
170
|
-
* The
|
|
171
|
-
*
|
|
172
|
-
* have none: off the core they open their page in
|
|
179
|
+
* The apps whose address the catalogue does not give yet (Marketing
|
|
180
|
+
* calendar, Influencer Manager, NPD validator; Paid media and Shelf
|
|
181
|
+
* simulator until 0.4.23) have none: off the core they open their page in
|
|
182
|
+
* the Hub.
|
|
173
183
|
*
|
|
174
184
|
* Since 0.3.3 (the owner's calls of 18 October): Operations' Overview is Ops
|
|
175
185
|
* Hub's home dashboard, so it opens Ops Hub for someone who holds it and is
|
|
@@ -229,6 +239,15 @@ export type OsToolLink = {
|
|
|
229
239
|
* Copywriter (brand_voice_copywriter, brand-voice.autosolutions.app): pick
|
|
230
240
|
* what to write, answer a few questions, refine it in a chat, in the
|
|
231
241
|
* company's own brand voice. The Hub's old Brand Voice Capture row is gone.
|
|
242
|
+
*
|
|
243
|
+
* Since 0.4.23 (the owner's calls, 2 December 2026): Marketing > Paid media
|
|
244
|
+
* and Marketing > Shelf simulator have no app link. Neither catalogue app
|
|
245
|
+
* (ad_management, shelf_simulator) has an address, so both rows open their
|
|
246
|
+
* page in the Hub, like the other Marketing rows, for anyone who holds the
|
|
247
|
+
* row's item. Operations > Demand plan opens Ops Hub's Demand planning page
|
|
248
|
+
* (/demand-planning), which has a view for each of the map's views (Plan,
|
|
249
|
+
* Cleanse history, Accuracy, New & EOL, Versions). PM Copilot's entry is
|
|
250
|
+
* gone with its row.
|
|
232
251
|
*/
|
|
233
252
|
export declare const OS_TOOL_LINKS: Record<string, OsToolLink>;
|
|
234
253
|
/** The Hub's own pages, for the rail's Hub, Admin and Settings rows in other apps. */
|
|
@@ -315,6 +334,21 @@ export declare const OS_MARK_HINTS: Readonly<Record<OsDataStatus, string>>;
|
|
|
315
334
|
* people to the app, or says why it cannot), so its Hub page is `mock`.
|
|
316
335
|
*/
|
|
317
336
|
export declare function osDataStatus(toolId: string, where: "app" | "hub", tabId?: string): OsDataStatus;
|
|
337
|
+
/**
|
|
338
|
+
* The tools built on our own best guess, with no feedback from their owner
|
|
339
|
+
* yet (0.4.24, Didac, 2 December 2026): each row, and its page's header, says
|
|
340
|
+
* so with " (N/F)" after any data mark, not in its place. When an owner gives
|
|
341
|
+
* feedback, remove the tool's id here: that is the one change.
|
|
342
|
+
*/
|
|
343
|
+
export declare const OS_NO_FEEDBACK: readonly string[];
|
|
344
|
+
/** The no-feedback mark (0.4.24): after the name, and after any data mark. */
|
|
345
|
+
export declare const OS_NO_FEEDBACK_MARK = " (N/F)";
|
|
346
|
+
/** What the no-feedback mark means (0.4.24): the row's tooltip, the page tag's, and the legend's words. */
|
|
347
|
+
export declare const OS_NO_FEEDBACK_HINT = "(N/F) No feedback provided. Built on our best guess; tell us what to change.";
|
|
348
|
+
/** Whether the tool (or the row an old id is now) was built with no feedback from its owner (0.4.24). */
|
|
349
|
+
export declare function osNoFeedback(toolId: string): boolean;
|
|
350
|
+
/** `label` with the no-feedback mark after it, once (0.4.24). */
|
|
351
|
+
export declare function osNoFeedbackLabel(label: string): string;
|
|
318
352
|
/** The Settings tab's id, label and glyph (the rail's own settings glyph), 0.3.2. */
|
|
319
353
|
export declare const OS_SETTINGS_TAB: Readonly<OsNavItem>;
|
|
320
354
|
/**
|
package/dist/nav.js
CHANGED
|
@@ -49,7 +49,7 @@ const overview = (fn) => ({
|
|
|
49
49
|
* the two rows the design keeps from before its merge (Customer scorecard,
|
|
50
50
|
* Clearance list). Then our two Live apps the map does not have, at the end
|
|
51
51
|
* of their groups, so they stay reachable: Shelf simulator (Marketing >
|
|
52
|
-
* Tools) and PM Copilot (Operations > Tools); they borrow
|
|
52
|
+
* Tools) and PM Copilot (Operations > Tools, until 0.4.23); they borrow
|
|
53
53
|
* ops-inventory-value (a stocked shelf) and hub-tasks. Key accounts was the
|
|
54
54
|
* third until 0.4.1, when it became the sheet's Line form populator row
|
|
55
55
|
* (Commercial > Tools, in the sheet's place, under its id key-accounts). Owner, source and cadence stay in
|
|
@@ -92,6 +92,15 @@ const overview = (fn) => ({
|
|
|
92
92
|
* One more row is gone since 0.4.21 (the owner's call, 1 December 2026):
|
|
93
93
|
* Finance > Approvals & authority (approvals-authority), until Steve Gordijn
|
|
94
94
|
* describes what it should do; it was a sample only.
|
|
95
|
+
*
|
|
96
|
+
* Since 0.4.23 (the owner's calls, 2 December 2026): Operations > Tools >
|
|
97
|
+
* PM Copilot (pm-copilot) is off the menu, as Projects (the Hub panel's
|
|
98
|
+
* Tools) is the one project tool; its item and grants stay in the core, and
|
|
99
|
+
* the app switcher still lists the app for the people who hold it. Marketing
|
|
100
|
+
* > Spend vs budget reads "Spend vs LY": the OS has no budgets, only actual
|
|
101
|
+
* against last year. Its id stays spend-vs-budget, so grants and links stay.
|
|
102
|
+
* Operations > Action queue has one view, My queue: its Team view
|
|
103
|
+
* (queue-team) is gone, as Ops Hub has no action-owner data to fill it.
|
|
95
104
|
*/
|
|
96
105
|
export const OS_MENU = {
|
|
97
106
|
finance: [
|
|
@@ -119,7 +128,7 @@ export const OS_MENU = {
|
|
|
119
128
|
tool("email-sms", "Email & SMS", "mkt-email-sms", "No status"),
|
|
120
129
|
tool("retention-ltv", "Retention & LTV", "mkt-retention-ltv", "No status"),
|
|
121
130
|
tool("social-influencer", "Social & influencer", "mkt-social-influencer", "No status"),
|
|
122
|
-
tool("spend-vs-budget", "Spend vs
|
|
131
|
+
tool("spend-vs-budget", "Spend vs LY", "mkt-spend-vs-budget", "No status"),
|
|
123
132
|
] },
|
|
124
133
|
{ title: "Tools", items: [
|
|
125
134
|
tool("marketing-calendar", "Marketing calendar", "mkt-marketing-calendar", "No status"),
|
|
@@ -129,7 +138,7 @@ export const OS_MENU = {
|
|
|
129
138
|
tool("brand-guidelines", "Brand guidelines", "mkt-brand-guidelines", "In progress"),
|
|
130
139
|
tool("npd-validator", "NPD validator", "mkt-npd-validator", "Live"),
|
|
131
140
|
tool("pricing-researcher", "Pricing researcher", "mkt-pricing-researcher", "Live"),
|
|
132
|
-
tool("shelf-simulator", "Shelf simulator", "ops-inventory-value", "
|
|
141
|
+
tool("shelf-simulator", "Shelf simulator", "ops-inventory-value", "To build"),
|
|
133
142
|
] },
|
|
134
143
|
{ title: "Creative", items: [
|
|
135
144
|
tool("image-generator", "Image generator", "mkt-image-generator", "Live"),
|
|
@@ -169,11 +178,10 @@ export const OS_MENU = {
|
|
|
169
178
|
tool("forecast-accuracy", "Forecast accuracy", "ops-forecast-accuracy", "In progress", [["fc-accuracy", "Accuracy"], ["fc-items", "By item"], ["fc-compare", "Forecast vs actual"]]),
|
|
170
179
|
] },
|
|
171
180
|
{ title: "Tools", items: [
|
|
172
|
-
tool("action-queue", "Action queue", "ops-action-queue", "Live", [["queue-mine", "My queue"]
|
|
181
|
+
tool("action-queue", "Action queue", "ops-action-queue", "Live", [["queue-mine", "My queue"]]),
|
|
173
182
|
tool("demand-planning", "Demand plan", "ops-demand-plan", "In progress", [["dp-plan", "Plan"], ["dp-cleanse", "Cleanse history"], ["dp-accuracy", "Accuracy"], ["dp-lifecycle", "New & EOL"], ["dp-versions", "Versions"]]),
|
|
174
183
|
tool("ordering-tool", "Order planning", "ops-order-planing", "Live", [["order-suggest", "Suggestions"], ["order-draft", "Draft"], ["order-approvals", "Approvals"]]),
|
|
175
184
|
tool("carton-label-generator", "Carton label generator", "ops-carton-label-generator", "Live"),
|
|
176
|
-
tool("pm-copilot", "PM Copilot", "hub-tasks", "Live"),
|
|
177
185
|
] },
|
|
178
186
|
],
|
|
179
187
|
};
|
|
@@ -236,9 +244,10 @@ const opsHub = (path) => ({ app: "ops_hub", url: OPS_HUB, path });
|
|
|
236
244
|
* frame off the core sends each row where the Hub's catalogue does once the
|
|
237
245
|
* catalogue has that address (`launch_url`), not to the tool's page in the
|
|
238
246
|
* Hub; and PM Copilot opens its console (`/ops`), from the catalogue too.
|
|
239
|
-
* The
|
|
240
|
-
*
|
|
241
|
-
* have none: off the core they open their page in
|
|
247
|
+
* The apps whose address the catalogue does not give yet (Marketing
|
|
248
|
+
* calendar, Influencer Manager, NPD validator; Paid media and Shelf
|
|
249
|
+
* simulator until 0.4.23) have none: off the core they open their page in
|
|
250
|
+
* the Hub.
|
|
242
251
|
*
|
|
243
252
|
* Since 0.3.3 (the owner's calls of 18 October): Operations' Overview is Ops
|
|
244
253
|
* Hub's home dashboard, so it opens Ops Hub for someone who holds it and is
|
|
@@ -298,10 +307,18 @@ const opsHub = (path) => ({ app: "ops_hub", url: OPS_HUB, path });
|
|
|
298
307
|
* Copywriter (brand_voice_copywriter, brand-voice.autosolutions.app): pick
|
|
299
308
|
* what to write, answer a few questions, refine it in a chat, in the
|
|
300
309
|
* company's own brand voice. The Hub's old Brand Voice Capture row is gone.
|
|
310
|
+
*
|
|
311
|
+
* Since 0.4.23 (the owner's calls, 2 December 2026): Marketing > Paid media
|
|
312
|
+
* and Marketing > Shelf simulator have no app link. Neither catalogue app
|
|
313
|
+
* (ad_management, shelf_simulator) has an address, so both rows open their
|
|
314
|
+
* page in the Hub, like the other Marketing rows, for anyone who holds the
|
|
315
|
+
* row's item. Operations > Demand plan opens Ops Hub's Demand planning page
|
|
316
|
+
* (/demand-planning), which has a view for each of the map's views (Plan,
|
|
317
|
+
* Cleanse history, Accuracy, New & EOL, Versions). PM Copilot's entry is
|
|
318
|
+
* gone with its row.
|
|
301
319
|
*/
|
|
302
320
|
export const OS_TOOL_LINKS = {
|
|
303
321
|
"live-ecomm-sales": { app: "alive_reporting", url: "https://e-sales.autosolutions.app" },
|
|
304
|
-
"paid-media": { app: "ad_management" },
|
|
305
322
|
"marketing-calendar": { app: "content_calendar" },
|
|
306
323
|
/* The Marketing Calendar's Trade view (0.4.6): retail launches and promos only. */
|
|
307
324
|
"trade-marketing-calendar": { app: "content_calendar", path: "/trade" },
|
|
@@ -309,7 +326,6 @@ export const OS_TOOL_LINKS = {
|
|
|
309
326
|
"npd-validator": { app: "product_idea_validator" },
|
|
310
327
|
/* The Pricing Researcher, its own app (0.4.9). */
|
|
311
328
|
"pricing-researcher": { app: "pricing_researcher" },
|
|
312
|
-
"shelf-simulator": { app: "shelf_simulator" },
|
|
313
329
|
"image-generator": { app: "frank_create", url: "https://design-studio.autosolutions.app" },
|
|
314
330
|
"retail-image-library": { app: "asset_portal", url: "https://asset-portal.autosolutions.app" },
|
|
315
331
|
/* Its own app since 0.4.10. */
|
|
@@ -334,9 +350,10 @@ export const OS_TOOL_LINKS = {
|
|
|
334
350
|
/* Ops Hub's Forecast accuracy page, on its Accuracy view (0.3.14). */
|
|
335
351
|
"forecast-accuracy": opsHub("/forecast-accuracy"),
|
|
336
352
|
"action-queue": opsHub("/action-queue"),
|
|
353
|
+
/* Ops Hub's Demand planning page, on its Plan view (0.4.23). */
|
|
354
|
+
"demand-planning": opsHub("/demand-planning"),
|
|
337
355
|
"ordering-tool": opsHub("/ordering"),
|
|
338
356
|
"carton-label-generator": { app: "label_maker", url: "https://label-maker.autosolutions.app" },
|
|
339
|
-
"pm-copilot": { app: "pm_copilot", url: "https://pm-copilot.autosolutions.app", path: "/ops" },
|
|
340
357
|
};
|
|
341
358
|
/** The Hub's own pages, for the rail's Hub, Admin and Settings rows in other apps. */
|
|
342
359
|
export const HUB_PATHS = {
|
|
@@ -498,17 +515,62 @@ export function osDataStatus(toolId, where, tabId) {
|
|
|
498
515
|
const tabs = note?.tabs;
|
|
499
516
|
return tabId !== undefined && tabs && hasOwn(tabs, tabId) ? tabs[tabId] : status;
|
|
500
517
|
}
|
|
518
|
+
/**
|
|
519
|
+
* The tools built on our own best guess, with no feedback from their owner
|
|
520
|
+
* yet (0.4.24, Didac, 2 December 2026): each row, and its page's header, says
|
|
521
|
+
* so with " (N/F)" after any data mark, not in its place. When an owner gives
|
|
522
|
+
* feedback, remove the tool's id here: that is the one change.
|
|
523
|
+
*/
|
|
524
|
+
export const OS_NO_FEEDBACK = [
|
|
525
|
+
/* Marketing */
|
|
526
|
+
"paid-media",
|
|
527
|
+
"email-sms",
|
|
528
|
+
"retention-ltv",
|
|
529
|
+
"spend-vs-budget",
|
|
530
|
+
"social-influencer",
|
|
531
|
+
"social-content-planner",
|
|
532
|
+
"influencer-crm",
|
|
533
|
+
"brand-guidelines",
|
|
534
|
+
"shelf-simulator",
|
|
535
|
+
/* Commercial */
|
|
536
|
+
"customer-scorecard",
|
|
537
|
+
"margin-calculator",
|
|
538
|
+
"pricelist-generator",
|
|
539
|
+
"clearance-list",
|
|
540
|
+
/* Commercial > Retailer sell out: its Ranging and Retailer stock cover views */
|
|
541
|
+
"retailer-sell-out",
|
|
542
|
+
/* Operations: the OTIF rule */
|
|
543
|
+
"order-otif",
|
|
544
|
+
];
|
|
545
|
+
/** The no-feedback mark (0.4.24): after the name, and after any data mark. */
|
|
546
|
+
export const OS_NO_FEEDBACK_MARK = " (N/F)";
|
|
547
|
+
/** What the no-feedback mark means (0.4.24): the row's tooltip, the page tag's, and the legend's words. */
|
|
548
|
+
export const OS_NO_FEEDBACK_HINT = "(N/F) No feedback provided. Built on our best guess; tell us what to change.";
|
|
549
|
+
/** Whether the tool (or the row an old id is now) was built with no feedback from its owner (0.4.24). */
|
|
550
|
+
export function osNoFeedback(toolId) {
|
|
551
|
+
return OS_NO_FEEDBACK.includes(osToolId(toolId));
|
|
552
|
+
}
|
|
553
|
+
/** `label` with the no-feedback mark after it, once (0.4.24). */
|
|
554
|
+
export function osNoFeedbackLabel(label) {
|
|
555
|
+
return label.endsWith(OS_NO_FEEDBACK_MARK) ? label : `${label}${OS_NO_FEEDBACK_MARK}`;
|
|
556
|
+
}
|
|
501
557
|
/* A row with the mark its page's data status calls for (0.3.11), after its
|
|
502
558
|
name, and a tooltip that says what the mark means: for an incomplete row
|
|
503
|
-
also what is missing. A working row is as it was.
|
|
559
|
+
also what is missing. A working row is as it was. A tool built with no
|
|
560
|
+
owner feedback (0.4.24) also gets " (N/F)" after that, and its hint. */
|
|
504
561
|
function marked(row, id, status) {
|
|
505
|
-
|
|
562
|
+
const noFeedback = osNoFeedback(id);
|
|
563
|
+
if (status === "working" && !noFeedback)
|
|
506
564
|
return row;
|
|
507
565
|
const missing = status === "incomplete" && hasOwn(OS_TOOL_DATA, id) ? OS_TOOL_DATA[id].missing : undefined;
|
|
566
|
+
const label = status === "working" ? row.label : osMarkedLabel(row.label, status);
|
|
567
|
+
const title = status === "working" ? undefined : missing ? `${OS_MARK_HINTS[status]} ${missing}` : OS_MARK_HINTS[status];
|
|
568
|
+
if (!noFeedback)
|
|
569
|
+
return { ...row, label, title: title };
|
|
508
570
|
return {
|
|
509
571
|
...row,
|
|
510
|
-
label:
|
|
511
|
-
title:
|
|
572
|
+
label: osNoFeedbackLabel(label),
|
|
573
|
+
title: title ? `${title} ${OS_NO_FEEDBACK_HINT}` : OS_NO_FEEDBACK_HINT,
|
|
512
574
|
};
|
|
513
575
|
}
|
|
514
576
|
/** The Settings tab's id, label and glyph (the rail's own settings glyph), 0.3.2. */
|
|
@@ -1108,9 +1170,11 @@ export function searchOsMenu(entries, query, limit = 8) {
|
|
|
1108
1170
|
const typed = words.join(" ");
|
|
1109
1171
|
const ranked = [];
|
|
1110
1172
|
entries.forEach((entry, at) => {
|
|
1111
|
-
/* A data mark, the sample mark or (0.3.11) the incomplete one, is no part of the name
|
|
1112
|
-
|
|
1113
|
-
const
|
|
1173
|
+
/* A data mark, the sample mark or (0.3.11) the incomplete one, is no part of the name; nor
|
|
1174
|
+
is the no-feedback mark (0.4.24) after it. */
|
|
1175
|
+
const bare = entry.label.endsWith(OS_NO_FEEDBACK_MARK) ? entry.label.slice(0, -OS_NO_FEEDBACK_MARK.length) : entry.label;
|
|
1176
|
+
const mark = [OS_SAMPLE_MARK, OS_INCOMPLETE_MARK].find((m) => bare.endsWith(m));
|
|
1177
|
+
const label = fold(mark ? bare.slice(0, -mark.length) : bare);
|
|
1114
1178
|
const all = `${label} ${fold(entry.context)}`;
|
|
1115
1179
|
if (!words.every((word) => all.includes(word)))
|
|
1116
1180
|
return;
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** This package's version, sent with each feedback message. A test keeps it equal to package.json. */
|
|
2
|
-
export declare const OS_VERSION = "0.4.
|
|
2
|
+
export declare const OS_VERSION = "0.4.24";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** This package's version, sent with each feedback message. A test keeps it equal to package.json. */
|
|
2
|
-
export const OS_VERSION = "0.4.
|
|
2
|
+
export const OS_VERSION = "0.4.24";
|
package/package.json
CHANGED