Skip to content

feat: Settings, i18n, Table of Contents & bug fixes#11

Open
sasbucha wants to merge 1 commit into
BOSSincrypto:init-mainfrom
sasbucha:feat/settings-i18n-toc
Open

feat: Settings, i18n, Table of Contents & bug fixes#11
sasbucha wants to merge 1 commit into
BOSSincrypto:init-mainfrom
sasbucha:feat/settings-i18n-toc

Conversation

@sasbucha

Copy link
Copy Markdown

Summary

This PR adds several new features and fixes multiple bugs:

New Features

  • Settings panel - Language, theme, font size, spellcheck, auto-save options
  • i18n system - English and Russian translations with extensible architecture
  • Table of Contents - Navigation component for heading-based document navigation
  • Search plugin - Editor search functionality
  • Recent files/folders - Persistent history in electron main process
  • Auto-update check - GitHub API-based version checking

Bug Fixes

  • Menu bar keyboard shortcuts now registered globally
  • Unsaved changes warning (beforeunload handler)
  • Theme syncs with OS preferences on first launch
  • Dead menu items now functional
  • Fixed closeTab dependency array issue
  • Cleaned up unused FileData interface and _event parameter
  • Added standard keyboard shortcuts (Ctrl+S, Ctrl+W, Ctrl+O)

Files Changed

  • 22 files changed, 2087 insertions, 217 deletions
  • New: Settings, i18n, TableOfContents, searchPlugin
  • Modified: App.tsx, electron/main.ts, electron/preload.ts, and multiple components

- Add Settings component with language, theme, font size, spellcheck, auto-save options
- Add i18n system with English and Russian translations
- Add Table of Contents component for heading navigation
- Add search plugin for editor
- Fix menu bar keyboard shortcuts and handlers
- Fix unsaved changes warning (beforeunload)
- Fix theme sync with OS preferences
- Fix dead menu items (Preferences, Shortcuts, DevTools, Zoom, Fullscreen)
- Fix closeTab dependency array issue
- Clean up unused FileData interface and _event parameter
- Add standard keyboard shortcuts (Ctrl+S, Ctrl+W, Ctrl+O)
- Add recent files/folders support in electron main process
- Add auto-update check via GitHub API
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.

1 participant