@ai4b-team/fsaos-gateway-sdk 3.36.0 → 3.37.0

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
@@ -319,3 +319,22 @@ and reconciles through the existing coalesced arrangement refresh. No polling,
319
319
  item reads or parent changes are involved. For paged collections, apply ordering
320
320
  in the backend before pagination; this hook does not discover Project folders
321
321
  or provide that paged read contract.
322
+
323
+ ### Personal sidebar Sections
324
+
325
+ `usePersonalSections(contextId, 'channels' | 'chats' | 'projects')` reads personal
326
+ reference groups. Use a Space ID for channels/projects or a channel ID for chats.
327
+ The hook returns `sections`, `ready`, `change`, `destination`, and loading/error
328
+ state. `change` supports create, rename, delete, assign, remove and reorder
329
+ operations; it preserves canonical item locations. Supply a stable client UUID
330
+ for `section_id` on create so a retry cannot create a duplicate Section.
331
+
332
+ Capture `destination(sectionId)` before starting a new channel or chat, then call
333
+ `assignPersonalSection(destination, savedItemId)` once the canonical item has
334
+ been saved. Retry that filing separately from creation/sending. The captured
335
+ Space and context isolate late results after navigation. Versioned snapshots
336
+ prevent late responses from replacing newer organization; refresh uses existing
337
+ coalesced item-change events and reconnects, with no polling.
338
+
339
+ Requires the `personal-sections` kernel method from migration `0793523446ad`.
340
+ Projects are protocol-ready; a consumer must supply its Project UI separately.