* feat(editor): add setting to turn off spellcheck underlines Add a device-local "Underline spelling mistakes" switch to the editing preferences. The rich-text editor and the mobile plain-text editor now set spellcheck from this preference and update live when it changes. Defaults to enabled, so existing behavior is unchanged. Refs #468 * feat(i18n): add Polish as an in-app locale Add Polish (pl) across clients, mirroring how Japanese was added: - Shared: full pl catalog, locale matching for pl/pl-*, Polish memo templates and factory AI prompts, mobile editor strings, and Polish as an AI translation target and selection-translate chip. - Web: "Polski" in the language picker; the catalog is lazy-loaded in its own i18n-pl chunk and kept out of the PWA precache like ja. - Android: pl locale option, mobile-only strings, web-clip labels. Messages that only had an English branch now use English for every non-Chinese locale, so Japanese no longer falls back to Chinese there. - iOS: .polish UI language (pl-PL), pl argument for every t() call, pl in CFBundleLocalizations and Localizable.xcstrings. - Companion: accepts locale "pl" and detects Polish requests. - Browser extension: _locales/pl messages. - Marketing site: /pl/ pages, hreflang, sitemap, language switcher. - Google Play listing copy for pl-PL (manual publish only). * fix(ios): show the note editor in Polish and Japanese The iOS editor received every interface language except English as Chinese, so with Polish or Japanese selected its toolbar and image gallery controls were labeled in Chinese. Pass Polish and Japanese through to the embedded editor, label its toolbar and the shared image gallery controls in both languages, and rebuild the checked-in EditorBundle. The Android editor uses the same gallery labels. Also translate the last iOS strings that had no Polish text: the follow-system language label, note created/updated times and the current-device marker. Refs #473 * fix(companion): recognize Polish typed without diacritics Requests in Latin letters without Polish diacritics were always treated as English, so with a Polish interface "Napisz plan na jutro" got an English reply. With a Polish interface, such text is now told apart by common English and Polish words; when it is still unclear, the recent conversation and then the interface language decide. Other interface languages keep treating Latin text as English. Refs #473 * chore(ios): regenerate the Xcode project for Polish Run xcodegen so the shipped Info.plist lists Polish in CFBundleLocalizations and the project knows the pl region. The hand-written AiDirectStream.swift entries are replaced by the IDs xcodegen generates. MARKETING_VERSION and CURRENT_PROJECT_VERSION stay in the project file because the release script and Xcode Cloud update them there. Refs #473 * i18n(pl): translate the sidebar shortcut, desktop menus and video scope Add Polish for features that reached main while this branch was open: the show/hide sidebar shortcut label, the desktop application and editing context menus, and the new "ai:generate" MCP scope. The desktop menus switch to Polish for pl and pl-* locales; other locales are unchanged. Refs #473
EdgeEver Desktop
The desktop application deliberately reuses the Web renderer from apps/web.
Electron owns the window and OS lifecycle; the Rust sidecar owns local SQLite
and native data services. The renderer never receives Node.js access.
Development prerequisites:
- Bun dependencies installed with
bun install - Rust toolchain (
cargo) installed - Web dev server available at
http://127.0.0.1:5173 - Debug sidecar built at
crates/desktop-sidecar/target/debug/edgeever-sidecar
Run the shell with:
bun run dev:desktop
The sidecar can be overridden for development with
EDGE_EVER_SIDECAR_PATH=/absolute/path/to/edgeever-sidecar.
App icon (macOS Dock)
Dock tiles need a complete multi-resolution .icns (including 1024px). Do not
point electron-builder at a lone 512 PWA PNG — that produces a thin icon pack
and macOS can show a blank Dock placeholder forever after installs.
Regenerate committed icon assets after changing the brand mark:
bun run prepare:desktop:icons
This writes apps/desktop/assets/icon.icns (full ICNS), icon.png (1024
master), and the macOS menu-bar template icons from the brand mark.
Packaging validation rejects incomplete ICNS types. Runtime also calls
app.dock.setIcon as a Launch Services / Dock cache fallback.
Preview the committed icon at its real Dock size without starting EdgeEver:
bun run preview:desktop:icon
The temporary preview stays in the Dock until you quit it from the icon's context menu.
Build an unsigned installer for the current platform with:
bun run prepare:desktop:icons
bun run build:web
bun run build:desktop:sidecar
CSC_IDENTITY_AUTO_DISCOVERY=false bun run --cwd apps/desktop dist -- --publish never
The resulting DMG, ZIP updater package, NSIS installer, or AppImage is written
under release/desktop. Formal macOS Releases contain separate arm64 and
x64 DMGs; each package includes a Rust sidecar compiled for the same
architecture. The CI workflow accepts optional signing secrets:
On macOS, users can double-click EdgeEver in the mounted DMG and choose
Install and Launch. The app moves itself to Applications, relaunches the
installed copy, and ejects any mounted EdgeEver installer images so macOS does
not retain duplicate file-association entries. Dragging the app to
Applications remains supported; launching the installed copy also performs
the installer-image cleanup.
EDGEEVER_MAC_CERTIFICATE_BASE64andEDGEEVER_MAC_CERTIFICATE_PASSWORDEDGEEVER_APPLE_ID,EDGEEVER_APPLE_APP_SPECIFIC_PASSWORD, andEDGEEVER_APPLE_TEAM_IDEDGEEVER_WINDOWS_CERTIFICATE_BASE64andEDGEEVER_WINDOWS_CERTIFICATE_PASSWORD
When these secrets are absent, CI produces unsigned verification artifacts. Private signing material is never committed to the repository.
The workflow keeps workflow_dispatch builds as non-publishing verification
runs. When a GitHub Release is published, the workflow first compares it with
the previous formal Release. It rebuilds and publishes the installer through
electron-builder only when Electron, the Rust sidecar, native dependencies,
packaging configuration, or desktop build tooling changed. Web-only Releases
reuse the previous verified macOS DMGs and updater metadata, Windows Preview
installer, and Linux Preview AppImage without renaming them, so native runners
and signing pipelines are not scheduled unnecessarily.
Formal Releases also contain a Linux x64 AppImage Preview built on Ubuntu
22.04. The workflow verifies the Electron and Rust ELF architectures, caps the
sidecar requirement at glibc 2.35, runs the packaged sidecar integration suite,
performs an Xvfb first-launch smoke test, and publishes a matching
SHA256SUMS-linux.txt and latest-linux.yml. Linux Preview releases must pass
a real AppImage-to-AppImage automatic update through the cross-version gate. See
docs/linux-preview.md.
The desktop Settings page exposes the sidecar's local backup list. Restoring a backup creates an additional protective backup first, restores the SQLite database in place, restores the staged offline attachment directory when the snapshot contains one, applies any newer migrations, and reloads the workspace.
Packaged macOS builds also expose Settings → Advanced → Clear local data. After an explicit destructive confirmation, EdgeEver stops the local sidecar, removes every account's local SQLite data, unsynced queue, offline attachments, caches, backups, settings, and sign-in state, then relaunches into first-run setup. Server data and files exported outside the app data directory are never removed by this action.
Local SQLite data, backups, staged attachments, and resource cache are scoped by the configured instance and authenticated user. Existing pre-scope data is migrated to the first authenticated account that opens the upgraded desktop app.
On Unix-like systems the sidecar also enforces private permissions for its data directory (0700) and SQLite/backup files (0600); Windows uses the platform's user-data ACLs.
On startup the sidecar receives the repository migrations/ directory and
applies unapplied SQL files into the per-user SQLite database. Migration files
are never copied into the user data directory or modified in place.
Main-process diagnostics are written to userData/logs/desktop.log and rotate
at 5 MiB, retaining one .1 archive so long-running installations cannot grow
logs without bound.
If the sidecar exits unexpectedly, Electron records the exit and retries it with exponential backoff (up to 30 seconds). Intentional shutdowns and account or instance switches stop the process without scheduling a restart.