autosolutions-os 0.4.21 → 0.4.23
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 +37 -0
- package/dist/feedback.js +50 -5
- package/dist/feedbackAsk.d.ts +1 -1
- package/dist/feedbackAsk.js +8 -2
- package/dist/nav.d.ts +23 -4
- package/dist/nav.js +28 -11
- 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,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.23 - 2026-12-02
|
|
4
|
+
|
|
5
|
+
Menu changes for the Marketing and Commercial build (Didac, 2 December 2026: every unfinished Marketing and
|
|
6
|
+
Commercial page on real data by 15 December). Apps change nothing but the version.
|
|
7
|
+
|
|
8
|
+
- Marketing > Spend vs budget reads "Spend vs LY": the OS has no budgets, only actual against last year.
|
|
9
|
+
The id stays `spend-vs-budget`, so grants, links and the Hub page stay.
|
|
10
|
+
- Marketing > Paid media and Marketing > Shelf simulator have no app link (`OS_TOOL_LINKS` drops
|
|
11
|
+
`ad_management` and `shelf_simulator`, which have no address): both rows open their page in the Hub,
|
|
12
|
+
like the other Marketing rows, for anyone who holds the row's item. Shelf simulator's map status is
|
|
13
|
+
To build.
|
|
14
|
+
- Operations > Tools > PM Copilot is off the menu: Projects (the Hub panel's Tools) is the one project
|
|
15
|
+
tool. Its item and grants stay in the core, and the app switcher still lists the app for the people
|
|
16
|
+
who hold it. PM Copilot's own frame keeps a row only if the app places it (`fn`, `section`, `label`,
|
|
17
|
+
`icon`), as Candidate Hub does.
|
|
18
|
+
- Operations > Demand plan opens Ops Hub's Demand planning page (`/demand-planning`), which has a view
|
|
19
|
+
for each of the map's views. It is locked for someone who does not hold Ops Hub, like every Ops Hub
|
|
20
|
+
row, and it carries no sample mark.
|
|
21
|
+
- Operations > Action queue loses its Team view (`queue-team`): Ops Hub has no action-owner data, so it
|
|
22
|
+
would be empty. My queue stays. No core item or grant changes.
|
|
23
|
+
- The core's item catalogue has not followed yet (label "Spend vs budget"; Paid media and Shelf
|
|
24
|
+
simulator held through their apps' roles; Demand plan not an Ops Hub row). Who may open each row is
|
|
25
|
+
unchanged. `test/permissions.test.ts` lists these as `CATALOGUE_LAGS` until a core migration.
|
|
26
|
+
|
|
27
|
+
## 0.4.22 - 2026-12-01
|
|
28
|
+
|
|
29
|
+
The feedback form shows a picture big (Didac, 18 November 2026, feedback e724e723: "when someone attach a
|
|
30
|
+
picture ... they click preview on the attachment and show what it is on big").
|
|
31
|
+
|
|
32
|
+
- A click on a picture in the form opens it big, inside the form: "Picture 1 of 2", Previous and Next when
|
|
33
|
+
there are more, and Close. Escape, Close or a click beside the picture closes it; the arrow keys move.
|
|
34
|
+
- While it is open the form behind it takes no clicks or Tab (`inert`). Closing gives focus back to the
|
|
35
|
+
picture. The small x still removes a picture.
|
|
36
|
+
- The form still takes pictures only (PNG, JPEG, WebP). Documents would need the core's `feedback-submit`
|
|
37
|
+
and its bucket to take them first.
|
|
38
|
+
- Apps change nothing but the version.
|
|
39
|
+
|
|
3
40
|
## 0.4.21 - 2026-12-01
|
|
4
41
|
|
|
5
42
|
Finance Hub go-live. Menu text and marks only; apps change nothing but the version.
|
package/dist/feedback.js
CHANGED
|
@@ -8,7 +8,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
8
8
|
* `core.feedback`, for its TopBar's `actions`.
|
|
9
9
|
*
|
|
10
10
|
* The form asks for a type (Bug, Idea, Question, Other), what happened, and up
|
|
11
|
-
* to three pictures (picked, pasted or dropped).
|
|
11
|
+
* to three pictures (picked, pasted or dropped). A click on a picture shows it
|
|
12
|
+
* big inside the form (0.4.22), with Previous and Next when there are more. When the person presses Send
|
|
12
13
|
* it adds what the page knows: the app, the page's path, title and address,
|
|
13
14
|
* the company the bar shows, the browser, the screen, the language, the time
|
|
14
15
|
* zone, the app's commit (Lovable's `data-commit-sha`) and this package's
|
|
@@ -52,7 +53,12 @@ function FeedbackDialog({ appKey, token, tenant, endpoint, draft, setDraft, onCl
|
|
|
52
53
|
const ref = useRef(null);
|
|
53
54
|
const text = useRef(null);
|
|
54
55
|
const file = useRef(null);
|
|
56
|
+
const form = useRef(null);
|
|
57
|
+
const viewClose = useRef(null);
|
|
55
58
|
const id = useId();
|
|
59
|
+
/* The picture shown big (0.4.22, feedback e724e723), or null. */
|
|
60
|
+
const [view, setView] = useState(null);
|
|
61
|
+
const shown = view !== null ? draft.pictures[view] ?? null : null;
|
|
56
62
|
const [sending, setSending] = useState(false);
|
|
57
63
|
const [error, setError] = useState(null);
|
|
58
64
|
const [sent, setSent] = useState(null);
|
|
@@ -71,6 +77,33 @@ function FeedbackDialog({ appKey, token, tenant, endpoint, draft, setDraft, onCl
|
|
|
71
77
|
live.current = false;
|
|
72
78
|
};
|
|
73
79
|
}, []);
|
|
80
|
+
/* While a picture is shown big, the form behind it takes no clicks or Tab
|
|
81
|
+
(inert, set here so React 18 and 19 both write it), and the Close button
|
|
82
|
+
has focus. Closing gives focus back to the picture that was opened. */
|
|
83
|
+
const opened = useRef(null);
|
|
84
|
+
useEffect(() => {
|
|
85
|
+
form.current?.toggleAttribute("inert", shown !== null);
|
|
86
|
+
if (shown !== null) {
|
|
87
|
+
viewClose.current?.focus();
|
|
88
|
+
}
|
|
89
|
+
else if (opened.current !== null) {
|
|
90
|
+
const back = form.current?.querySelectorAll(".osfb-pic__open")[opened.current];
|
|
91
|
+
opened.current = null;
|
|
92
|
+
back?.focus();
|
|
93
|
+
}
|
|
94
|
+
}, [shown]);
|
|
95
|
+
const openView = (i) => {
|
|
96
|
+
opened.current = i;
|
|
97
|
+
setView(i);
|
|
98
|
+
};
|
|
99
|
+
const step = (by) => {
|
|
100
|
+
const count = draft.pictures.length;
|
|
101
|
+
if (view === null || count < 2)
|
|
102
|
+
return;
|
|
103
|
+
const next = (view + by + count) % count;
|
|
104
|
+
opened.current = next;
|
|
105
|
+
setView(next);
|
|
106
|
+
};
|
|
74
107
|
const addFiles = async (files) => {
|
|
75
108
|
const list = Array.from(files).filter((f) => f.type.startsWith("image/"));
|
|
76
109
|
if (list.length === 0)
|
|
@@ -106,6 +139,11 @@ function FeedbackDialog({ appKey, token, tenant, endpoint, draft, setDraft, onCl
|
|
|
106
139
|
first, and the paste (a picture or text) lands in the form. */
|
|
107
140
|
const onKeyDown = (e) => {
|
|
108
141
|
e.stopPropagation();
|
|
142
|
+
if (shown !== null && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
|
|
143
|
+
e.preventDefault();
|
|
144
|
+
step(e.key === "ArrowLeft" ? -1 : 1);
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
109
147
|
if (!(e.metaKey || e.ctrlKey) || e.altKey || e.key.toLowerCase() !== "v")
|
|
110
148
|
return;
|
|
111
149
|
const at = e.target;
|
|
@@ -154,20 +192,27 @@ function FeedbackDialog({ appKey, token, tenant, endpoint, draft, setDraft, onCl
|
|
|
154
192
|
};
|
|
155
193
|
return (_jsxs("dialog", { ref: ref, "data-os-feedback": "dialog", "aria-labelledby": `${id}-title`, onCancel: (e) => {
|
|
156
194
|
e.preventDefault();
|
|
157
|
-
|
|
195
|
+
/* Escape closes the big picture first, then the form. */
|
|
196
|
+
if (shown !== null)
|
|
197
|
+
setView(null);
|
|
198
|
+
else
|
|
199
|
+
close();
|
|
158
200
|
}, onKeyDown: onKeyDown, onPaste: onPaste, onDragOver: (e) => {
|
|
159
201
|
if (e.dataTransfer?.types?.includes("Files"))
|
|
160
202
|
e.preventDefault();
|
|
161
|
-
}, onDrop: onDrop, children: [_jsx("style", { children: CSS }), _jsxs("form", { className: "osfb-form", method: "dialog", onSubmit: (e) => {
|
|
203
|
+
}, onDrop: onDrop, children: [_jsx("style", { children: CSS }), _jsxs("form", { ref: form, className: "osfb-form", method: "dialog", onSubmit: (e) => {
|
|
162
204
|
e.preventDefault();
|
|
163
205
|
if (!sending && !sent)
|
|
164
206
|
void send();
|
|
165
207
|
}, children: [_jsxs("div", { className: "osfb-head", children: [_jsxs("div", { children: [_jsx("h2", { className: "osfb-title", id: `${id}-title`, children: "Send feedback" }), _jsx("p", { className: "osfb-sub", children: "Tell us what went wrong or what would help." })] }), _jsx("button", { type: "button", className: "osfb-close", "aria-label": "Close", onClick: close, children: "\u00D7" })] }), sent ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "osfb-alert is-ok", role: "status", children: ["Thanks. We got your feedback.", sent.warnings.length > 0 && (_jsx("ul", { children: sent.warnings.map((w) => _jsx("li", { children: w }, w)) }))] }), _jsxs("div", { className: "osfb-actions", children: [_jsx("button", { type: "button", className: "osfb-btn", onClick: () => setSent(null), children: "Send more" }), _jsx("button", { type: "button", className: "osfb-btn is-primary", onClick: close, children: "Close" })] })] })) : (_jsxs(_Fragment, { children: [_jsxs("fieldset", { className: "osfb-group", children: [_jsx("legend", { className: "osfb-label", children: "Type" }), _jsx("div", { className: "osfb-types", children: OS_FEEDBACK_TYPES.map((t) => (_jsxs("label", { className: draft.type === t.value ? "osfb-type is-on" : "osfb-type", children: [_jsx("input", { type: "radio", name: `${id}-type`, value: t.value, checked: draft.type === t.value, onChange: () => setDraft((d) => ({ ...d, type: t.value })) }), t.label] }, t.value))) })] }), _jsxs("div", { children: [_jsx("label", { className: "osfb-label", htmlFor: `${id}-text`, children: "What happened?" }), _jsx("textarea", { ref: text, id: `${id}-text`, className: "osfb-text", value: draft.message, maxLength: OS_FEEDBACK_LIMITS.message, placeholder: "What did you do, what did you expect, and what happened instead?", onChange: (e) => {
|
|
166
208
|
const message = e.target.value;
|
|
167
209
|
setDraft((d) => ({ ...d, message }));
|
|
168
|
-
} })] }), _jsxs("div", { children: [_jsx("span", { className: "osfb-label", id: `${id}-pics`, children: "Pictures (optional)" }), _jsxs("div", { className: "osfb-pics", role: "group", "aria-labelledby": `${id}-pics`, children: [draft.pictures.map((p, i) => (_jsxs("div", { className: "osfb-pic", children: [_jsx("img", { src: p.data, alt: `Picture ${i + 1}` }), _jsx("button", { type: "button", "aria-label": `Remove picture ${i + 1}`, onClick: () => setDraft((d) => ({ ...d, pictures: d.pictures.filter((_, j) => j !== i) })), children: "\u00D7" })] }, `${i}-${p.size}`))), draft.pictures.length < OS_FEEDBACK_LIMITS.pictures && (_jsx("button", { type: "button", className: "osfb-btn", onClick: () => file.current?.click(), children: "Add a picture" })), _jsx("input", { ref: file, className: "osfb-sr", type: "file", accept: "image/png,image/jpeg,image/webp", multiple: true, tabIndex: -1, "aria-hidden": "true", onChange: (e) => {
|
|
210
|
+
} })] }), _jsxs("div", { children: [_jsx("span", { className: "osfb-label", id: `${id}-pics`, children: "Pictures (optional)" }), _jsxs("div", { className: "osfb-pics", role: "group", "aria-labelledby": `${id}-pics`, children: [draft.pictures.map((p, i) => (_jsxs("div", { className: "osfb-pic", children: [_jsx("button", { type: "button", className: "osfb-pic__open", "aria-label": `Show picture ${i + 1} big`, title: "Show it big", onClick: () => openView(i), children: _jsx("img", { src: p.data, alt: `Picture ${i + 1}` }) }), _jsx("button", { type: "button", className: "osfb-pic__remove", "aria-label": `Remove picture ${i + 1}`, onClick: () => setDraft((d) => ({ ...d, pictures: d.pictures.filter((_, j) => j !== i) })), children: "\u00D7" })] }, `${i}-${p.size}`))), draft.pictures.length < OS_FEEDBACK_LIMITS.pictures && (_jsx("button", { type: "button", className: "osfb-btn", onClick: () => file.current?.click(), children: "Add a picture" })), _jsx("input", { ref: file, className: "osfb-sr", type: "file", accept: "image/png,image/jpeg,image/webp", multiple: true, tabIndex: -1, "aria-hidden": "true", onChange: (e) => {
|
|
169
211
|
const files = Array.from(e.target.files ?? []);
|
|
170
212
|
e.target.value = "";
|
|
171
213
|
void addFiles(files);
|
|
172
|
-
} })] }), _jsxs("p", { className: "osfb-note", children: ["You can also paste or drop up to ", OS_FEEDBACK_LIMITS.pictures, " pictures here."] })] }), _jsx("p", { className: "osfb-note", children: "We also send the app, this page's address, your company, your name and email, your browser and the time." }), error && _jsx("p", { className: "osfb-alert is-error", role: "alert", children: error }), _jsxs("div", { className: "osfb-actions", children: [_jsx("button", { type: "button", className: "osfb-btn", onClick: close, children: "Cancel" }), _jsx("button", { type: "submit", className: "osfb-btn is-primary", disabled: sending, children: sending ? "Sending" : "Send" })] })] }))] })
|
|
214
|
+
} })] }), _jsxs("p", { className: "osfb-note", children: ["You can also paste or drop up to ", OS_FEEDBACK_LIMITS.pictures, " pictures here. Click a picture to see it big."] })] }), _jsx("p", { className: "osfb-note", children: "We also send the app, this page's address, your company, your name and email, your browser and the time." }), error && _jsx("p", { className: "osfb-alert is-error", role: "alert", children: error }), _jsxs("div", { className: "osfb-actions", children: [_jsx("button", { type: "button", className: "osfb-btn", onClick: close, children: "Cancel" }), _jsx("button", { type: "submit", className: "osfb-btn is-primary", disabled: sending, children: sending ? "Sending" : "Send" })] })] }))] }), shown !== null && view !== null && (_jsxs("div", { className: "osfb-view", role: "group", "aria-label": `Picture ${view + 1} of ${draft.pictures.length}`, "data-os-feedback": "preview", onClick: (e) => {
|
|
215
|
+
if (e.target === e.currentTarget)
|
|
216
|
+
setView(null);
|
|
217
|
+
}, children: [_jsxs("div", { className: "osfb-view__bar", children: [_jsxs("span", { className: "osfb-view__count", children: ["Picture ", view + 1, " of ", draft.pictures.length] }), draft.pictures.length > 1 && (_jsxs(_Fragment, { children: [_jsx("button", { type: "button", className: "osfb-btn", onClick: () => step(-1), children: "Previous" }), _jsx("button", { type: "button", className: "osfb-btn", onClick: () => step(1), children: "Next" })] })), _jsx("button", { type: "button", ref: viewClose, className: "osfb-btn is-primary", onClick: () => setView(null), children: "Close" })] }), _jsx("img", { className: "osfb-view__img", src: shown.data, alt: `Picture ${view + 1}, big` })] }))] }));
|
|
173
218
|
}
|
package/dist/feedbackAsk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const OS_FEEDBACK_ASK_CSS = "\n.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask{width:auto;height:2.25rem;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;gap:.375rem;margin-inline-end:1rem;padding:0 .875rem 0 .6875rem;border:0;border-radius:999px;background:linear-gradient(110deg,#D1007C 0%,#6E3192 50%,#D1007C 100%);background-size:200% 100%;background-position:0% 50%;color:#FFFFFF;font:inherit;font-size:.8125rem;font-weight:600;line-height:1;white-space:nowrap;animation:osfb-ask-drift 6s ease-in-out 1s 10 alternate}\n.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask:hover{filter:brightness(1.1)}\n.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask:active{filter:brightness(.95)}\n.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.is-seen{animation:none}\n.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask--float{position:fixed;top:.75rem;inset-inline-end:1rem;z-index:2147483000;margin:0;padding:0 .875rem 0 .6875rem;width:auto;box-shadow:0 .25rem .75rem rgba(0,0,0,.25)}\n.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask--float .osfb-ask__icon{display:block}\n.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask--float .osfb-ask__word{display:inline}\n.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask .osfb-ask__icon{display:block;flex:0 0 auto}\n@keyframes osfb-ask-drift{from{background-position:0% 50%}to{background-position:100% 50%}}\n@media (max-width:767px){.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask{margin-inline-end:.5rem;gap:.3125rem;padding:0 .6875rem 0 .5rem}}\n@media (max-width:409px){.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask{padding:0 .75rem}.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask .osfb-ask__icon{display:none}}\n@media (max-width:379px){.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask{width:2.25rem;padding:0}.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask .osfb-ask__icon{display:block}.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask .osfb-ask__word{display:none}}\n@media (max-width:359px){.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask{margin-inline-end:.25rem}}\n@media (prefers-reduced-motion:reduce){.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask{animation:none}}\n@media (forced-colors:active){.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask.osfb-ask{border:1px solid ButtonText;background:ButtonFace;color:ButtonText;forced-color-adjust:none}}\n";
|
|
2
|
-
export declare const OS_FEEDBACK_DIALOG_CSS = "\ndialog[data-os-feedback=\"dialog\"]{box-sizing:border-box;width:min(34rem,calc(100vw - 2rem));max-width:none;max-height:calc(100vh - 2rem);margin:auto;padding:0;border:1px solid var(--ws-color-panel-stroke,#E6E6E8);border-radius:var(--ws-radius-sheet,1rem);background:var(--ws-color-surface,#FFFFFF);color:var(--ws-color-text,#303030);font-family:var(--ws-font,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,sans-serif);font-size:.875rem;line-height:1.45;text-align:start;box-shadow:0 1.25rem 3.75rem rgba(0,0,0,.25);overflow:auto}\ndialog[data-os-feedback=\"dialog\"]::backdrop{background:rgba(26,26,26,.45)}\ndialog[data-os-feedback=\"dialog\"] *{box-sizing:border-box}\ndialog[data-os-feedback=\"dialog\"] .osfb-form{display:flex;flex-direction:column;gap:1rem;margin:0;padding:1.25rem 1.5rem 1.5rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-title{margin:0;font-size:1.125rem;line-height:1.3;font-weight:600;color:inherit}\ndialog[data-os-feedback=\"dialog\"] .osfb-sub,dialog[data-os-feedback=\"dialog\"] .osfb-note{margin:.25rem 0 0;font-size:.8125rem;color:var(--ws-color-text-secondary,#616161)}\ndialog[data-os-feedback=\"dialog\"] .osfb-close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin:-.25rem -.5rem 0 0;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:1.25rem;line-height:1;cursor:pointer}\ndialog[data-os-feedback=\"dialog\"] .osfb-close:hover{background:var(--ws-color-fill-hover,rgba(0,0,0,.05))}\ndialog[data-os-feedback=\"dialog\"] .osfb-label{display:block;margin:0 0 .375rem;font-weight:600;font-size:.8125rem;color:inherit}\ndialog[data-os-feedback=\"dialog\"] fieldset.osfb-group{margin:0;padding:0;border:0;min-width:0}\ndialog[data-os-feedback=\"dialog\"] .osfb-types{display:flex;flex-wrap:wrap;gap:.5rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-type{position:relative;display:inline-flex;align-items:center;height:2rem;padding:0 .875rem;border:1px solid var(--ws-color-border,#E6E6E8);border-radius:999px;background:var(--ws-color-surface,#FFFFFF);color:inherit;font-weight:550;cursor:pointer;user-select:none}\ndialog[data-os-feedback=\"dialog\"] .osfb-type:hover{background:var(--ws-color-fill-hover,rgba(0,0,0,.05))}\ndialog[data-os-feedback=\"dialog\"] .osfb-type.is-on{border-color:var(--ws-color-pill-ink,#2B5BE3);background:var(--ws-color-pill,#E3EAFD);color:var(--ws-color-pill-ink,#2B5BE3)}\ndialog[data-os-feedback=\"dialog\"] .osfb-type input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}\ndialog[data-os-feedback=\"dialog\"] .osfb-type:has(input:focus-visible){outline:2px solid var(--ws-color-focus,#2B5BE3);outline-offset:2px}\ndialog[data-os-feedback=\"dialog\"] textarea.osfb-text{display:block;width:100%;min-height:8rem;margin:0;padding:.5rem .75rem;border:1px solid var(--ws-color-sheet-stroke,#D1D1D1);border-radius:.5rem;background:#FFFFFF;color:inherit;font:inherit;line-height:1.45;resize:vertical}\ndialog[data-os-feedback=\"dialog\"] textarea.osfb-text:focus{outline:2px solid var(--ws-color-focus,#2B5BE3);outline-offset:0;border-color:transparent}\ndialog[data-os-feedback=\"dialog\"] .osfb-pics{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-pic{position:relative;width:4.5rem;height:4.5rem;border:1px solid var(--ws-color-border,#E6E6E8);border-radius:.5rem;overflow:hidden;background:#F4F4F5}\ndialog[data-os-feedback=\"dialog\"] .osfb-pic img{display:block;width:100%;height:100%;object-fit:cover}\ndialog[data-os-feedback=\"dialog\"] .osfb-
|
|
2
|
+
export declare const OS_FEEDBACK_DIALOG_CSS = "\ndialog[data-os-feedback=\"dialog\"]{box-sizing:border-box;width:min(34rem,calc(100vw - 2rem));max-width:none;max-height:calc(100vh - 2rem);margin:auto;padding:0;border:1px solid var(--ws-color-panel-stroke,#E6E6E8);border-radius:var(--ws-radius-sheet,1rem);background:var(--ws-color-surface,#FFFFFF);color:var(--ws-color-text,#303030);font-family:var(--ws-font,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,sans-serif);font-size:.875rem;line-height:1.45;text-align:start;box-shadow:0 1.25rem 3.75rem rgba(0,0,0,.25);overflow:auto}\ndialog[data-os-feedback=\"dialog\"]::backdrop{background:rgba(26,26,26,.45)}\ndialog[data-os-feedback=\"dialog\"] *{box-sizing:border-box}\ndialog[data-os-feedback=\"dialog\"] .osfb-form{display:flex;flex-direction:column;gap:1rem;margin:0;padding:1.25rem 1.5rem 1.5rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-title{margin:0;font-size:1.125rem;line-height:1.3;font-weight:600;color:inherit}\ndialog[data-os-feedback=\"dialog\"] .osfb-sub,dialog[data-os-feedback=\"dialog\"] .osfb-note{margin:.25rem 0 0;font-size:.8125rem;color:var(--ws-color-text-secondary,#616161)}\ndialog[data-os-feedback=\"dialog\"] .osfb-close{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin:-.25rem -.5rem 0 0;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:1.25rem;line-height:1;cursor:pointer}\ndialog[data-os-feedback=\"dialog\"] .osfb-close:hover{background:var(--ws-color-fill-hover,rgba(0,0,0,.05))}\ndialog[data-os-feedback=\"dialog\"] .osfb-label{display:block;margin:0 0 .375rem;font-weight:600;font-size:.8125rem;color:inherit}\ndialog[data-os-feedback=\"dialog\"] fieldset.osfb-group{margin:0;padding:0;border:0;min-width:0}\ndialog[data-os-feedback=\"dialog\"] .osfb-types{display:flex;flex-wrap:wrap;gap:.5rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-type{position:relative;display:inline-flex;align-items:center;height:2rem;padding:0 .875rem;border:1px solid var(--ws-color-border,#E6E6E8);border-radius:999px;background:var(--ws-color-surface,#FFFFFF);color:inherit;font-weight:550;cursor:pointer;user-select:none}\ndialog[data-os-feedback=\"dialog\"] .osfb-type:hover{background:var(--ws-color-fill-hover,rgba(0,0,0,.05))}\ndialog[data-os-feedback=\"dialog\"] .osfb-type.is-on{border-color:var(--ws-color-pill-ink,#2B5BE3);background:var(--ws-color-pill,#E3EAFD);color:var(--ws-color-pill-ink,#2B5BE3)}\ndialog[data-os-feedback=\"dialog\"] .osfb-type input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}\ndialog[data-os-feedback=\"dialog\"] .osfb-type:has(input:focus-visible){outline:2px solid var(--ws-color-focus,#2B5BE3);outline-offset:2px}\ndialog[data-os-feedback=\"dialog\"] textarea.osfb-text{display:block;width:100%;min-height:8rem;margin:0;padding:.5rem .75rem;border:1px solid var(--ws-color-sheet-stroke,#D1D1D1);border-radius:.5rem;background:#FFFFFF;color:inherit;font:inherit;line-height:1.45;resize:vertical}\ndialog[data-os-feedback=\"dialog\"] textarea.osfb-text:focus{outline:2px solid var(--ws-color-focus,#2B5BE3);outline-offset:0;border-color:transparent}\ndialog[data-os-feedback=\"dialog\"] .osfb-pics{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-pic{position:relative;width:4.5rem;height:4.5rem;border:1px solid var(--ws-color-border,#E6E6E8);border-radius:.5rem;overflow:hidden;background:#F4F4F5}\ndialog[data-os-feedback=\"dialog\"] .osfb-pic img{display:block;width:100%;height:100%;object-fit:cover}\ndialog[data-os-feedback=\"dialog\"] .osfb-pic__open{display:block;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;cursor:zoom-in}\ndialog[data-os-feedback=\"dialog\"] .osfb-pic__open:focus-visible{outline:2px solid var(--ws-color-focus,#2B5BE3);outline-offset:-2px}\ndialog[data-os-feedback=\"dialog\"] .osfb-view{position:fixed;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1rem;background:rgba(16,16,16,.88);color:#FFFFFF}\ndialog[data-os-feedback=\"dialog\"] .osfb-view__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;max-width:100%}\ndialog[data-os-feedback=\"dialog\"] .osfb-view__count{margin-inline-end:.5rem;font-weight:600}\ndialog[data-os-feedback=\"dialog\"] .osfb-view__img{display:block;max-width:100%;max-height:calc(100vh - 6rem);object-fit:contain;border-radius:.5rem;background:#FFFFFF;box-shadow:0 1rem 3rem rgba(0,0,0,.4)}\ndialog[data-os-feedback=\"dialog\"] .osfb-pic__remove{position:absolute;top:.125rem;right:.125rem;display:inline-flex;align-items:center;justify-content:center;width:1.375rem;height:1.375rem;padding:0;border:0;border-radius:999px;background:rgba(26,26,26,.75);color:#FFFFFF;font:inherit;font-size:.875rem;line-height:1;cursor:pointer}\ndialog[data-os-feedback=\"dialog\"] .osfb-btn{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;height:2.25rem;padding:0 1rem;border:0;border-radius:.5rem;background:var(--ws-color-button,#E3E3E3);color:var(--ws-color-text,#303030);font:inherit;font-weight:600;cursor:pointer;text-decoration:none}\ndialog[data-os-feedback=\"dialog\"] .osfb-btn:hover{background:var(--ws-color-button-hover,#D4D4D4)}\ndialog[data-os-feedback=\"dialog\"] .osfb-btn:disabled{cursor:default;opacity:.6}\ndialog[data-os-feedback=\"dialog\"] .osfb-btn.is-primary{background:var(--ws-color-badge,#303030);color:var(--ws-color-badge-text,#FFFFFF)}\ndialog[data-os-feedback=\"dialog\"] .osfb-btn.is-primary:hover{background:#1A1A1A}\ndialog[data-os-feedback=\"dialog\"] .osfb-btn:focus-visible,dialog[data-os-feedback=\"dialog\"] .osfb-close:focus-visible,dialog[data-os-feedback=\"dialog\"] .osfb-pic__remove:focus-visible{outline:2px solid var(--ws-color-focus,#2B5BE3);outline-offset:2px}\ndialog[data-os-feedback=\"dialog\"] .osfb-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-alert{margin:0;padding:.625rem .75rem;border-radius:.5rem;font-size:.8125rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-alert.is-error{background:#FDECEE;color:var(--ws-color-text-critical,#8E0B21)}\ndialog[data-os-feedback=\"dialog\"] .osfb-alert.is-ok{background:#E7F5EC;color:#14532D}\ndialog[data-os-feedback=\"dialog\"] .osfb-alert ul{margin:.375rem 0 0;padding-inline-start:1.25rem}\ndialog[data-os-feedback=\"dialog\"] .osfb-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n";
|
|
3
3
|
export declare const OS_FEEDBACK_SEEN_KEY = "autosolutions-os:feedback-seen";
|
|
4
4
|
export declare function readSeen(): boolean;
|
|
5
5
|
export declare function keepSeen(): void;
|
package/dist/feedbackAsk.js
CHANGED
|
@@ -60,13 +60,19 @@ ${D} textarea.osfb-text:focus{outline:2px solid var(--ws-color-focus,#2B5BE3);ou
|
|
|
60
60
|
${D} .osfb-pics{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
|
|
61
61
|
${D} .osfb-pic{position:relative;width:4.5rem;height:4.5rem;border:1px solid var(--ws-color-border,#E6E6E8);border-radius:.5rem;overflow:hidden;background:#F4F4F5}
|
|
62
62
|
${D} .osfb-pic img{display:block;width:100%;height:100%;object-fit:cover}
|
|
63
|
-
${D} .osfb-
|
|
63
|
+
${D} .osfb-pic__open{display:block;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;cursor:zoom-in}
|
|
64
|
+
${D} .osfb-pic__open:focus-visible{outline:2px solid var(--ws-color-focus,#2B5BE3);outline-offset:-2px}
|
|
65
|
+
${D} .osfb-view{position:fixed;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1rem;background:rgba(16,16,16,.88);color:#FFFFFF}
|
|
66
|
+
${D} .osfb-view__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;max-width:100%}
|
|
67
|
+
${D} .osfb-view__count{margin-inline-end:.5rem;font-weight:600}
|
|
68
|
+
${D} .osfb-view__img{display:block;max-width:100%;max-height:calc(100vh - 6rem);object-fit:contain;border-radius:.5rem;background:#FFFFFF;box-shadow:0 1rem 3rem rgba(0,0,0,.4)}
|
|
69
|
+
${D} .osfb-pic__remove{position:absolute;top:.125rem;right:.125rem;display:inline-flex;align-items:center;justify-content:center;width:1.375rem;height:1.375rem;padding:0;border:0;border-radius:999px;background:rgba(26,26,26,.75);color:#FFFFFF;font:inherit;font-size:.875rem;line-height:1;cursor:pointer}
|
|
64
70
|
${D} .osfb-btn{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;height:2.25rem;padding:0 1rem;border:0;border-radius:.5rem;background:var(--ws-color-button,#E3E3E3);color:var(--ws-color-text,#303030);font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
|
|
65
71
|
${D} .osfb-btn:hover{background:var(--ws-color-button-hover,#D4D4D4)}
|
|
66
72
|
${D} .osfb-btn:disabled{cursor:default;opacity:.6}
|
|
67
73
|
${D} .osfb-btn.is-primary{background:var(--ws-color-badge,#303030);color:var(--ws-color-badge-text,#FFFFFF)}
|
|
68
74
|
${D} .osfb-btn.is-primary:hover{background:#1A1A1A}
|
|
69
|
-
${D} .osfb-btn:focus-visible,${D} .osfb-close:focus-visible,${D} .osfb-
|
|
75
|
+
${D} .osfb-btn:focus-visible,${D} .osfb-close:focus-visible,${D} .osfb-pic__remove:focus-visible{outline:2px solid var(--ws-color-focus,#2B5BE3);outline-offset:2px}
|
|
70
76
|
${D} .osfb-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}
|
|
71
77
|
${D} .osfb-alert{margin:0;padding:.625rem .75rem;border-radius:.5rem;font-size:.8125rem}
|
|
72
78
|
${D} .osfb-alert.is-error{background:#FDECEE;color:var(--ws-color-text-critical,#8E0B21)}
|
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. */
|
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 = {
|
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.23";
|
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.23";
|
package/package.json
CHANGED