Commit Graph
11688 Commits
Author SHA1 Message Date
DarkSky bc511a18bf feat(server): add canary shell routing and document render caching 2026-11-25 07:30:43 +09:00
DarkSky 09b2a9b244 feat(hosts): add web, iOS, and Android hosts with local storage bridges 2026-11-25 07:30:43 +09:00
DarkSky a498902617 feat(mobile): add the mobile shell, explorer, and accessibility tree 2026-11-26 02:04:47 +09:00
DarkSky afcdcfbb42 feat(desktop): add the desktop workbench, sidebar, split view, and settings 2026-12-01 18:36:53 +09:00
DarkSky 4ca3a015a5 feat(playground): add the editor playground, harness binaries, and preview workers 2026-11-22 04:26:28 +09:00
DarkSky f7186ba30c feat(preview): add the offline math, Mermaid, Typst, and PDF preview kernel 2026-11-25 09:50:24 +09:00
DarkSky af5854198a feat(editor): add page block flow, rich text input, tables, and databases 2026-11-22 22:51:12 +09:00
DarkSky 6fcec40f46 feat(edgeless): add the canvas surface, connectors, mindmaps, and visual oracles 2026-11-22 06:42:55 +09:00
DarkSky 29b1047de0 feat(store): add the local-first document store, sync client, and legacy import 2026-11-22 04:26:28 +09:00
DarkSky e1afe8d2bb feat(ui): add the GPU layout, text, and window engine with a shared UI kit 2026-11-22 04:26:28 +09:00
DarkSky 5f8f0879ad feat(tokens): add semantic theme tokens, fonts, and icon assets 2026-11-22 06:42:55 +09:00
DarkSky 0c28eb868e ci(workflows): add native playground server lanes and rollout docs 2026-11-23 04:55:39 +09:00
DarkSky c574d4911e test(parity): freeze v0.27.5 server contracts and align cloud E2E fixtures 2026-11-23 04:39:59 +09:00
DarkSky b41ab955c4 refactor(server): isolate the v0.27.5 compatibility layers 2026-11-23 06:07:53 +09:00
DarkSky 16959a422a feat(server): add server-http routes and affine-server roles 2026-11-23 06:56:25 +09:00
DarkSky f507532be6 feat(server): add the server-sync realtime gateway 2026-11-23 15:12:26 +09:00
DarkSky c9ecc38680 feat(server): add the server-search runtime 2026-11-24 22:31:13 +09:00
DarkSky 5cee812525 feat(server): add server-blob storage and server-worker maintenance jobs 2026-11-23 06:56:25 +09:00
DarkSky 3b384e0a9c feat(server): add server-spi, domain, and mail services 2026-11-23 06:56:25 +09:00
DarkSky 9c88c89b56 feat(server): add server-types with hybrid licenses and server-db storage 2026-11-23 06:07:53 +09:00
DarkSky 0e26d7f5a5 build(server): add the backend workspace, static gates, and test database harness 2026-11-23 04:55:39 +09:00
DarkSky d040474f7a chore(repo): add agent rules and the STE writing skill 2026-11-23 04:55:39 +09:00
CommaBotandDarkSky c4f227a1d2 ci: remove obsolete setup-sentry action (#16053)
Remove the unused `.github/actions/setup-sentry` action and its steps in
`release-mobile.yml` and `release-desktop.yml`.

Homebrew now rejects `getsentry/tools/sentry-cli` after its rename to
`sentry`. AFFiNE never calls global `sentry-cli`. Bundler plugins
resolve the locked binary from `node_modules/@sentry/cli-*`.

Co-authored-by: DarkSky <darksky2048@gmail.com>
v0.27.5-beta.5
2026-12-05 14:32:03 +08:00
Pavle ProdanovicandDarkSky 6a1f61acc9 fix(server): send low reasoning effort for gemini edit actions (#16049)
Closes #16048

- Set `"reasoningEffort": "low"` on the 8 built-in one-click edit
prompts in `built-in.json` so default-thinking models (such as
`gemini-4-hydrogen`) avoid `high` thinking latency and cost on short
text edits, while keeping the 7 text-generation prompts on model
defaults.
- Upgrade `llm_adapter` to `0.4.2`, parse `reasoningEffort` inside Rust
`prompt_catalog.rs` (stripped from exported TypeScript prompt specs),
and apply `ReasoningConfig::default_only_effort` inside
`copilot/dispatch.rs` when explicit user reasoning is absent.
- Simplify `byok/probe.rs` to use
`ReasoningConfig::default_only_effort("minimal")` and align
`model_registry.rs` tests with the active `0.4.2` catalog.

---------

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-12-04 13:02:36 +00:00
CommaBotandDarkSky b4b78cb0fd fix(mobile): recover quota errors and clear deleted account sessions (#16047)
Show a retry state in mobile storage settings when quota queries fail.
Clear native auth sessions and cookies after account deletion so the
next sign-in starts fresh. Use an adaptive card background for iOS
onboarding role cards in dark mode.

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-12-03 19:01:07 +00:00
CommaBotandDarkSky a269b1f9b0 fix(server): raise BYOK probe token budget and bound Gemini thinking (#16046)
Raise the BYOK probe `max_tokens` limit to `1024` for chat, tool
calling, and structured checks. Set minimal reasoning effort on
reasoning-enabled Gemini models so thinking tokens do not exhaust the
output budget.

Closes #16043

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-12-03 10:51:50 +00:00
Orcaandkaventro 6e3acaebc1 fix(i18n): show relative time without a minus sign (#16038)
Fall back from `narrow` to `short` in `i18nTime` when
`Intl.RelativeTimeFormat` outputs a leading minus or plus sign, fixing
negative relative times in French, Norwegian, Russian, and Swedish
without hard-coding locales.
Allow doc list date columns to expand from 60px to 96px so longer
localized relative times are not truncated.

Fixes #12753

Co-authored-by: kaventro <301901286+kaventro@users.noreply.github.com>
2026-12-03 10:04:23 +00:00
yuki.k 6e811e790c chore(i18n): fill missing Japanese strings (439 keys) (#16014)
Fill all 439 missing Japanese translations in
`packages/frontend/i18n/src/resources/ja.json` while keeping key order
aligned with `en.json` and leaving existing translations unchanged.
2026-12-03 09:02:05 +00:00
James Du 694b4ea387 fix(i18n): add the missing Russian, Ukrainian and Polish plural forms (#16011)
Add missing `_few` and `_many` plural forms in `pl`, `ru`, and `uk` for
`com.affine.tags.count`, `com.affine.delete-tags.count`,
`com.affine.page.toolbar.selected`, `com.affine.tag.toolbar.selected`,
and `com.affine.collection.toolbar.selected`.
Fix stray `<b>` tags in Ukrainian
`com.affine.tag.toolbar.selected_other` and
`com.affine.tag.toolbar.selected_others`.
2026-12-03 08:26:31 +00:00
CommaBotandDarkSky 012630ab79 fix(server): split oversized embedding chunks and fix progress counts (#16005)
Split oversized embedding chunks to provider token limits and cap batch
tokens.
Treat provider 4xx input errors as terminal failures and cap repeated
index retries.
Filter ignored documents in sync, worker, retrieval, and progress paths.
Exclude inactive, skipped, failed, and ignored entries from backend
progress counts (#15979).

Closes #15978

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-12-03 05:37:08 +00:00
CommaBotandDarkSky 5b779b42fa fix(core): scope realtime connections per server endpoint (#16008)
- Isolate worker realtime managers per server endpoint and route
frontend realtime calls through `ServerRealtimeService`.
- Show the joined workspace indicator only when `isOwner` is `false`.
- Use the mobile web sign-in panel when the target server differs from
the active native server.

Closes #16007
Closes #14031

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-12-02 03:49:23 +08:00
CommaBotandDarkSky 4e5ed5af8a fix(core): fix self-hosted image proxy and link preview (#16009)
Configure `ImageProxyService` in `AffineLinkPreviewExtension`, make its
URL reactive, and add `crossorigin="anonymous"` to image-proxy images.
Add an Electron `Referer` header for internal `assets://` worker
requests. Normalize custom-scheme and IP origins in
`worker.allowedOrigin`, and allow `x-affine-client-kind` in link-preview
CORS preflight responses.

Closes #14865

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-12-02 03:49:05 +08:00
CommaBotandDarkSky 7e27087a53 fix(mobile): recover native auth refresh after response loss (#15977)
Persist a refresh attempt ID before native token refresh requests on iOS
and Android, and send it in the `x-affine-refresh-attempt` header.
Retain rotated iOS token pairs across transient Keychain write failures,
and forward structured auth error codes from `AuthPlugin`.

Closes #15975

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-30 18:16:06 +00:00
CommaBotandDarkSky 6ba9044458 fix: update broken release notes links (#15974)
Update broken release notes links in `CHANGELOG.md`, `README.md`, and
the app sidebar.

Point `CHANGELOG.md` to GitHub Releases and the new AFFiNE Blog release
notes tag page. Update `README.md` and `RootAppSidebar` to use
`https://affine.pro/blog/tag/release-note`.

Closes #15973

Co-authored-by: DarkSky <darksky2048@gmail.com>
v2026.11.30-canary.907
2026-11-30 06:53:35 +00:00
CommaBotandDarkSky 0cb3eca05f fix(server): handle missing app_configs table and exit CLI on failure (#15972)
Return empty overrides from ServerService.loadDbOverrides on Prisma
P2021 errors in script flavor.

Skip MonitorService cron work in script flavor. Pass abortOnError: false
to NestFactory.createApplicationContext. Call process.exit after runCli
completes so bootstrap failures exit promptly.

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-30 03:42:52 +00:00
CommaBotandDarkSky adefb43588 fix(core): restore sync progress tooltip and remove nested hover (#15971)
Use Tooltip for non-diagnostic sync status in WorkspaceCard so hover
shows sync progress and clicks still open the workspace selector. Pass
withoutHover and tooltip to the diagnostic status Button to prevent
double hover backgrounds.

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-29 20:43:30 +00:00
CommaBotandDarkSky b0fe3c351d fix(mobile): show doc rows before read permission resolves (#15970)
Render mobile navigation doc rows with their local title when `canRead`
is undefined, showing the no-permission row only when `canRead` is
`false` to match the desktop sidebar and avoid permanent `Loading...`
states offline or on transient permission errors.

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-29 19:24:35 +00:00
DarkSky eff11b5174 chore: bump deps (#15969) v0.27.5-beta.4 2026-11-30 01:24:19 +08:00
CommaBotandDarkSky 1d60976245 fix(core): run Option+letter shortcuts outside text input on macOS (#15896)
On the US macOS layout Option+S produces `ß`. The guard from #14866
skips every Alt shortcut whose key is a non-ASCII character, so the
page/edgeless switch never fired there.

The event cannot tell a US user pressing Option+S for the shortcut from
a Polish user typing `ś` with the same keys, so this keys the guard on
the target instead: when the event targets an editable element (input,
textarea, contenteditable) the character is text input and the shortcut
is skipped, as in #14866; anywhere else there is nothing to type and the
shortcut runs.

Note: in page mode the doc root is contenteditable, so with the caret in
the doc Option+S still types `ß`; the shortcut works when focus is
outside text (edgeless canvas, header, sidebar). Fixing it inside text
would mean dropping #14866's protection or changing the binding.

fix #15232

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-29 23:38:05 +08:00
CommaBotandDarkSky 5a38993ac8 fix(editor): move between table cells with Tab (#15908)
Pressing Tab in a table cell called `preventDefault` and did nothing
else, so the cursor stayed in the same cell.

Tab now moves to the next cell and Shift+Tab to the previous one. Both
wrap across rows and stop at the first and last cells.

fix #13915

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-29 23:37:42 +08:00
Orcaandkaventro c0736886d3 fix(editor): keep numbered list order when indenting in edgeless notes (#15968)
Closes #15763.

- Move `correctNumberedListsOrderToPrev` from `affine-block-list` to
`affine-shared/utils` (re-exported from
`@blocksuite/affine-block-list`).
- Call `correctNumberedListsOrderToPrev` in `indentBlock` and
`dedentBlock` so numbered list items and following siblings are
renumbered after indenting or dedenting in edgeless notes.

Co-authored-by: kaventro <301901286+kaventro@users.noreply.github.com>
2026-11-29 14:43:16 +00:00
yuki.kandDarkSky d862d2785d chore(i18n): fill missing Japanese strings (43 keys) (#15966)
Brings `ja.json` in line with `en.json` for the AFFiNE AI chat panel by
adding all 43 missing `com.affine.ai.*` Japanese translations (chat
panel tools, scopes, session deletion, and selected-source errors) and
updating `ja` in `i18n-completenesses.json` from 83 to 84.

---------

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-29 12:52:26 +00:00
James Du 92fa91066c fix(i18n): stop showing blank Norwegian labels and update stale SSRF errors (#15964)
**Blank Norwegian labels.** `nb-NO.json` had 168 keys with empty values
(for example `Publish`, `Link`, `Unpin`, `Disable Public Sharing`).
i18next returns an empty string for those instead of falling back, so
Norwegian users saw blank buttons and labels. This removes the empty
entries so they fall back to English, and updates `nb-NO` in
`i18n-completenesses.json` from 41 to 35.

**Stale SSRF error.** `error.SSRF_BLOCKED_ERROR` still said "Invalid
URL" in ar, de, fr, kk, ur, zh-Hans and zh-Hant. That text predates the
English message "URL blocked by SSRF protection: {{reason}}", so those
users never saw the reason. The current message is now translated in all
seven, including `{{reason}}`.
2026-11-29 09:09:58 +00:00
CommaBotandDarkSky 5488caab6c fix(server): fix payment test flakes, predeploy steps, and large root doc refs (#15962)
- Avoid TIMESTAMPTZ(3) future rounding on `next_attempt_at` and release
`PaymentConnection` locks before returning.
- Align `self-host-predeploy.js` with `package.json` predeploy steps
(`admit-legacy-context-blobs` and `validate-cutover`).
- Share bounded workspace root avatar extraction across `blob_access`
and `doc_blob_refs`.

Co-authored-by: DarkSky <darksky2048@gmail.com>
v2026.11.29-canary.905
2026-11-28 19:06:42 +00:00
CommaBotandDarkSky 9e37f4caa2 fix(server,core): reject legacy space:join, update affine_merge, and normalize GPT model labels (#15961)
Closes #15954
Closes #15937

- Reject legacy `space:join` requests with `UnsupportedClientVersion`
and disconnect the socket.
- Update `affine_merge` to `0.4.1` so markdown updates with repeated
characters succeed.
- Split model display names on whitespace or hyphens so GPT labels
highlight only `GPT`.

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-29 00:16:05 +08:00
CommaBotandDarkSky 90d093f418 fix(server): raise Manticore max_matches and bound cursor offsets (#15958)
Closes #15953

## What changed

- Set `options.max_matches` to `offset + size` in
`translate_search_request` when that sum exceeds 1000.
- Return `nextCursor` from `normalize` only when the page has hits and
the next offset stays below `total`.
- Enforce the 10000 pagination offset limit on offset-based cursors in
`query::compile` using the shared `parse_offset_cursor` helper.
- Keep non-offset cursors and background scan paths unchanged.
- Add table-driven unit tests for `max_matches` sizing, `nextCursor`
termination, and cursor offset bounds.

## Why

Manticore Search keeps 1000 matches per query by default. Requests past
that window return truncated pages or zero hits while reporting the full
`total`. Previously, `normalize` did not check for an empty page. An
empty page returned the same cursor and caused background sweeps to loop
on the same offset.

Raising `max_matches` also allows an external query with a large offset
cursor to request a large match buffer. Checking offset-based cursors in
`query::compile` blocks oversized user requests while keeping background
scans past 10000 rows working.

## Verification

- Model: Gemini 4 Neon
- Test frameworks: `cargo test` (`affine_server_native` search unit
suite, 36 passed), `rustfmt --check`, and a live pagination test against
`manticoresearch/manticore:29.0.2` with 1050 indexed rows.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Search pagination now handles empty and completed result pages more
reliably, avoiding misleading next-page links.
* Cursor offsets and page limits are checked more consistently,
including when values are unusually large.
* **Improvements**
* Searches that need to reach beyond the default result threshold can
now retrieve the requested page.
  * Page limits above 10,000 are rejected.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-28 10:04:02 +00:00
Mehedi Hasan bae99fcecd fix(i18n): correct Persian calendar week day labels (#15948)
## Description

The Persian (`fa`) value of `com.affine.calendar-date-picker.week-days`
was `ش,ی,د,س,چ,ج,ش`. It starts on Saturday (شنبه) and skips Thursday
(پنج‌شنبه). The date picker renders this string as a Sunday-first
header, so every Persian column was labelled with the wrong day:

| Column | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|---|
| Before | ش (Sat) | ی (Sun) | د (Mon) | س (Tue) | چ (Wed) | ج (Fri) | ش
(Sat) |
| After | ی | د | س | چ | پ | ج | ش |

The new value matches the CLDR narrow weekday names
(`Intl.DateTimeFormat('fa', { weekday: 'narrow' })`).

Tests: added `packages/frontend/i18n/src/__tests__/week-days.spec.ts`.
- Every supported locale has 7 week-day labels.
- Locales with single-character labels (`fa`, `ja`, `ko`) match `Intl`'s
narrow weekday names in Sunday-first order. The `fa` case fails on
current canary and passes with this change.

I checked the other non-Latin locales by hand (ar, kk, tr, ur, zh, ru,
uk, el-GR); they are already Sunday-first.

```
yarn vitest run packages/frontend/i18n/src/__tests__/week-days.spec.ts   # 25 passed (fa fails without the fix)
yarn oxlint --deny-warnings packages/frontend/i18n/src/__tests__   # clean
yarn oxfmt --check <changed files>   # clean
yarn tsc -b packages/frontend/i18n/tsconfig.json   # no errors
```

## Checklist

- [x] I have signed the [AFFiNE Contributor License
Agreement](https://cla-assistant.io/toeverything/AFFiNE) — required
before merge; the `license/cla` check must be green ([how it
works](https://github.com/toeverything/AFFiNE/blob/canary/docs/BUILDING.md#sign-the-cla-first))
- [x] The PR targets the `canary` branch and its title follows
[Conventional Commits](https://www.conventionalcommits.org/)
- [x] Tests are added or updated where it makes sense
- [x] `yarn lint` and `yarn typecheck` pass locally (run on the changed
package)
- [x] If the PR code includes AI-generated edits, I have carefully
reviewed it to ensure that the scope of the PR is consistent with what
is claimed in the title and description, and that there are no redundant
or invalid implementations.
- [x] I agree that maintainers may close the PR without discussion if
they consider the code quality to be too low.

This PR was written with AI assistance and reviewed before submitting.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Corrected the weekday labels shown in the Persian calendar date
picker, providing a consistent sequence of day names.
* The updated labels help users identify weekdays more accurately when
selecting a date.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
v2026.11.28-canary.905
2026-11-27 18:38:47 +00:00
Prezsi 5444d929c2 feat(i18n): add Hungarian translation (#15947)
## Description

Adds Hungarian (`hu`) to the supported languages, with all 2,643 keys
translated.

Closes #15926

This replaces #15922, which I opened by mistake before the translation
was finished. Sorry for the noise.

**Changes** (three files, the same shape as the Turkish translation in
#15000):

- `resources/hu.json`: the new translation
- `resources/index.ts`: `hu` in `Language` and `SUPPORTED_LANGUAGES`
- `i18n-completenesses.json`: `hu` at 100

**How it was made and checked:**

- The translation was drafted by machine and revised with AI assistance.
I am a native Hungarian speaker and reviewed the result in the running
app.
- A script checked every key against `en.json`: placeholders, tags,
`$t()` references, line breaks and leading or trailing spaces all match.
- I built it on v0.27.4 and ran it on a self-hosted instance. In
Hungarian I went through the settings, sidebar, doc list, doc
properties, collections, tags, journals, trash, share menu and quick
search.

Some strings stay in English because they are hardcoded rather than in
`en.json`. They are not part of this PR.

## Checklist

- [x] I have signed the [AFFiNE Contributor License
Agreement](https://cla-assistant.io/toeverything/AFFiNE)
- [x] The PR targets the `canary` branch and its title follows
[Conventional Commits](https://www.conventionalcommits.org/)
- [ ] Tests are added or updated where it makes sense
- [x] `yarn lint` and `yarn typecheck` pass locally
- [x] If the PR code includes AI-generated edits, I have carefully
reviewed it to ensure that the scope of the PR is consistent with what
is claimed in the title and description, and that there are no redundant
or invalid implementations.
- [x] I agree that maintainers may close the PR without discussion if
they consider the code quality to be too low.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Added Hungarian as a supported language, with translations across the
interface and a reported translation completeness of 100%.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
v2026.11.27-canary.905
2026-11-26 14:31:42 +00:00
Mehedi Hasan b85148565c fix(editor): keep edgeless selection after middle-click pan (#15946)
## Description

Fixes #15617

After a middle-click pan in edgeless, the selected elements were
deselected.

`PanTool` saved the selection and restored it on pointer up, but it did
so **before** switching back to the previous tool.
`ToolController.setTool` clears the selection (`selection.set({
elements: [] })`), so the restore was always undone. The restore now
runs after `setTool`.

Scope: this covers the middle-mouse-button pan. Holding space to pan
(`edgeless-keyboard.ts`) already restores the selection after `setTool`,
so it is unchanged.

Tests: added a case to `pan-tool.unit.spec.ts` that checks the restore
runs after the tool switch. It fails on current canary and passes with
this change.

```
yarn vitest run --project=@blocksuite/affine-gfx-pointer   # 8 passed (new test fails without the fix)
yarn oxlint --deny-warnings blocksuite/affine/gfx/pointer   # clean
yarn oxfmt --check blocksuite/affine/gfx/pointer/src        # clean
yarn tsc -b blocksuite/affine/gfx/pointer/tsconfig.json     # no errors
```

## Checklist

- [ ] I have signed the [AFFiNE Contributor License
Agreement](https://cla-assistant.io/toeverything/AFFiNE) — required
before merge; the `license/cla` check must be green ([how it
works](https://github.com/toeverything/AFFiNE/blob/canary/docs/BUILDING.md#sign-the-cla-first))
- [x] The PR targets the `canary` branch and its title follows
[Conventional Commits](https://www.conventionalcommits.org/)
- [x] Tests are added or updated where it makes sense
- [x] `yarn lint` and `yarn typecheck` pass locally (run on the changed
package)
- [x] If the PR code includes AI-generated edits, I have carefully
reviewed it to ensure that the scope of the PR is consistent with what
is claimed in the title and description, and that there are no redundant
or invalid implementations.
- [x] I agree that maintainers may close the PR without discussion if
they consider the code quality to be too low.

This PR was written with AI assistance and reviewed before submitting.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

- **Bug Fixes**
- Restored the saved selection when temporary panning ends and the
previous tool is resumed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-11-26 13:33:30 +00:00
ApplesBear-XandDarkSky 73d00e7c28 chore(i18n): fill missing Simplified Chinese strings (158 keys) (#15724)
## What

Brings `zh-Hans.json` in line with `en.json`.

| | before | after |
|---|---|---|
| keys | 2450 | **2608** |
| falling back to English | 158 | **0** |

Also refreshed ~25 entries that still held the English source string.

## Notes

- `{{placeholders}}` preserved verbatim; verified zero placeholder
mismatches across all changed strings.
- JSON only, no code changes.
- **If you sync this file from Crowdin**, just say so and I'll close
this in favour of the Crowdin round instead — I mostly wanted to flag
that Simplified Chinese is currently ~6% behind `en`.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

- **Localization**
- Expanded Simplified Chinese translations for journal labels,
properties, menus, empty states, and the Intelligence workspace.
- Added translations for AI editor tools, BYOK provider and model
settings, mobile settings, and device management.
- Added localized messages for selected-source errors, billing and
purchases, document validation, invitation account mismatches,
authentication, sync, search, and real-time connection failures.
  - Updated existing Chinese labels and descriptions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-26 13:12:16 +00:00