Changeset 0.31.0 (#203)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit is contained in:
39
CHANGELOG.md
39
CHANGELOG.md
@@ -1,5 +1,44 @@
|
||||
# Changelog
|
||||
|
||||
## [0.31.0] — 2026-03-18
|
||||
|
||||
### Summary
|
||||
|
||||
Editor package: the code editor surface is now an installable `.pkg`
|
||||
file (type `full`, tier `browser`). Zero platform special-casing —
|
||||
validates the entire v0.28.7–v0.30.2 extension stack. The editor
|
||||
package lives in `packages/editor/` and is installed via admin UI
|
||||
upload. Core editor surface, template, CSS, JS, and data loader removed.
|
||||
|
||||
### New
|
||||
|
||||
- **Editor `.pkg`** — `packages/editor/` contains `manifest.json`,
|
||||
`js/main.js`, and `css/main.css`. Type `full`, tier `browser`.
|
||||
JS-only rendering replaces server-rendered Go template partials.
|
||||
Dynamic script loading for CodeMirror bundle and ChatPane.
|
||||
Route: `/s/editor?ws=<id>`.
|
||||
- **Editor settings** — manifest declares `font_size`, `tab_size`,
|
||||
`word_wrap` settings configurable via admin packages UI.
|
||||
- **UI state persistence** — open tabs, active tab stored in
|
||||
localStorage per user per workspace (debounced 2s save).
|
||||
- **E2E tests** — `crud/editor-package.js` — install, type/tier
|
||||
verification, settings CRUD, export/import round-trip, core
|
||||
removal verification.
|
||||
|
||||
### Removed
|
||||
|
||||
- `surface-editor` Go template (`server/pages/templates/surfaces/editor.html`)
|
||||
- `editor-surface.js` and `editor-surface.css` (replaced by package assets)
|
||||
- `EditorPageData` struct and `editorLoader` function
|
||||
- Hardcoded `/editor` sidebar link (now rendered by extension nav loop)
|
||||
- `/editor` nginx location rule (served via `/s/editor`)
|
||||
- Editor entry from `registerCoreSurfaces()` and `extensionNavItems()` skip
|
||||
|
||||
### Changed
|
||||
|
||||
- `SeedSurfaces()` now cleans up the old editor core surface row to
|
||||
prevent broken nav links before the package is installed.
|
||||
|
||||
## [0.30.2] — 2026-03-18
|
||||
|
||||
### Summary
|
||||
|
||||
Reference in New Issue
Block a user