Tienson Qin
2d50ca5ce2
Merge branch 'master' into feat/hnswlib+transformer-js
2025-07-11 18:15:33 +08:00
Gabriel Horner
bb6ed709e5
refactor: use get-journal-page for finding a journal page
...
Only updated this in DB graph files since this is where they are
the most useful
2025-07-09 14:04:02 -04:00
Gabriel Horner
eabee3fe1c
chore: mv db only fns to db ns
...
Also add related names to linter
2025-07-09 13:26:12 -04:00
Gabriel Horner
f09a0ce296
chore: add another ns to separate linter
...
Also fix another lint
2025-07-09 12:09:54 -04:00
Gabriel Horner
cd655174aa
enhance(dev): add src/main/mobile to separate linter
...
Added to keep file graph code and other anti-patterns out of new mobile app
2025-07-08 11:45:08 -04:00
Tienson Qin
8a219cacc1
fix: update public/static to /static
2025-07-02 21:43:11 +08:00
Gabriel Horner
6251e48efc
enhance(dev): build :datetime properties for schema graph
...
Also fix intermittent issue with diffing previous exports and
misleading message for rangeIncludes
2025-07-02 15:23:01 +08:00
Gabriel Horner
16925777d6
fix(dev): rm unnecessary property conflicts for schema graph
...
Property conflict detection was based on older model where :block/name
was unique and built-in and user properties competed for same name
2025-07-02 15:23:01 +08:00
Gabriel Horner
c1cab09a31
enhance(dev): schema graph builds multiple parents for classes
...
know that extends is a :many
2025-07-02 15:23:01 +08:00
Gabriel Horner
268889d0b7
chore: rename sqlite.build :build/class-parent to :build/class-extends
...
Matches new property name and its arity. :build/class-parent deprecated
2025-06-29 15:21:09 +08:00
Tienson Qin
ded9c8e517
fix: update :build/class-parent to multiple values
2025-06-29 15:21:09 +08:00
Gabriel Horner
b6cb12445c
enhance(dev): schema CLI supports optional export
...
instead of dump option. Dump option required some maintenance and and
export has the advantage of being able to save the created graph. The
only thing that dump had over export was refs which really shouldn't
change now that we've standardized on them with db-pipeline/add-listener
2025-06-26 17:57:05 -04:00
Tienson Qin
92ec65d61d
Merge branch 'master' into refactor/page-parent
2025-06-15 08:27:33 +08:00
Gabriel Horner
995f8c4c38
fix: worker lint
...
Make an exception for this require since it's only used in tests. Tried
to mv file-reset to tests but it touches too many tests
2025-05-29 00:39:51 +08:00
Gabriel Horner
3fe790d4d7
enhance(dev): scripts can read or write db graphs as full path files
...
This allows for easier use of debugging graphs as they are exported by
users as a file. Also DRYed up duplicated helper
2025-05-23 13:59:02 -04:00
Tienson Qin
42778d36ae
Merge branch 'feat/db' into refactor/page-parent
2025-05-16 23:27:20 +08:00
Gabriel Horner
1d8869a4a3
chore: bump borkdude.rewrite-edn to latest
...
and use consistent alias
2025-05-14 15:55:50 -04:00
Tienson Qin
61d5aa3605
Rename :logseq.property/parent to :logseq.property.class/extends
2025-05-14 17:56:35 +08:00
Gabriel Horner
2c67b6de11
chore: cleanup unnecessary multi graph calls in db
...
namespaces. Add fn and related namespaces to linter
2025-05-09 15:05:14 -04:00
Gabriel Horner
691b8866ef
refactor: mv another common ns out of db dir
...
Allows for more improved separate linting
2025-04-28 11:27:49 -04:00
Gabriel Horner
6a635ecb49
refactor: mv common ns out of db ns
...
Also move common and file fns out of db ns. Cleanup allows
for better separation linting
2025-04-28 10:37:13 -04:00
rcmerci
b2b726f2b4
dev: update cider-nrepl, fix set-system-env
2025-04-15 22:45:28 +08:00
Tienson Qin
1aca680ae4
Merge branch 'feat/db' into perf/app-start
2025-03-31 21:53:37 +08:00
Gabriel Horner
e5061f1504
enhance: add export option to exclude-files
...
Useful for demo graphs as it's noisy and not useful to include since
imported graphs already have it. Also added descriptions for properties
graph to share it
2025-03-27 09:13:14 -04:00
Gabriel Horner
4d37ce8565
enhance: add import edn graph option
...
Also fix lint and move other db import fns to db ns
2025-03-17 17:16:49 -04:00
Gabriel Horner
078ac512ad
add export graph command
...
Also add properties :file option. Was useful to compare sqlite.build
EDN w/ export equivalent
2025-03-17 11:58:30 -04:00
Tienson Qin
5d2ab65d7c
Merge branch 'feat/db' into feat/blocks-action-bar
2025-03-08 13:55:33 +08:00
Gabriel Horner
7917afaa45
chore: update nbb scripts to be repl friendly
...
With https://github.com/babashka/nbb/issues/95 done, this allows
all nbb script namespaces to required or used from a repl
2025-03-07 11:49:28 -05:00
Gabriel Horner
0fc8af5686
refactor: remove db-graph behavior from file-graph gp-extract
...
Makes importer easier to maintain as there's less confusion with unused
checks in gp-extract
2025-02-27 11:20:24 -05:00
Gabriel Horner
3d34224143
fix: remove a few more file-graph fns in db graph only namespaces
...
Found by configuring separate linter for most of remaining deps
2025-02-26 18:02:22 -05:00
Gabriel Horner
9d09ee9dc4
fix: file graphs showing buggy views tab
...
instead of page count
2025-02-26 16:56:21 -05:00
Gabriel Horner
f5ea424e17
chore: remove deleted translations from #11739
...
Also enable counts for class-objects as they can get quite large
2025-02-24 10:39:01 -05:00
Gabriel Horner
04b832f5cb
chore: mv file graph specific fns out ldb
2025-02-20 12:37:13 -05:00
Gabriel Horner
b2d5315a68
enhance(dev): add deps/db/src/logseq/{frontend,sqlite} to
...
separate linter. Will catch mistakes like
e92b107b5b next time. Also fixed
a few more ldb/* calls and expanded /db-based-graph? check
2025-02-19 16:44:17 -05:00
Gabriel Horner
e92b107b5b
fix: entity-util/{journal?,whiteboard?,page?} calls
...
Split up fns of these checks into entity-util, file-entity-util and
common-entity-util so that we have explicit fns for checking in single
or multi-graph contexts. By doing this, were were able to fix more than
20+ fns that were calling general fns in a single graph context e.g.
checking for :block/type in DB graph only namespaces. Some of these
calls were happening on every :block/title lookup so there may be
some perf enhancements
2025-02-19 16:29:26 -05:00
Gabriel Horner
73cff9db44
chore: mv file-specific vars in db dep
...
to their own file-based.* namespaces. logseq.db.frontend
can now be linted
2025-02-19 16:29:26 -05:00
Gabriel Horner
c4fee6bdeb
chore: remove deprecated [:page "FOO"]
...
refs from sqlite.build as they have been replaced with
an improved [:build/page ...]
2025-02-04 09:12:26 -05:00
Tienson Qin
926d05c185
feat: table columns pinning ( #11693 )
...
* Add property :logseq.property.table/pinned-columns
* feat: table column pinning
* enhance: hide :id column by default
---------
Co-authored-by: charlie <xyhp915@qq.com >
2025-01-24 11:17:09 +08:00
Gabriel Horner
5e558e902a
fix(dev): debug edn of schema graph had duplicated data in :block/properties
2025-01-21 14:58:41 -05:00
Gabriel Horner
455ccec296
chore: rename sqlite.build edn to remove mention
...
of schema. schema concept no longer exists and these old
names would be confusing
2025-01-21 14:22:16 -05:00
Gabriel Horner
69f5818604
fix: delete existing graph for properties script
...
Didn't work when just graph name is given. Also remove test graph
that was accidentally checked in
2025-01-20 12:26:56 -05:00
Tienson Qin
a7e9d073cd
chore: rename :property/* to :logseq.property/*
2025-01-15 14:59:08 +08:00
Tienson Qin
c6f7f08707
fix: delete existing db for db-graph-test
2025-01-13 16:44:02 +08:00
Tienson Qin
2c04eb76d7
fix: db tests
2025-01-13 16:20:45 +08:00
Tienson Qin
93a7034249
Remove more cases of :block/schema
2025-01-13 10:00:00 +08:00
Gabriel Horner
b2a3559df8
chore: add block/format to file linter
...
follow up to #11667
2025-01-07 16:42:11 -05:00
Gabriel Horner
cf4de2f5fa
chore: update lint to check for two very common db namespaces
2025-01-07 14:11:07 -05:00
Tienson Qin
b107525c7d
fix: lint
2024-12-24 18:43:56 +08:00
Tienson Qin
2599b45768
Merge branch 'feat/db' into refactor/tag-as-type
2024-12-19 15:09:02 +08:00
Charlie
630c077c02
Enhance(UX): left sidebar ( #11649 )
...
* chore(ui): add sidebar related components
* chore(shui): add sidebar core
* enhance(ui): WIP polish left sidebar
* enhance(ui): polish opacity value
* enhance(ui): remove unnecessary css
* enhance(ui): simplify the left sidebar related css
* enhance(ui): polish left sidebar navigations
* enhance(ui): polish navigations items
* enhance(ui): polish graphs picker from the left sidebar
* enhance(ui): polish graphs selector
* enhance(ui): graphs dropdown content
* enhance(ux): create new page for the graphs selector section
* enhance(ui): remote icon for the graphs selector
* enhance(ui): polish sidebar navigations filter
* fix(ui): background color for the left sidebar
* enhance(ui): refactor names related with the left sidebar
* enhance(ux): WIP configurable navigations from the left sidebar
* enhance(ux): configurable navigations popup
* enhance(ux): persist user navigations from the left sidebar
* fix(ui): bad graph selector type icon
* fix: lint
* fix: lint
* enhance(ui): polish details for the left sidebar
* chore: remove shadcn sidebar component
* chore: remove shadcn sidebar related component
* fix(ui): text overflow for the page name item
2024-12-19 15:00:52 +08:00