Commit Graph

436 Commits

Author SHA1 Message Date
megayu
6df9d43c26 update logseq-i18n-lint (#12527)
* chore: update logseq-i18n-lint binaries to 5cb43a2cc559

* chore: update PR creation to use default branch and repo owner variables

* feat(i18n): add check for missing translations in validation process

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-21 11:11:37 +08:00
Mega Yu
3332972fd9 Merge 'master' into enhance/i18n 2026-04-20 13:24:40 +08:00
charlie
b6e12a263d chore(libs): build cljs sdk with the latest sdk 2026-04-20 12:54:35 +08:00
Mega Yu
007e80d74d enhance(lang): update translation summary to include untranslated count 2026-04-17 11:11:30 +08:00
Mega Yu
81b42a8249 enhance(i18n): add translation summary stats and sorting functions 2026-04-16 16:03:42 +08:00
Mega Yu
b9f08881db feat(util): add utility functions for display width and table rendering 2026-04-16 11:08:00 +08:00
Mega Yu
bf197f9861 feat(lang): add functions for identifying identical translations to English 2026-04-16 11:06:44 +08:00
Mega Yu
e6fbf5a828 add bb lang:format-dicts 2026-04-15 21:27:53 +08:00
Mega Yu
5d244dd93b fix(lang): format percentage output for language translation counts 2026-04-15 20:01:45 +08:00
Mega Yu
0ceda82d33 refactor(lang-lint): leverage logseq-i18n-lint for superior accuracy and performance 2026-04-15 16:00:39 +08:00
Mega Yu
5eda6a8ab6 Merge master into enhance/i18n 2026-04-14 16:42:19 +08:00
Tienson Qin
292db15345 add script to create clojure irc graph 2026-04-14 00:19:29 +08:00
Mega Yu
69b7a0e893 improve i18n 2026-04-13 14:39:53 +08:00
Mega Yu
3ac92e7485 improve i18n 2026-04-10 14:39:29 +08:00
Tienson Qin
c80a3cdb98 fix: catch deps clj-kondo warnings in lint-test-deps 2026-04-10 02:37:28 +08:00
Tienson Qin
0392444cdf add bb dev:lint-test-deps to run lint and tests for deps 2026-04-10 00:21:14 +08:00
Mega Yu
65180f911c remove unnecessary i18n key 2026-04-09 19:40:24 +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
Mega Yu
e9d3c8da00 enhance i18n 2026-04-08 09:32:18 +08:00
Mega Yu
d7470632f3 feat(lang-lint): add linting for hardcoded strings and refactor translation validations 2026-04-03 11:47:01 +08:00
Tienson Qin
333f3e10b1 remove vector embeddings 2026-04-02 18:51:29 +08:00
megayu
adbaf10abc chore: tech stack upgrade (#12448)
* fix(lint): make worker/frontend separation lint work on Windows

* chore: update cljs:electron-watch script to include test flag

* chore: remove dead root dependencies

* chore(deps): converge better-sqlite3 to 12.6.2 across deps packages

* chore(deps): converge fs-extra to ^11.3.0 across package roots

* fix(test): correct parameters for create-if-not-exists function

* chore(deps): converge cljs-bean to 1.9.0 across deps roots

* fix(tests): escape regex in cljs:run-test script

* chore: pin root packageManager to yarn 1.22.22

* chore(build): replace del with fs.rmSync in gulp clean

* chore(build): replace npm-run-all with npm-run-all2

* chore(security): upgrade dompurify and unify sanitizer path

* chore(observability): upgrade web sentry to 8.x

* chore: remove unused react-draggable dependencies

* chore(ci): fix windows release artifact collection

* fix(build): create static dir before gulp clean scans it

* fix: update nbb-logseq dependency to version feat-db-v33

* fix(test): move start-time initialization after clone repo

* fix(deps): update nbb dependencies and adjust test script paths to compatible with windows path delimiter

* chore(deps): remove dead meander dependency

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-03-13 13:20:49 +08:00
Tienson Qin
2fb2c56725 set large graph title size 2026-03-12 18:29:45 +08:00
Tienson Qin
7d3d3922d1 enhance: generate large graphs with random text 2026-03-12 18:01:12 +08:00
Tienson Qin
b1ceaa1216 enhance: able to generate large graphs with >1M blocks 2026-03-12 10:42:07 +08:00
Gabriel Horner
f0f5911ca7 enhance: export-edn is idempotent for 3 more keys
For keys with non-ordered collections, use sets to consistently produce
idempotent values. Users can still author with vectors for these keys.
This affects :build/tags, :build/property-classes and
:build/class-extends.  Also remove any hacks around making their values
consistent across import->export cycles
2026-02-24 14:26:02 -05:00
Gabriel Horner
f28e001b5a enhance: ensure export EDN is idempotent across import and export
An EDN export should consistently produce the same EDN when imported
into a new graph and re-exported. This adds initial fn, cli option and
test to ensure this. There are some known TODOs. diff-graphs script was
removed as it was being used as a subset of the workflow provided by the
--roundtrip option
2026-02-18 15:23:41 -05:00
Tienson Qin
143a548f04 fix: more lint error 2026-01-26 20:00:31 +08:00
Tienson Qin
729ca7fcbf Merge branch 'master' into feat/worker-sync 2026-01-26 18:52:12 +08:00
Tienson Qin
0cf01ba780 fix: parent cycle 2026-01-26 17:36:34 +08:00
Gabriel Horner
f57d8a0625 chore: rm unused file-sync bb tasks 2026-01-22 13:19:58 -05:00
Gabriel Horner
ed805f039f chore: cleanup bb tasks after file graph removal
Remove needless 'db-' prefix for several dev tasks. Remove linter for
file and db graph separation. It served us well :)
2026-01-22 13:19:58 -05:00
Gabriel Horner
208b4bc205 fix: remove whiteboards and tldraw from rest of codebase
Also remove some old excalidraw refs that should've been removed awhile
back
2026-01-22 13:19:58 -05:00
Gabriel Horner
4bb7430682 fix: rm the last file-based namespaces in db dep
Also remove the following related file schema
attributes and their dependent code:
:block/marker, :block/priority, :block/scheduled,
:block/deadline,:block/repeated?, :block/pre-block?,
:block/properties-order, :block/properties-text-values, :block/macros,
:block/invalid-properties
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
Gabriel Horner
c89d415e93 chore: remove unused tutorial files 2026-01-22 13:19:57 -05:00
Gabriel Horner
37d9ebda1f chore: remove file-specific graph-parser code
Also removed file graph code for markdown export as a prereq
2026-01-22 13:19:57 -05:00
Gabriel Horner
96a9f95622 fix: remove file graph code from query-dsl
Allows removing unused file-rules and common.marker. Also remove
any incorrect or unused references to file graph markers like NOW
2026-01-22 13:19:57 -05:00
Gabriel Horner
20cbb626a0 fix: frontend and graph-parser tests and lints
Removed file specific test
2026-01-22 13:19:57 -05:00
rcmerci
0864b485f4 refactor(db-sync): rename worker-sync to db-sync 2026-01-10 17:52:33 +08:00
rcmerci
c2738c9dc9 enhance(worker-sync): foreground dev task 2026-01-09 22:19:27 +08:00
Tienson Qin
704312b407 Add publish dep 2025-12-27 04:44:05 +08:00
Tienson Qin
c084a6b9d0 fix dicts 2025-12-26 12:54:44 +08:00
Tienson Qin
ec7a325bcb more cleanup 2025-12-26 12:35:13 +08:00
Tienson Qin
b3813ade7c remove file sync, tldraw, excalidraw and zotero 2025-12-25 15:13:13 +08:00
Gabriel Horner
84db92bc19 fix: translations from #12258 2025-12-17 10:19:19 -05:00
rcmerci
1aff68e4b2 script: update create-graph-with-clojuredocs, add author property 2025-12-08 00:14:02 +08:00
rcmerci
af22f09748 script: update create-graph-with-clojuredocs 2025-12-07 23:49:43 +08:00