autosolutions-os 0.4.23 → 0.4.25
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 +31 -0
- package/dist/nav.d.ts +15 -0
- package/dist/nav.js +69 -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,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.25 - 2026-12-02
|
|
4
|
+
|
|
5
|
+
Three Commercial tools on real data (Didac, 2 December 2026: every unfinished Commercial page on real data by
|
|
6
|
+
15 December). Apps change nothing but the version.
|
|
7
|
+
|
|
8
|
+
- Commercial > Customer scorecard, Margin calculator and Clearance list read the core's hourly NetSuite copy
|
|
9
|
+
(core #184: `commercial_page_scorecard`, `commercial_margin_inputs`, `commercial_page_clearance`). Each row is
|
|
10
|
+
in `OS_TOOL_DATA` as `incomplete`, with what is missing in its tooltip: the "(*)" sample mark becomes
|
|
11
|
+
"(Incomplete)" (the no-feedback mark stays after it), and the Hub draws its live page (Hub #159).
|
|
12
|
+
- No item, grant or link changes.
|
|
13
|
+
|
|
14
|
+
## 0.4.24 - 2026-12-02
|
|
15
|
+
|
|
16
|
+
The no-feedback mark (Didac, 2 December 2026): every menu row we build on our own best guess, with no
|
|
17
|
+
feedback from its owner yet, says so.
|
|
18
|
+
|
|
19
|
+
- `OS_NO_FEEDBACK`: the one list of those tools. Marketing: Paid media, Email & SMS, Retention & LTV,
|
|
20
|
+
Spend vs LY, Social & influencer, Media content planner, Influencer CRM, Brand guidelines, Shelf
|
|
21
|
+
simulator. Commercial: Customer scorecard, Margin calculator, Pricelist generator, Clearance list,
|
|
22
|
+
Retailer sell out (POS) (its Ranging and Retailer stock cover views). Operations: Customer OTIF (the
|
|
23
|
+
OTIF rule). When an owner gives feedback, remove the id: one line.
|
|
24
|
+
- Each row that opens a page shows " (N/F)" after its name and after any data mark, never in its place
|
|
25
|
+
("Paid media (*) (N/F)", "Retailer sell out (POS) (Incomplete) (N/F)"). Its tooltip ends with
|
|
26
|
+
`OS_NO_FEEDBACK_HINT`: "(N/F) No feedback provided. Built on our best guess; tell us what to change."
|
|
27
|
+
A locked row shows its lock's hint only, as before.
|
|
28
|
+
- For page headers and legends: `osNoFeedback(toolId)`, `osNoFeedbackLabel(label)`, `OS_NO_FEEDBACK_MARK`,
|
|
29
|
+
`OS_NO_FEEDBACK_HINT`. The Hub draws an "N/F" tag beside its pages' titles from them; Ops Hub can do
|
|
30
|
+
the same on its pages.
|
|
31
|
+
- The menu search ignores the mark, as it ignores the data marks.
|
|
32
|
+
- Apps change nothing but the version.
|
|
33
|
+
|
|
3
34
|
## 0.4.23 - 2026-12-02
|
|
4
35
|
|
|
5
36
|
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
|
@@ -469,6 +469,21 @@ export const OS_TOOL_DATA = {
|
|
|
469
469
|
data: "incomplete",
|
|
470
470
|
missing: "Weekly note and Monthly commentary are written by fixed rules from the live Finance pages, not by AI. Exception alerts is the Exceptions desk: each problem is a tracked item with an owner and a status until it is fixed, from checks that run every half hour on the NetSuite copy. Two checks wait for data: bank reconciliation (the copy holds no reconciled dates) and bills waiting for approval (the copy reads no bills pending approval). The morning Slack message is off. Ask a question goes to Ada on our own Sparks: she reads only your own companies' Finance data, cannot change it, and marks her figures as query answers, not Finance page figures. NetSuite companies only (Frank Body, The Unmarked Group, Enxgy and Ledgify): al.ive body and Strength Lab (Xero) are not connected yet.",
|
|
471
471
|
},
|
|
472
|
+
/* Commercial wave 1 (0.4.25; core #184, Hub #159): the Customer scorecard, the Margin calculator and the
|
|
473
|
+
Clearance list read the core's hourly NetSuite copy (commercial_page_scorecard, commercial_margin_inputs,
|
|
474
|
+
commercial_page_clearance). */
|
|
475
|
+
"customer-scorecard": {
|
|
476
|
+
data: "incomplete",
|
|
477
|
+
missing: "NetSuite companies only: al.ive body and Strength Lab (Xero) are not connected yet. Last year before November 2025 comes from SAP history, which covers Frank Body Pty Ltd (Australia) only, so customers of the other companies show no growth yet. OTIF is in the Ops Hub and not in the score. Sell-through and the return on trade spend have no source yet.",
|
|
478
|
+
},
|
|
479
|
+
"margin-calculator": {
|
|
480
|
+
data: "incomplete",
|
|
481
|
+
missing: "NetSuite companies only: al.ive body and Strength Lab (Xero) are not connected yet. Costs are NetSuite's average cost in AUD. Deal lines stay in your browser: they are not saved or shared.",
|
|
482
|
+
},
|
|
483
|
+
"clearance-list": {
|
|
484
|
+
data: "incomplete",
|
|
485
|
+
missing: "NetSuite companies only: al.ive body and Strength Lab (Xero) are not connected yet. No expiry dates: NetSuite holds no lot or expiry dates, so the list uses weeks of cover and the last sale only.",
|
|
486
|
+
},
|
|
472
487
|
};
|
|
473
488
|
/**
|
|
474
489
|
* The mark after the name of a row, or a tab, whose real data is not complete
|
|
@@ -515,17 +530,62 @@ export function osDataStatus(toolId, where, tabId) {
|
|
|
515
530
|
const tabs = note?.tabs;
|
|
516
531
|
return tabId !== undefined && tabs && hasOwn(tabs, tabId) ? tabs[tabId] : status;
|
|
517
532
|
}
|
|
533
|
+
/**
|
|
534
|
+
* The tools built on our own best guess, with no feedback from their owner
|
|
535
|
+
* yet (0.4.24, Didac, 2 December 2026): each row, and its page's header, says
|
|
536
|
+
* so with " (N/F)" after any data mark, not in its place. When an owner gives
|
|
537
|
+
* feedback, remove the tool's id here: that is the one change.
|
|
538
|
+
*/
|
|
539
|
+
export const OS_NO_FEEDBACK = [
|
|
540
|
+
/* Marketing */
|
|
541
|
+
"paid-media",
|
|
542
|
+
"email-sms",
|
|
543
|
+
"retention-ltv",
|
|
544
|
+
"spend-vs-budget",
|
|
545
|
+
"social-influencer",
|
|
546
|
+
"social-content-planner",
|
|
547
|
+
"influencer-crm",
|
|
548
|
+
"brand-guidelines",
|
|
549
|
+
"shelf-simulator",
|
|
550
|
+
/* Commercial */
|
|
551
|
+
"customer-scorecard",
|
|
552
|
+
"margin-calculator",
|
|
553
|
+
"pricelist-generator",
|
|
554
|
+
"clearance-list",
|
|
555
|
+
/* Commercial > Retailer sell out: its Ranging and Retailer stock cover views */
|
|
556
|
+
"retailer-sell-out",
|
|
557
|
+
/* Operations: the OTIF rule */
|
|
558
|
+
"order-otif",
|
|
559
|
+
];
|
|
560
|
+
/** The no-feedback mark (0.4.24): after the name, and after any data mark. */
|
|
561
|
+
export const OS_NO_FEEDBACK_MARK = " (N/F)";
|
|
562
|
+
/** What the no-feedback mark means (0.4.24): the row's tooltip, the page tag's, and the legend's words. */
|
|
563
|
+
export const OS_NO_FEEDBACK_HINT = "(N/F) No feedback provided. Built on our best guess; tell us what to change.";
|
|
564
|
+
/** Whether the tool (or the row an old id is now) was built with no feedback from its owner (0.4.24). */
|
|
565
|
+
export function osNoFeedback(toolId) {
|
|
566
|
+
return OS_NO_FEEDBACK.includes(osToolId(toolId));
|
|
567
|
+
}
|
|
568
|
+
/** `label` with the no-feedback mark after it, once (0.4.24). */
|
|
569
|
+
export function osNoFeedbackLabel(label) {
|
|
570
|
+
return label.endsWith(OS_NO_FEEDBACK_MARK) ? label : `${label}${OS_NO_FEEDBACK_MARK}`;
|
|
571
|
+
}
|
|
518
572
|
/* A row with the mark its page's data status calls for (0.3.11), after its
|
|
519
573
|
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.
|
|
574
|
+
also what is missing. A working row is as it was. A tool built with no
|
|
575
|
+
owner feedback (0.4.24) also gets " (N/F)" after that, and its hint. */
|
|
521
576
|
function marked(row, id, status) {
|
|
522
|
-
|
|
577
|
+
const noFeedback = osNoFeedback(id);
|
|
578
|
+
if (status === "working" && !noFeedback)
|
|
523
579
|
return row;
|
|
524
580
|
const missing = status === "incomplete" && hasOwn(OS_TOOL_DATA, id) ? OS_TOOL_DATA[id].missing : undefined;
|
|
581
|
+
const label = status === "working" ? row.label : osMarkedLabel(row.label, status);
|
|
582
|
+
const title = status === "working" ? undefined : missing ? `${OS_MARK_HINTS[status]} ${missing}` : OS_MARK_HINTS[status];
|
|
583
|
+
if (!noFeedback)
|
|
584
|
+
return { ...row, label, title: title };
|
|
525
585
|
return {
|
|
526
586
|
...row,
|
|
527
|
-
label:
|
|
528
|
-
title:
|
|
587
|
+
label: osNoFeedbackLabel(label),
|
|
588
|
+
title: title ? `${title} ${OS_NO_FEEDBACK_HINT}` : OS_NO_FEEDBACK_HINT,
|
|
529
589
|
};
|
|
530
590
|
}
|
|
531
591
|
/** The Settings tab's id, label and glyph (the rail's own settings glyph), 0.3.2. */
|
|
@@ -1125,9 +1185,11 @@ export function searchOsMenu(entries, query, limit = 8) {
|
|
|
1125
1185
|
const typed = words.join(" ");
|
|
1126
1186
|
const ranked = [];
|
|
1127
1187
|
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
|
|
1188
|
+
/* A data mark, the sample mark or (0.3.11) the incomplete one, is no part of the name; nor
|
|
1189
|
+
is the no-feedback mark (0.4.24) after it. */
|
|
1190
|
+
const bare = entry.label.endsWith(OS_NO_FEEDBACK_MARK) ? entry.label.slice(0, -OS_NO_FEEDBACK_MARK.length) : entry.label;
|
|
1191
|
+
const mark = [OS_SAMPLE_MARK, OS_INCOMPLETE_MARK].find((m) => bare.endsWith(m));
|
|
1192
|
+
const label = fold(mark ? bare.slice(0, -mark.length) : bare);
|
|
1131
1193
|
const all = `${label} ${fold(entry.context)}`;
|
|
1132
1194
|
if (!words.every((word) => all.includes(word)))
|
|
1133
1195
|
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.25";
|
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.25";
|
package/package.json
CHANGED