@eintrek/erp-shell 0.1.75 → 0.1.76

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/README.md CHANGED
@@ -176,6 +176,31 @@ progress API: `API.md` next to it.
176
176
  shell's adapters), `guide-ui.tsx`, `guide-styles.ts`. Tests:
177
177
  `src/guide/*.test.ts`.
178
178
 
179
+ ### 0.1.76
180
+
181
+ Workflow guides ("พาทำงาน", phase 2; authors: `_claude-work/guides-r4/GUIDE-PAGES.md` §11).
182
+
183
+ - `GuideSuite.flows?: GuideFlow[]` (`key`, `version`, `title`, `minutes?`,
184
+ `visible`, `requires`, `startRoute`, `href?`, `transit?`, `offer?`,
185
+ `allowCommit?`, `steps`): one job across pages, its steps as a mission's
186
+ (`route`, checkpoints, ทำต่อ). Played as a replay: never in "ไกด์เริ่มต้น
187
+ n/N" or the welcome, never writing the tour's row.
188
+ - Audience and switch as page guides (every member; `visible`/`requires`;
189
+ `guides.<app>.pages` not off).
190
+ - "?" → "พาทำงาน" opens the panel's flows section (the flows this person
191
+ has); on a flow's start page "?" also has "พาทำ · <title>". Offered only
192
+ in `offer` mode, only flows with `offer: true`, on the start page, after
193
+ the missions and the page guide's offer, once.
194
+ - One row per flow per person, `<app>.flow.<key>`, written once at the end
195
+ (finished: completed; exited, left, จบโดยไม่บันทึก: skipped).
196
+ - The chain (start routes + steps' routes and route triggers + `transit`):
197
+ moving between its pages goes on; leaving it ends the flow silently. A
198
+ flow in progress survives a refresh in the same tab session (resumed at
199
+ its checkpoint), never across sessions.
200
+ - Writes: view and click steps only unless `allowCommit: true`, and then
201
+ every commit step must name its `abort` (else the flow is dropped, with a
202
+ warning in development).
203
+
179
204
  ### 0.1.75
180
205
 
181
206
  Section guides ("อธิบายส่วนนี้"; authors: `_claude-work/guides-r4/GUIDE-PAGES.md` §10).