Commit Graph

403 Commits

Author SHA1 Message Date
Charlie
cfa90139b4 enhance(plugins): custom block renderer (#12533)
* enhance(plugins): add block properties and block renderers with conditional rendering

* chore(libs): bump version

* enhance(docs): update Experiments API guide with detailed usage examples and best practices

* enhance(ui): implement plugin renderer effects and enhance action bar visibility

* enhance(plugin): improve router refresh mechanism for dynamic plugin routes

* chore(libs): rename development notes and add SKILL.md for plugin SDK

* enhance(plugin): enhance PluginLogger with structured log entries and UI for viewing logs

* fix: lint

* Update src/main/frontend/components/block.cljs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/main/frontend/handler/plugin.cljs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/main/frontend/handler/plugin.cljs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update libs/src/modules/LSPlugin.Experiments.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/main/frontend/handler/plugin.cljs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* enhance(plugin): add rich text interpolation to i18n translation

* fix: lint

* fix: lint

* fix: remove unnecessary newlines and clean up code formatting

* fix: lint

* fix(libs): incorrect entry path for js mode

* enhance(docs): add custom theme plugin guide and update SKILL.md

* enhance(plugin): add 'open logs' option in multiple languages

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-28 15:17:55 +08:00
Mega Yu
7c7f523cdb update i18n 2026-04-23 18:03:11 +08:00
Tienson Qin
da78094cb8 fix(electron): warn on x64 release on Apple Silicon 2026-04-22 18:41:49 +08:00
eliovir
1da2104f1e Update fr.edn (#11077)
Typography
2026-04-21 17:26:30 +08:00
Mega Yu
59e599ec9f refactor(i18n): refine naming standard and skill, sync review/dev workflow, and align related keys 2026-04-18 16:55:00 +08:00
Mega Yu
1f29696e7c feat(i18n): update translation strings 2026-04-17 22:34:59 +08:00
Mega Yu
92681111b6 Merge branch 'master' into enhance/i18n 2026-04-17 10:35:36 +08:00
Gabriel Horner
eb1d921d5d enhance: add block context menu option to open an asset file
Addresses 2nd issue in https://github.com/logseq/db-test/issues/792
of not being able to download an asset that doesn't have a special
block view
2026-04-16 15:57:39 -04:00
Mega Yu
950b4d36ae Merge 'master' into enhance/i18n 2026-04-16 15:30:25 +08:00
Mega Yu
df2890396f fix(i18n): replace pseudo-translations copied from English across locales 2026-04-16 12:18:19 +08:00
Mega Yu
620fbadca2 chore(i18n): remove common ui label from dicts 2026-04-16 11:37:06 +08:00
Mega Yu
0c6d08acd9 fix(i18n): replace copied English locale entries with real translations 2026-04-16 11:25:34 +08:00
Gabriel Horner
eadad9df45 enhance: improve wording on recycle related ux
- Update confirmations so that tag and property are clearly explained as
  permanently deleted
- Deleted page/delete-confirmation non-en translations since the text
  has changed
2026-04-15 17:18:10 -04:00
Mega Yu
230a2b8296 Merge master into enhance/i18n 2026-04-15 22:30:34 +08:00
Mega Yu
64700e6c01 refactor(i18n): move reserved character warnings to validation section 2026-04-15 22:12:30 +08:00
Mega Yu
e6fbf5a828 add bb lang:format-dicts 2026-04-15 21:27:53 +08:00
Mega Yu
5598ac1287 keep developer-only English labels outside i18n scope 2026-04-15 20:48:34 +08:00
Mega Yu
91182d8fc6 improve i18n 2026-04-15 10:17:55 +08:00
Mega Yu
43cc74c097 add missing command text in i18n dict 2026-04-14 17:47:49 +08:00
Mega Yu
a678ba1fc8 refactor(i18n): remove unused keys 2026-04-14 12:07:12 +08:00
Mega Yu
69b7a0e893 improve i18n 2026-04-13 14:39:53 +08:00
Tienson Qin
0fc0bb8cef Rename logseq cloud to sync 2026-04-13 13:01:30 +08:00
hoellen
8997638e5b Custom Sync Server URL (#12459)
* Add custom sync server

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-13 13:00:19 +08:00
Mega Yu
7522b53b6a feat(i18n): remove trailing spaces in update-available messages across multiple locales 2026-04-10 22:03:57 +08:00
Mega Yu
2306464e94 feat(page): improve error screen layout and styling for better user experience 2026-04-10 20:13:17 +08:00
Mega Yu
066514f545 feat(i18n): always show hint in cmdk and add translations for apply theme action 2026-04-10 18:40:35 +08:00
Mega Yu
35416905ee improve i18n 2026-04-10 16:36:13 +08:00
Mega Yu
3ac92e7485 improve i18n 2026-04-10 14:39:29 +08:00
Mega Yu
c8a13cb70a improve i18n 2026-04-09 22:29:39 +08:00
Mega Yu
65180f911c remove unnecessary i18n key 2026-04-09 19:40:24 +08:00
Mega Yu
434bac5aee change i18n key 2026-04-09 17:09:08 +08:00
Mega Yu
de1a7a9c6e enhance i18n 2026-04-09 16:22:42 +08:00
Mega Yu
7f0b36e057 enhance i18n 2026-04-09 10:11:14 +08:00
Tienson Qin
82e13b6989 feat(dev): export client-ops sqlite from db worker 2026-04-09 03:28:05 +08:00
Mega Yu
3c0cb80cfc i18n built-in-properties 2026-04-08 10:43:15 +08:00
Mega Yu
e9d3c8da00 enhance i18n 2026-04-08 09:32:18 +08:00
Mega Yu
6153078342 enhance i18n 2026-04-05 17:06:46 +08:00
Tienson Qin
0e3a3aabf7 add command to debug graph checksum 2026-03-30 17:05:11 +08:00
Charlie
cdab06f984 enhance(ux): set icon within the block context menu (#12458) 2026-03-26 20:41:34 +08:00
Tienson Qin
33b2bc0c14 chore: remove unused dict 2026-03-13 20:59:00 +08:00
scheinriese
1cd7cad8ae feat(shortcut): tiered prefix-conflict banners and cross-handler detection
Prefix conflicts (chord shortcuts that go dormant when a simple key
shadows their leading stroke) are now shown as amber warnings instead
of red blocking errors.  Exact-match conflicts remain red with
Reassign.

Key changes:
- Extend binding-match? from same-handler? to handler-match? so
  cross-handler prefix overlaps between co-active handlers are detected
- Add partition-conflicts-by-type and conflict-has-exact? helpers in
  data_helper to split conflicts into exact vs prefix sub-maps
- Three-way debounce in shortcut dialog: exact → red blocking,
  prefix-only → amber auto-save with undo, mixed → stacked banners
- Widen Closure error catch to handle both chord-prefix conflict
  directions ("shortcut: null" and "shortcut: <id>")
- Add CSS color override for undo link inside amber warning banner
- Add i18n keys: deactivates-chord, deactivates-chords
- Add tests for partition-conflicts-by-type and cross-handler detection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 20:45:58 +08:00
scheinriese
972cd1385c Address remaining should-fix items from pr-review
- Extract use-scoped-key-handler hook to deduplicate KeyHandler lifecycle
  boilerplate between filter and customize popovers
- Add bubble-phase event blocker to prevent modifier combos (Cmd+K, Cmd+C)
  from triggering global actions during shortcut recording
- Clamp global-listener-refcount to zero on cleanup for React strict mode
- Log shortcut-press animation errors instead of silently swallowing them
- Remove 5 orphaned i18n keys from old UI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 20:45:58 +08:00
scheinriese
c3df1d857d Internationalize all hardcoded English strings in shortcut redesign
Replace 24 hardcoded English UI strings with (t :keymap/...) translation
calls and add corresponding keys to en.edn. Thread a :chord-separator
prop through the shui shortcut component so chord sequence "then" text
is translatable without adding i18n awareness to the presentation layer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 20:45:58 +08:00
Charlie
1b0db68098 enhance(ux): align for the image asset block container (#12425)
* feat(asset): add alignment options for images
* enhance(ux): select block for the action of double click in the image asset container
* enhance(asset): change alignment property type from string to keyword and normalize alignment handling
2026-03-12 11:18:51 +08:00
Tienson Qin
daf7fc1475 enhance: p r to add emoji reaction 2026-02-12 23:03:28 +08:00
ibs-allaow
3d5758e9b0 i18n: Add comprehensive initial Arabic translation (ar.edn) (#12337)
* Create ar.edn

* Update ar.edn

* Update dicts.cljc

* Update dicts.cljc

* Add Arabic Translation

Upload the Arabic language file after translation

* Refactor language dictionaries and remove duplicates

* Update dicts.cljc

* Remove nested commands from ar.edn

Removed nested commands for PDF and editor functionalities from the Arabic dictionary file.

* Fix errors related to keys in "commands" brackets

The keys were moved from inside the "commands" brackets to outside them, with the keys syntax corrected by adding "command." to each key that was inside the brackets.

* Update ar.edn

Fixing an error where the translation matches the English language file.

* Clean up deprecated translation keys

* Update ar.edn

* Create build-linux.yml

* Delete .github/workflows/build-linux.yml
2026-01-28 11:22:02 -05:00
Gabriel Horner
c77ccc8827 fix: remove org mode everywhere except graph-parser 2026-01-22 13:19:58 -05:00
Gabriel Horner
a6c3569ea3 fix: remove most file-graph references from frontend and electron
- Remove references to old files under logseq/ e.g.
  logseq/version-files
- Remove flashcard commands and translations that applied to file graph flashcards
- Remove unused electron and frontend events
- Remove timetracking config which was for file graphs
2026-01-22 13:19:58 -05:00
Gabriel Horner
ab137a962a fix: remove file graph imports
Remove mention of removed JSON import in descriptions. Also mv frontend.util.fs
to where they are used instead of keeping an outdated file ns
2026-01-22 13:19:58 -05:00
Gabriel Horner
6312f8236a fix: remove file graph :block/file and dependent code
Also remove all file graph references in publishing and
add back publishing.db tests with db graph.
Also remove file graph behavior for cmd-k and files
2026-01-22 13:19:57 -05:00