@eintrek/erp-shell 0.1.74 → 0.1.75

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.75
180
+
181
+ Section guides ("อธิบายส่วนนี้"; authors: `_claude-work/guides-r4/GUIDE-PAGES.md` §10).
182
+
183
+ - `GuideSuite.sections?: GuideSection[]`: explains one section of a page
184
+ (a number-heavy card or table) row by row. View steps only (the default
185
+ kind here); a step may point at a row or cell (`targetId`). Tied to a
186
+ route and a root anchor: there only while the root is on screen, and it
187
+ ends when the root goes or the page is left.
188
+ - Live values: the app hands its computed numbers to the guide with
189
+ `useSectionGuideValues(key, values)` or `<SectionGuideButton guideKey
190
+ values />`; step `title`/`why` read `ctx.values`. The latest render wins,
191
+ so a page that re-renders mid-guide never leaves an old number. A step
192
+ lists what it uses in `needs` and is skipped while one is missing (also
193
+ when its title comes out empty). `formatBaht`, `thaiMonth`,
194
+ `thaiMonthYear` for the copy.
195
+ - Entry points: `<SectionGuideButton guideKey />` (a small "?" for the
196
+ section header, drawn only while the guide is there for this person) and
197
+ "?" → "อธิบายส่วนนี้ · <title>" for every section guide on screen. Never
198
+ offered by itself, in any mode; not in the panel's list.
199
+ - Progress: one row per section guide per person, `<app>.section.<key>`,
200
+ written once, as page rows. Same switch and audience as page guides.
201
+ - Fix: "ขั้นที่ x/y" no longer counts a click step that passes by itself
202
+ (its outcome already on screen): Plannex's overview said 1/9, then 3/9.
203
+
179
204
  ### 0.1.74
180
205
 
181
206
  Page guides ("คู่มือหน้านี้", guides round 4; authors: