autosolutions-os 0.4.0 → 0.4.1

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 CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.1 - 2026-11-05
4
+
5
+ The owner's sheet has Commercial > Tools > Line form populator, which the
6
+ Hub drew as a sample page with mock data. Our real app for it is Key
7
+ Accounts, which the menu drew as a row of its own, Key accounts, at the end of
8
+ Commercial > Tools, one of our three Live apps the map does not have. The
9
+ owner said yes (4 November 2026) to making them one row: the Hub's menu keeps
10
+ dashboards, and functional apps live in their own repos.
11
+
12
+ ### autosolutions-os/nav
13
+
14
+ - Commercial > Tools > Line form populator is the Key Accounts app's row:
15
+ id `key-accounts` (kept, so `OS_TOOL_LINKS["key-accounts"]` and its
16
+ permissions stay), label "Line form populator", glyph
17
+ `com-line-form-populator`, Live, in the sheet's place (fifth, after Trade
18
+ marketing calendar). Commercial > Tools has seven rows.
19
+ - The sample row `line-form-populator` and the row Key accounts at the end
20
+ are gone. `OS_TOOL_ALIASES["line-form-populator"]` is `key-accounts`, so an
21
+ app's tool, link or lock under the old id lands on the new row.
22
+ - 51 tools (Steve's 11 in Finance, the sheet's 38 elsewhere, Line form
23
+ populator among them, and our two: Shelf simulator and PM Copilot), still
24
+ 20 Live; one sample row fewer (34).
25
+ - Someone who does not hold Key Accounts sees the row locked, where Line form
26
+ populator opened the Hub's sample page before, as for every app's row.
27
+ - The core follows (migration `hub_permissions_line_form_populator`): the
28
+ catalogue row `key-accounts` is labelled Line form populator, at the sample
29
+ row's place; the settings held on the sample row move to the archive and
30
+ the row leaves the catalogue; the app is named Line Form Populator in the
31
+ Hub's switcher.
32
+ - Unchanged: every other id, link, tab, route and lock.
33
+ - Apps take this release with a lockfile bump. An app whose tests name the row
34
+ Key accounts, count the tools or list the sample rows updates them. Key
35
+ Accounts' own frame shows its row as Line form populator, with its tabs.
36
+
3
37
  ## 0.4.0 - 2026-11-05
4
38
 
5
39
  One way to send feedback in every app (Didac, 5 November 2026: "Yes, all A").
package/README.md CHANGED
@@ -95,9 +95,10 @@ person signs out in the app.
95
95
  `OsWorkspaceFrame` is the frame every app on the core renders around its pages:
96
96
  the top bar with the company's mark and switcher, the rail, the OS menu (Cliff's
97
97
  menu map, 0.3.0, with Steve Gordijn's Finance since 0.3.6 and the owner's sheet
98
- since 0.3.8: 52 tools and an Overview first in every function, Marketing's
99
- since 0.3.3, our Shelf simulator, Key accounts and PM Copilot among them;
100
- Candidate hub, a standalone app since 0.3.10, is a row of its own frame only),
98
+ since 0.3.8: 51 tools and an Overview first in every function, Marketing's
99
+ since 0.3.3, our Shelf simulator and PM Copilot among them, and Key Accounts
100
+ as the sheet's Line form populator since 0.4.1; Candidate hub, a standalone
101
+ app since 0.3.10, is a row of its own frame only),
101
102
  the Hub panel, the footer with Admin for people who manage
102
103
  something, and the browser-tab icon. It needs `autosolutions-design-system`
103
104
  6.5.0 or later (an optional peer: only this entry point uses it). Take this
package/dist/nav.d.ts CHANGED
@@ -71,11 +71,12 @@ export declare const OS_FUNCTIONS: OsNavItem[];
71
71
  * views, an Overview at the top of every function (Cliff draws one for
72
72
  * Finance, Commercial and Operations; Marketing's is the owner's, 0.3.3), and
