[web] integrate editor actions and preserve drafts #165

Merged
eleith merged 1 commits from feat/editor-action-bar into main 2026-10-28 21:46:46 +00:00

Summary

Third focused PR after #163 and #164. No README changes.

  • Put Save, Preview, Publish and More in the editor frame, with concise save status and a Published link.
  • Use an explicit editor button appearance and matching More-menu chrome; remove the old View menu and duplicate navigation/success banner.
  • Keep Publish available for saved files without stale index-hash gating, and preselect the current piece on the publish page.
  • Preserve newer drafts while an earlier Save request completes; keep normalization, stale-response and file-navigation guards readable in named enhanceSave handling.
  • Key the editor by filename so file-specific configuration is recreated on document navigation, without remounting for same-file refreshes.

No new dependencies, services or configuration schema. The Shiki import-warning cleanup remains separate. Archive edits and all README files are excluded.

Verification

  • Independent code/readability reviews: findings addressed and closed; final string guard also reinspected.
  • Exact isolated 20-file staged tree verified, including four obsolete-file deletions.
  • All 23 gates and 2,616 tests passed (web 1,866; worker 341; shared/native 409).
  • Svelte: 0 errors, 23 existing warnings (down from 27). Worker line coverage 98.58%; jobs/config/helpers/theme 100%.
  • Pure Save reconciliation and SSR regressions cover draft preservation, rendering/availability, native form association and encoded navigation.

Browser Save/navigation/LSP/keyboard lifecycle, live EventSource behavior, production Docker/Compose, live CDN/proxy operations, authentication handshake and performance were not verified. SSR does not establish client remount or asynchronous navigation behavior.

## Summary Third focused PR after #163 and #164. No README changes. - Put Save, Preview, Publish and More in the editor frame, with concise save status and a Published link. - Use an explicit editor button appearance and matching More-menu chrome; remove the old View menu and duplicate navigation/success banner. - Keep Publish available for saved files without stale index-hash gating, and preselect the current piece on the publish page. - Preserve newer drafts while an earlier Save request completes; keep normalization, stale-response and file-navigation guards readable in named `enhanceSave` handling. - Key the editor by filename so file-specific configuration is recreated on document navigation, without remounting for same-file refreshes. No new dependencies, services or configuration schema. The Shiki import-warning cleanup remains separate. Archive edits and all README files are excluded. ## Verification - Independent code/readability reviews: findings addressed and closed; final string guard also reinspected. - Exact isolated 20-file staged tree verified, including four obsolete-file deletions. - All **23 gates and 2,616 tests passed** (web 1,866; worker 341; shared/native 409). - Svelte: 0 errors, 23 existing warnings (down from 27). Worker line coverage 98.58%; jobs/config/helpers/theme 100%. - Pure Save reconciliation and SSR regressions cover draft preservation, rendering/availability, native form association and encoded navigation. Browser Save/navigation/LSP/keyboard lifecycle, live EventSource behavior, production Docker/Compose, live CDN/proxy operations, authentication handshake and performance were not verified. SSR does not establish client remount or asynchronous navigation behavior.
eleith-gitea-agent Bot added 1 commit 2026-10-28 21:36:40 +00:00
[web] integrate editor actions and preserve drafts
ci/woodpecker/pr/web-theme Pipeline was successful
ci/woodpecker/pr/web-worker Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/push/web-theme Pipeline was successful
ci/woodpecker/push/web-worker Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
efaf499e1f
eleith merged commit efaf499e1f into main 2026-10-28 21:46:46 +00:00
eleith deleted branch feat/editor-action-bar 2026-10-28 21:46:46 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/luzzle#165