autosolutions-os 0.3.13 → 0.3.14
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 +30 -0
- package/README.md +7 -6
- package/dist/nav.d.ts +13 -4
- package/dist/nav.js +15 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.14 - 2026-11-04
|
|
4
|
+
|
|
5
|
+
Operations > Forecast accuracy opened its sample page in the Hub, marked
|
|
6
|
+
" (*)", while Ops Hub has a real Forecast accuracy page since 4 November 2026
|
|
7
|
+
(frankhub #214). The owner said yes to linking it.
|
|
8
|
+
|
|
9
|
+
### autosolutions-os/nav
|
|
10
|
+
|
|
11
|
+
- `OS_TOOL_LINKS["forecast-accuracy"]` is Ops Hub's `/forecast-accuracy`
|
|
12
|
+
(its Accuracy view; By item and Forecast vs actual are views of the same
|
|
13
|
+
page). Like Ops Hub's other rows: linked for someone who holds Ops Hub,
|
|
14
|
+
locked for someone who does not, and the fixed address in `staticLinks()`.
|
|
15
|
+
- The row loses the sample mark and gets no other: the page scores the
|
|
16
|
+
forecasts against what NetSuite says sold, and Ops Hub has a page for every
|
|
17
|
+
view the map gives it (Accuracy, By item, Forecast vs actual). So
|
|
18
|
+
`OS_TOOL_DATA` is unchanged: Retailer sell out (POS) is still the one
|
|
19
|
+
incomplete row.
|
|
20
|
+
- Someone who does not hold Ops Hub sees the row locked, where it opened the
|
|
21
|
+
Hub's sample page before, as Ops Hub's other rows are. Ops Hub now serves
|
|
22
|
+
fourteen rows.
|
|
23
|
+
- The core makes it an Ops Hub row too (migration
|
|
24
|
+
`hub_permissions_forecast_accuracy`): open only in a company that owns Ops
|
|
25
|
+
Hub, and holding it holds Ops Hub, as for Customers and Customer OTIF.
|
|
26
|
+
- Unchanged: every id, tab, route and other link.
|
|
27
|
+
- Apps take this release with a lockfile bump. An app whose tests list the
|
|
28
|
+
sample rows, or the rows that open Ops Hub, adds this one. Ops Hub lists it
|
|
29
|
+
as its own tool today (`ADOPTED_TOOLS` in its `ops-nav.ts`): when it takes
|
|
30
|
+
this release it empties that list, since its test asks for exactly the rows
|
|
31
|
+
that open Ops Hub, and the row would count twice.
|
|
32
|
+
|
|
3
33
|
## 0.3.13 - 2026-11-04
|
|
4
34
|
|
|
5
35
|
The Hub's permissions in every menu. The core now keeps one setting per
|
package/README.md
CHANGED
|
@@ -138,9 +138,9 @@ Since 0.3.13 the frame greys every row the person may not open: the core's
|
|
|
138
138
|
`os_context()` returns `items`, the items of the menu they hold in the acting
|
|
139
139
|
company (the Hub's permissions: View for a dashboard, Member or Admin for a
|
|
140
140
|
tool), and every row it does not name is locked with "Ask your company admin
|
|
141
|
-
to switch this on for you", even when its app is held (Ops Hub serves
|
|
142
|
-
rows). Until the core answers, and with a core without `items`,
|
|
143
|
-
is locked (the pages and the server check again). `itemLocks(items)` and
|
|
141
|
+
to switch this on for you", even when its app is held (Ops Hub serves fourteen
|
|
142
|
+
rows since 0.3.14). Until the core answers, and with a core without `items`,
|
|
143
|
+
nothing new is locked (the pages and the server check again). `itemLocks(items)` and
|
|
144
144
|
`withItemLocks(catalogueLinks(...), items)` (`autosolutions-os/nav`) do the
|
|
145
145
|
same for a frame of your own, and `hubPanelLocks(items)` (osFrame's
|
|
146
146
|
`hubLocked`) greys the default Hub panel's rows the same way.
|
|
@@ -271,10 +271,11 @@ why).
|
|
|
271
271
|
for someone who holds it, and is locked for someone who does not, like
|
|
272
272
|
Ops Hub's tools. In the Hub a locked row's page files under its function,
|
|
273
273
|
with no row picked.
|
|
274
|
-
-
|
|
275
|
-
way: Commercial > Retailer sell out (POS) its POS dashboard (0.3.6),
|
|
274
|
+
- Four rows the map marks In progress open Ops Hub's real pages the same
|
|
275
|
+
way: Commercial > Retailer sell out (POS) its POS dashboard (0.3.6),
|
|
276
276
|
Commercial > Customers and Operations > Customer OTIF its Customers and
|
|
277
|
-
Order OTIF pages (0.3.12)
|
|
277
|
+
Order OTIF pages (0.3.12), and Operations > Forecast accuracy its Forecast
|
|
278
|
+
accuracy page (0.3.14).
|
|
278
279
|
- Admin appears when `my_admin_scope()` says the person manages something; pass
|
|
279
280
|
`admin` to decide it yourself.
|
|
280
281
|
- Every app shows the Hub panel (0.3.0, `OS_HUB_MENU`, the design's): Smart
|
package/dist/nav.d.ts
CHANGED
|
@@ -178,8 +178,9 @@ export type OsToolLink = {
|
|
|
178
178
|
*
|
|
179
179
|
* Since 0.3.6: Commercial > Retailer sell out (POS) opens Ops Hub's POS
|
|
180
180
|
* dashboard (/pos-dashboard), real NetSuite data, not its sample page in the
|
|
181
|
-
* Hub. Operations > Forecast accuracy
|
|
182
|
-
* is the issued forecast, not a measure of past forecasts
|
|
181
|
+
* Hub. Operations > Forecast accuracy stayed in the Hub until 0.3.14: Ops
|
|
182
|
+
* Hub's /forecast is the issued forecast, not a measure of past forecasts
|
|
183
|
+
* against actuals.
|
|
183
184
|
*
|
|
184
185
|
* Since 0.3.10 Candidate Hub (candidate_hub) has no entry: it is a standalone
|
|
185
186
|
* app, in no other app's menu. This map is the only way a catalogue app
|
|
@@ -194,6 +195,14 @@ export type OsToolLink = {
|
|
|
194
195
|
* sample pages in the Hub. Ops Hub has a page for every view the map gives
|
|
195
196
|
* them, so neither is in OS_TOOL_DATA: no mark. Ops Hub's own menu had them
|
|
196
197
|
* already (its ADOPTED_TOOLS).
|
|
198
|
+
*
|
|
199
|
+
* Since 0.3.14 (the owner's yes of 4 November 2026): Operations > Forecast
|
|
200
|
+
* accuracy opens Ops Hub's Forecast accuracy page (/forecast-accuracy: how
|
|
201
|
+
* far a forecast made 1 to 3 months ahead was from what NetSuite says sold),
|
|
202
|
+
* real data, not its sample page in the Hub. Ops Hub has a page for every
|
|
203
|
+
* view the map gives it (Accuracy, By item, Forecast vs actual), so it is not
|
|
204
|
+
* in OS_TOOL_DATA: no mark. Ops Hub's own menu had it already (its
|
|
205
|
+
* ADOPTED_TOOLS).
|
|
197
206
|
*/
|
|
198
207
|
export declare const OS_TOOL_LINKS: Record<string, OsToolLink>;
|
|
199
208
|
/** The Hub's own pages, for the rail's Hub, Admin and Settings rows in other apps. */
|
|
@@ -350,8 +359,8 @@ export declare function itemLocks(items: Readonly<Record<string, string>> | null
|
|
|
350
359
|
/**
|
|
351
360
|
* catalogueLinks' answer with itemLocks applied (0.3.13): a row the person may
|
|
352
361
|
* not open is locked even when its app is held, and is never a link. Ops Hub
|
|
353
|
-
* serves
|
|
354
|
-
* catalogue gave already stays.
|
|
362
|
+
* serves fourteen rows (0.3.14), and holding one of them holds the app. A
|
|
363
|
+
* reason the catalogue gave already stays.
|
|
355
364
|
*/
|
|
356
365
|
export declare function withItemLocks(base: {
|
|
357
366
|
links: Record<string, string>;
|
package/dist/nav.js
CHANGED
|
@@ -245,8 +245,9 @@ const opsHub = (path) => ({ app: "ops_hub", url: OPS_HUB, path });
|
|
|
245
245
|
*
|
|
246
246
|
* Since 0.3.6: Commercial > Retailer sell out (POS) opens Ops Hub's POS
|
|
247
247
|
* dashboard (/pos-dashboard), real NetSuite data, not its sample page in the
|
|
248
|
-
* Hub. Operations > Forecast accuracy
|
|
249
|
-
* is the issued forecast, not a measure of past forecasts
|
|
248
|
+
* Hub. Operations > Forecast accuracy stayed in the Hub until 0.3.14: Ops
|
|
249
|
+
* Hub's /forecast is the issued forecast, not a measure of past forecasts
|
|
250
|
+
* against actuals.
|
|
250
251
|
*
|
|
251
252
|
* Since 0.3.10 Candidate Hub (candidate_hub) has no entry: it is a standalone
|
|
252
253
|
* app, in no other app's menu. This map is the only way a catalogue app
|
|
@@ -261,6 +262,14 @@ const opsHub = (path) => ({ app: "ops_hub", url: OPS_HUB, path });
|
|
|
261
262
|
* sample pages in the Hub. Ops Hub has a page for every view the map gives
|
|
262
263
|
* them, so neither is in OS_TOOL_DATA: no mark. Ops Hub's own menu had them
|
|
263
264
|
* already (its ADOPTED_TOOLS).
|
|
265
|
+
*
|
|
266
|
+
* Since 0.3.14 (the owner's yes of 4 November 2026): Operations > Forecast
|
|
267
|
+
* accuracy opens Ops Hub's Forecast accuracy page (/forecast-accuracy: how
|
|
268
|
+
* far a forecast made 1 to 3 months ahead was from what NetSuite says sold),
|
|
269
|
+
* real data, not its sample page in the Hub. Ops Hub has a page for every
|
|
270
|
+
* view the map gives it (Accuracy, By item, Forecast vs actual), so it is not
|
|
271
|
+
* in OS_TOOL_DATA: no mark. Ops Hub's own menu had it already (its
|
|
272
|
+
* ADOPTED_TOOLS).
|
|
264
273
|
*/
|
|
265
274
|
export const OS_TOOL_LINKS = {
|
|
266
275
|
"live-ecomm-sales": { app: "alive_reporting", url: "https://e-sales.autosolutions.app" },
|
|
@@ -290,6 +299,8 @@ export const OS_TOOL_LINKS = {
|
|
|
290
299
|
"inventory-value": opsHub("/inventory-health?view=valuation"),
|
|
291
300
|
/* Ops Hub's Order OTIF page (0.3.12). */
|
|
292
301
|
"order-otif": opsHub("/customer-otif"),
|
|
302
|
+
/* Ops Hub's Forecast accuracy page, on its Accuracy view (0.3.14). */
|
|
303
|
+
"forecast-accuracy": opsHub("/forecast-accuracy"),
|
|
293
304
|
"action-queue": opsHub("/action-queue"),
|
|
294
305
|
"ordering-tool": opsHub("/ordering"),
|
|
295
306
|
"carton-label-generator": { app: "label_maker", url: "https://label-maker.autosolutions.app" },
|
|
@@ -512,8 +523,8 @@ export function itemLocks(items) {
|
|
|
512
523
|
/**
|
|
513
524
|
* catalogueLinks' answer with itemLocks applied (0.3.13): a row the person may
|
|
514
525
|
* not open is locked even when its app is held, and is never a link. Ops Hub
|
|
515
|
-
* serves
|
|
516
|
-
* catalogue gave already stays.
|
|
526
|
+
* serves fourteen rows (0.3.14), and holding one of them holds the app. A
|
|
527
|
+
* reason the catalogue gave already stays.
|
|
517
528
|
*/
|
|
518
529
|
export function withItemLocks(base, items) {
|
|
519
530
|
const links = { ...base.links };
|
package/package.json
CHANGED