Skip to content

Conversation

@markbang
Copy link
Owner

@markbang markbang commented Jan 13, 2026

Summary by cubic

Refactored the editor and file UI to use domain stores with native persistence and unified UX feedback. State is now predictable, autosave and view modes are supported, and settings/workspace persist across restarts.

  • New Features

    • Added Zustand stores: editor, workspace, settings, and UI with typed selectors.
    • Persisted settings, current folder/file, and recent files via Tauri plugin-store and new commands.
    • Unified feedback with native dialogs and Sonner toasts (UXFeedback).
    • Keyboard shortcuts via react-hotkeys-hook.
  • Refactors

    • Rewrote WritingArea and FileArea to use the new stores and simplify state.
    • Improved file read/write flow, loading states, and error handling; guarded settings load during SSR.
    • Simplified app/page layout and removed ad-hoc UI state; aligned Tauri store modules and removed redundant Rust types (kept RecentFile).
    • Added dependencies: zustand, react-hotkeys-hook, @tauri-apps/plugin-store.

Written for commit 72dde53. Summary will update on new commits.

@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@markbang markbang merged commit da9e02b into main Jan 13, 2026
8 checks passed
@markbang markbang deleted the refactor/ui_ux_mention branch January 13, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants