- Shipped
- September 3, 2026 at 12:25 AM UTC
- Author
- Kamo
- Commit
- a206879
Four reported problems, one of them destructive. COLLAPSING A PART DESTROYED IT. Collapse UNMOUNTED the editor, and KbArticleEditor is seeded once from a value frozen at mount — empty, for a part just written — so expanding brought back a blank editor and everything typed was gone. That frozen seed is deliberate; it is what stops Lexical's re-serialisation on load from reporting an untouched script as edited. Both behaviours are correct and together they lose data. Collapse now hides the editor with display:none and never unmounts it, so the instance keeps its own state and nothing else has to be right for the text to survive. A DIALOG WAS THE WRONG SHAPE. Writing a script is work you come back to, not a decision you confirm and dismiss, so it is now a screen inside the settings layout with a back arrow, replacing the list in place and returning to it. The page keeps its chrome and its scroll position. THE NAME DID NOT LOOK LIKE A FIELD. It was borderless placeholder text, so nothing said it was editable, let alone that it was the required field greying out Create script. Name, description and market are now labelled fields with help text, and the name reports its own error on blur rather than silently disabling the button. PARTS NO LONGER CARRY A NAME. It was one more required-looking field for no gain — the reader labels each checkbox by position anyway, so the composer now numbers them the same way. The heading column stays on the entity and is sent as null; dropping it is a schema change this does not need.