autosolutions-os 0.4.23 → 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 +20 -0
- package/dist/nav.d.ts +15 -0
- package/dist/nav.js +54 -7
- 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,25 @@
|
|
|
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
|
+
|
|
3
23
|
## 0.4.23 - 2026-12-02
|
|
4
24
|
|
|
5
25
|
Menu changes for the Marketing and Commercial build (Didac, 2 December 2026: every unfinished Marketing and
|
package/dist/nav.d.ts
CHANGED
|
@@ -334,6 +334,21 @@ export declare const OS_MARK_HINTS: Readonly<Record<OsDataStatus, string>>;
|
|
|
334
334
|
* people to the app, or says why it cannot), so its Hub page is `mock`.
|
|
335
335
|
*/
|
|
336
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;
|
|
337
352
|
/** The Settings tab's id, label and glyph (the rail's own settings glyph), 0.3.2. */
|
|
338
353
|
export declare const OS_SETTINGS_TAB: Readonly<OsNavItem>;
|
|
339
354
|
/**
|
package/dist/nav.js
CHANGED
|
@@ -515,17 +515,62 @@ export function osDataStatus(toolId, where, tabId) {
|
|
|
515
515
|
const tabs = note?.tabs;
|
|
516
516
|
return tabId !== undefined && tabs && hasOwn(tabs, tabId) ? tabs[tabId] : status;
|
|
517
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
|
+
}
|
|
518
557
|
/* A row with the mark its page's data status calls for (0.3.11), after its
|
|
519
558
|
name, and a tooltip that says what the mark means: for an incomplete row
|
|
520
|
-
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. */
|
|
521
561
|
function marked(row, id, status) {
|
|
522
|
-
|
|
562
|
+
const noFeedback = osNoFeedback(id);
|
|
563
|
+
if (status === "working" && !noFeedback)
|
|
523
564
|
return row;
|
|
524
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 };
|
|
525
570
|
return {
|
|
526
571
|
...row,
|
|
527
|
-
label:
|
|
528
|
-
title:
|
|
572
|
+
label: osNoFeedbackLabel(label),
|
|
573
|
+
title: title ? `${title} ${OS_NO_FEEDBACK_HINT}` : OS_NO_FEEDBACK_HINT,
|
|
529
574
|
};
|
|
530
575
|
}
|
|
531
576
|
/** The Settings tab's id, label and glyph (the rail's own settings glyph), 0.3.2. */
|
|
@@ -1125,9 +1170,11 @@ export function searchOsMenu(entries, query, limit = 8) {
|
|
|
1125
1170
|
const typed = words.join(" ");
|
|
1126
1171
|
const ranked = [];
|
|
1127
1172
|
entries.forEach((entry, at) => {
|
|
1128
|
-
/* A data mark, the sample mark or (0.3.11) the incomplete one, is no part of the name
|
|
1129
|
-
|
|
1130
|
-
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);
|
|
1131
1178
|
const all = `${label} ${fold(entry.context)}`;
|
|
1132
1179
|
if (!words.every((word) => all.includes(word)))
|
|
1133
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