@sanity/workflow-studio-plugin 0.0.0 → 0.1.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/CHANGELOG.md ADDED
@@ -0,0 +1,71 @@
1
+ # @sanity/workflow-studio-plugin
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 325c2d1: Inline field editing reworked around optimistic previews: click-to-edit → click-to-confirm is gone — fields are always-live inputs that preview per keystroke and commit on semantic boundaries (blur / Enter / gesture / unmount), never on a timer. A rejected commit reverts the projection and surfaces a toast. Fields the current stage's expressions read carry a subtle affordance, and when a staged value satisfies a transition filter the field shows a provisional "committing will advance" hint — the consequence signal the confirm click used to provide.
8
+ - 30ed0e8: Notes fields gain a real editor: a notes-shaped array (the `notes` sugar's `{body, actor, at}` rows) renders its log read-only with a textarea + Add arm that appends one full stamped row (`_key`, `body`, the current person as `actor`, `at`) through the edit seam's `append` mode — the engine stamps only a missing `_key` on an edit append, so the plugin supplies the audit columns. Every other array-kind editable field now renders read-only rows instead of the free-text editor, whose string `set` write was a guaranteed shape error. The start dialog routes on the same shape — positively, per sugar: a notes init field seeds one optional stamped opening row through a notes input instead of the todo checklist, whose `{label, status}` rows would have landed silently mis-shaped in the log, and a raw authored `array` (neither sugar) gets the raw JSON input instead of the checklist — unparseable JSON blocks Start, and the parsed text is what the start commits, so checklist rows can no longer land against a foreign declared row shape. Release reads went live: the start gate and the release picker read Studio's release store (`useIsReleaseActive` / `useActiveReleases`) instead of hand-rolled fetch+listen, so an archived release stops being pickable and flips the start gate without a reload — and the gate now blocks while the release store is still loading, where the old hand-rolled read failed open until its fetch returned. Core-layer "no result" values moved from `null` to `undefined` (including `WorkflowEntry.evaluation` and the context lookups); member profile requests URL-encode user ids, and failed field saves log the original error before toasting.
9
+ - 2511bb5: Initial release: the Sanity Studio plugin for `@sanity/workflow-engine` — the form strip, a Workflows document view, stage badges, and the document-action lock.
10
+ - 23cf131: Render the engine's new `subject-permission-denied` disabled reason — the actor lacks write permission on a subject document in that subject's own resource.
11
+
12
+ ### Patch Changes
13
+
14
+ - adf32f7: Studio drains and manual effect completions no longer pin the current Studio user as an actor override — the engine resolves the same identity from the workspace client's token (`/users/me`), so attribution is unchanged and the workaround is gone.
15
+ - 325c2d1: The inline-editing advance hint respects the engine cascade's halt at an unevaluable transition filter: transition selection stops at the first satisfied OR unevaluable filter in declaration order, so a satisfied transition behind an unevaluable one no longer shows a "committing will advance" hint the commit wouldn't perform.
16
+ - 325c2d1: Inline editors no longer lose typed content to the double-fire guard: the notes editor's Add and the action-items add popover check the in-flight guard before clearing, so a submit skipped while another write is in flight keeps the typed text (and the add popover stays open). A free-text field whose commit fails after further typing keeps the newer draft — the failure rolls back only the value that failed.
17
+ - 5143707: `completeEffectFor` types its `status` arg with the engine's exported `EffectCompletionStatus` instead of an inline union — same accepted values, one vocabulary.
18
+ - Updated dependencies [325c2d1]
19
+ - Updated dependencies [4ca17bb]
20
+ - Updated dependencies [5143707]
21
+ - Updated dependencies [0709ab1]
22
+ - Updated dependencies [6bbf3ca]
23
+ - Updated dependencies [9f5a40f]
24
+ - Updated dependencies [d192d68]
25
+ - Updated dependencies [6c21009]
26
+ - Updated dependencies [109f900]
27
+ - Updated dependencies [109f900]
28
+ - Updated dependencies [444b0e6]
29
+ - Updated dependencies [2511bb5]
30
+ - Updated dependencies [d4fd8e6]
31
+ - Updated dependencies [30ed0e8]
32
+ - Updated dependencies [2834704]
33
+ - Updated dependencies [2511bb5]
34
+ - Updated dependencies [2511bb5]
35
+ - Updated dependencies [2511bb5]
36
+ - Updated dependencies [4607d59]
37
+ - Updated dependencies [52f6024]
38
+ - Updated dependencies [a8f1cb9]
39
+ - Updated dependencies [adf32f7]
40
+ - Updated dependencies [adf32f7]
41
+ - Updated dependencies [5cb0850]
42
+ - Updated dependencies [70a136c]
43
+ - Updated dependencies [91540de]
44
+ - Updated dependencies [8455fbb]
45
+ - Updated dependencies [325c2d1]
46
+ - Updated dependencies [d6e92ed]
47
+ - Updated dependencies [6c21009]
48
+ - Updated dependencies [7ffdc77]
49
+ - Updated dependencies [325c2d1]
50
+ - Updated dependencies [7ffdc77]
51
+ - Updated dependencies [ced40e4]
52
+ - Updated dependencies [9b1b40d]
53
+ - Updated dependencies [8c319b2]
54
+ - Updated dependencies [dc64968]
55
+ - Updated dependencies [2834704]
56
+ - Updated dependencies [2511bb5]
57
+ - Updated dependencies [2511bb5]
58
+ - Updated dependencies [9f5a40f]
59
+ - Updated dependencies [325c2d1]
60
+ - Updated dependencies [15337f1]
61
+ - Updated dependencies [23cf131]
62
+ - Updated dependencies [d192d68]
63
+ - Updated dependencies [15337f1]
64
+ - Updated dependencies [2d1a8e1]
65
+ - Updated dependencies [12cdbd6]
66
+ - Updated dependencies [2511bb5]
67
+ - Updated dependencies [437b544]
68
+ - Updated dependencies [114dcae]
69
+ - Updated dependencies [ced40e4]
70
+ - @sanity/workflow-studio@0.7.0
71
+ - @sanity/workflow-engine@0.15.0