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
Gabriel Horner
ad485875fe
fix(dev): update debug edn of schema.org graph
2024-12-17 10:01:21 -05:00
Gabriel Horner
87caca8c68
fix: some imported pages were missing Page class
...
Also fix error reporting for users wasn't working. Also fix lint
and add another attribute to linter
2024-12-17 22:04:28 +08:00
Tienson Qin
c5fa699db0
Replace more :block/type
2024-12-17 22:04:27 +08:00
Gabriel Horner
bcdd162145
fix: queries with default values
...
and objects that are descendants of a tag with
a default-value property. Fixes
https://test.logseq.com/#/page/67551ea7-bd58-48bb-a0ea-8b976fa94423 .
Also extended sqlite.build to allow closed value properties to
be configured with :build/properties
2024-12-09 12:11:06 -05:00
Gabriel Horner
8e81d7d855
enhance(dev): task to import multiple file graphs easily
...
Also add a --continue option to see all errors on a CLI import
2024-11-21 10:30:58 -05:00
Gabriel Horner
2c23731b5d
fix: property refs not deleted when block property deleted
...
Fixes https://github.com/logseq/db-test-cn/issues/36 . Also fixes private
db-property-attributes leaking into refs caused by #11565
2024-11-15 14:46:32 -05:00
Gabriel Horner
3a22c28493
fix(dev): schema.org debug edn was invalid and noisy
2024-11-11 12:36:24 -05:00
Gabriel Horner
13830cc4d2
fix: property filter queries didn't display page nodes
...
for db graphs. Also tweaked example graph so blocks and pages
have same property values in order to QA property rules like this
2024-11-08 16:34:52 -05:00
Gabriel Horner
e9cf54a3b8
chore: update properties graph to test has-property
...
instead of deleted page-property rules
2024-11-08 14:56:21 -05:00
Gabriel Horner
e157e818cb
chore: mv publishing.cljs to deps/publishing
...
allows for faster publishing dev as publishing-backend workflow
works against latest deps/publishing instead of cached version in .nbb
2024-10-30 12:37:02 -04:00
Tienson Qin
7d084abc5e
fix: publishing app fails to load initial and then user data
...
fixes https://linear.app/logseq/issue/LOG-3257/publishing-app-fails-to-load-initial-and-then-user-data
2024-10-30 15:51:58 +08:00
Gabriel Horner
5c4ce0eee5
fix: delete keys from master langs that no longer exist in db version
...
using new --fix ability
2024-10-29 21:51:44 -04:00