73
73
  * the two rows the design keeps from before its merge (Customer scorecard,
74
- * Clearance list). Then our three Live apps the map does not have, at the end
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), Key accounts (Commercial > Tools) and PM Copilot (Operations >
77
- * Tools); they borrow ops-inventory-value (a stocked shelf),
78
- * com-customer-scorecard and hub-tasks. Owner, source and cadence stay in
76
+ * Tools) and PM Copilot (Operations > Tools); they borrow
77
+ * ops-inventory-value (a stocked shelf) and hub-tasks. Key accounts was the
78
+ * third until 0.4.1, when it became the sheet's Line form populator row
79
+ * (Commercial > Tools, in the sheet's place, under its id key-accounts). Owner, source and cadence stay in
79
80
  * the sheet. Icons are glyph ids from the design system's NAV_ICONS, which
80
81
  * draws them inline. Ids renamed in 0.3.0 are in OS_TOOL_ALIASES.
81
82
  *
@@ -114,13 +115,14 @@ export declare const OS_FUNCTIONS: OsNavItem[];
114
115
  */
115
116
  export declare const OS_MENU: Record<OsMenuFunction, OsToolGroup[]>;
116
117
  /**
117
- * Ids the menu map had before 0.3.0, and the row each is now: an app that
118
- * still passes one (a tool of its own, a link, a reason it is locked) lands
119
- * on the new row. Inventory value kept its id and moved to Finance in
120
- * 0.3.0, as Inventory valuation, then back to Operations in 0.3.6.
118
+ * Ids the menu map had before 0.3.0, and line-form-populator, the Hub's
119
+ * sample row until 0.4.1, and the row each is now: an app that still passes
120
+ * one (a tool of its own, a link, a reason it is locked) lands on the new
121
+ * row. Inventory value kept its id and moved to Finance in 0.3.0, as
122
+ * Inventory valuation, then back to Operations in 0.3.6.
121
123
  */
122
124
  export declare const OS_TOOL_ALIASES: Readonly<Record<string, string>>;
123
- /** The menu map's id for `id`: itself, or the row an id from before 0.3.0 is now. */
125
+ /** The menu map's id for `id`: itself, or the row an old id (OS_TOOL_ALIASES) is now. */
124
126
  export declare function osToolId(id: string): string;
125
127
  /**
126
128
  * The page in the Hub where a row with no app of its own goes (0.3.0): the
@@ -550,7 +552,7 @@ export type OsMenuEntry = {
550
552
  /** Unique among the entries: the function, the row, and the tab when it is one. */
551
553
  key: string;
552
554
  label: string;
553
- /** Where it sits, for telling the five Overviews apart: "Finance", "Hub · Smart Comms Hub", "Key accounts". */
555
+ /** Where it sits, for telling the five Overviews apart: "Finance", "Hub · Smart Comms Hub", "Line form populator". */
554
556
  context: string;
555
557
  icon?: string;
556
558
  state: OsFrameState;
package/dist/nav.js CHANGED
@@ -47,11 +47,12 @@ const overview = (fn) => ({
47
47
  * views, an Overview at the top of every function (Cliff draws one for
48
48
  * Finance, Commercial and Operations; Marketing's is the owner's, 0.3.3), and
49
49
  * the two rows the design keeps from before its merge (Customer scorecard,
50
- * Clearance list). Then our three Live apps the map does not have, at the end
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), Key accounts (Commercial > Tools) and PM Copilot (Operations >
53
- * Tools); they borrow ops-inventory-value (a stocked shelf),
54
- * com-customer-scorecard and hub-tasks. Owner, source and cadence stay in
52
+ * Tools) and PM Copilot (Operations > Tools); they borrow
53
+ * ops-inventory-value (a stocked shelf) and hub-tasks. Key accounts was the
54
+ * third until 0.4.1, when it became the sheet's Line form populator row
55
+ * (Commercial > Tools, in the sheet's place, under its id key-accounts). Owner, source and cadence stay in
55
56
  * the sheet. Icons are glyph ids from the design system's NAV_ICONS, which
56
57
  * draws them inline. Ids renamed in 0.3.0 are in OS_TOOL_ALIASES.
57
58
  *
@@ -146,10 +147,11 @@ export const OS_MENU = {
146
147
  tool("customer-scorecard", "Customer scorecard", "com-customer-scorecard", "No status"),
147
148
  tool("margin-calculator", "Margin calculator", "com-margin-calculator", "In progress"),
148
149
  tool("trade-marketing-calendar", "Trade marketing calendar", "com-trade-marketing-calendar", "To build"),
149
- tool("line-form-populator", "Line form populator", "com-line-form-populator", "In progress"),
150
+ // The owner's sheet's Line form populator is our Key Accounts app (0.4.1, owner's yes of
151
+ // 4 Nov 2026): one row, under the app's id key-accounts, so its link and permissions stay.
152
+ tool("key-accounts", "Line form populator", "com-line-form-populator", "Live"),
150
153
  tool("pricelist-generator", "Pricelist generator", "com-pricelist-generator", "To build"),
151
154
  tool("clearance-list", "Clearance list", "com-clearance-list", "No status"),
152
- tool("key-accounts", "Key accounts", "com-customer-scorecard", "Live"),
153
155
  ] },
154
156
  ],
155
157
  operations: [
@@ -173,10 +175,11 @@ export const OS_MENU = {
173
175
  ],
174
176
  };
175
177
  /**
176
- * Ids the menu map had before 0.3.0, and the row each is now: an app that
177
- * still passes one (a tool of its own, a link, a reason it is locked) lands
178
- * on the new row. Inventory value kept its id and moved to Finance in
179
- * 0.3.0, as Inventory valuation, then back to Operations in 0.3.6.
178
+ * Ids the menu map had before 0.3.0, and line-form-populator, the Hub's
179
+ * sample row until 0.4.1, and the row each is now: an app that still passes
180
+ * one (a tool of its own, a link, a reason it is locked) lands on the new
181
+ * row. Inventory value kept its id and moved to Finance in 0.3.0, as
182
+ * Inventory valuation, then back to Operations in 0.3.6.
180
183
  */
181
184
  export const OS_TOOL_ALIASES = {
182
185
  "pl-vs-budget": "pl-vs-ly",
@@ -184,8 +187,10 @@ export const OS_TOOL_ALIASES = {
184
187
  "customer-otif": "order-otif",
185
188
  "new-customer-acquisition": "customers",
186
189
  "at-risk-customers": "customers",
190
+ // 0.4.1: the Hub's sample row Line form populator is the Key Accounts app's row.
191
+ "line-form-populator": "key-accounts",
187
192
  };
188
- /** The menu map's id for `id`: itself, or the row an id from before 0.3.0 is now. */
193
+ /** The menu map's id for `id`: itself, or the row an old id (OS_TOOL_ALIASES) is now. */
189
194
  export function osToolId(id) {
190
195
  return Object.prototype.hasOwnProperty.call(OS_TOOL_ALIASES, id) ? OS_TOOL_ALIASES[id] : id;
191
196
  }
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.0";
2
+ export declare const OS_VERSION = "0.4.1";
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.0";
2
+ export const OS_VERSION = "0.4.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autosolutions-os",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "One sign-in, one company switcher, one app grid. What every AutoSolutions app imports instead of copying.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",