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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Third focused PR after #163 and #164. No README changes.
enhanceSavehandling.No new dependencies, services or configuration schema. The Shiki import-warning cleanup remains separate. Archive edits and all README files are excluded.
Verification
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.