charlie
bf040e07db
Merge branch 'feat/db' into feat/capacitor-new
2025-05-15 17:36:29 +08:00
Gabriel Horner
138e56aedf
fix: cljs test by adding dep I forgot to add
...
Also ensure all deps' deps.edn have consistent and clear comments
delineating nbb-logseq vs other deps
2025-05-14 16:24:32 -04:00
Gabriel Horner
f34a8d57a0
fix: whitespace on advanced query string import
...
Fixes https://github.com/logseq/db-test/issues/193
2025-05-14 16:06:23 -04:00
Gabriel Horner
6f7e2a94c3
enhance: bump nbb-logseq to include rewrite-clj
2025-05-14 15:50:37 -04:00
Gabriel Horner
62e5b7e306
chore: bump nbb-logseq to get rid of
...
node deprecation warnings with node 22 and get a year's worth of nbb
updates and fixes
2025-05-14 13:30:52 -04:00
charlie
c0d135cc7d
fix(tests): path join
2025-05-14 14:47:18 +08:00
Tienson Qin
972a5be0a4
chore: fs cares only memory and electron files
2025-05-14 13:06:54 +08:00
Tienson Qin
dc67bd4244
chore: remove repeat calls of safe-decode-uri-component
2025-05-14 12:48:55 +08:00
charlie
de99bb21b3
fix(electron): incorrect path join for Windows
2025-05-14 11:52:14 +08:00
Gabriel Horner
0dd89ded24
fix: large var in deps db
2025-05-13 12:00:38 -04:00
Gabriel Horner
15a83f2026
fix: import of existing pages and their related nodes
...
Related nodes of imported existing pages weren't being updated to
associate with existing page
2025-05-13 11:42:13 -04:00
Gabriel Horner
dc0e224982
fix: most node tests failing to run
...
Upgrade better-sqlite3 to match node bump
2025-05-13 10:42:41 -04:00
Tienson Qin
effaacbd06
fix: group list items by page when there's no group specified yet
2025-05-13 21:47:52 +08:00
Tienson Qin
5e1a968530
Merge branch 'master' into feat/db
2025-05-13 18:22:20 +08:00
charlie
dee490fdcd
Merge branch 'feat/db' into feat/capacitor-new
2025-05-13 12:28:36 +08:00
Gabriel Horner
4a0225b7ee
fix: query function for db graphs
...
Fixes logseq/db-test#203 . Also removed unused helpers
2025-05-12 15:51:50 -04:00
Gabriel Horner
9b1a565dd0
Chore: Remove slides ( #11854 )
...
* chore: remove slide feature and reveal mentions
Will remove reveal js dep in later commit
* chore: remove built-in property that was only for slides
2025-05-12 13:32:24 -04:00
Gabriel Horner
281ce7e0e0
refactor: remove :name from built-in-properties
...
Remove it from built-in-properites as very few properties used
it and no new properties will use. :name is only used for file graph
property ids for looking up ids via get-pid or for the db graph import
2025-05-12 12:50:51 -04:00
Gabriel Horner
c28fe3194c
chore: cleanup after #11858
...
Remove unused fn
2025-05-12 09:47:40 -04:00
charlie
664321469d
Merge branch 'feat/db' into feat/capacitor-new
2025-05-12 14:10:41 +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
33321e6b9a
fix: remove needless resolves
...
and fix deps lint
2025-05-09 14:02:05 -04:00
Tienson Qin
ed648af845
fix: cycle refs
2025-05-10 00:50:06 +08:00
Gabriel Horner
ce4df797dd
fix: user can right click delete private tags
...
resulting in invalid states. Also catch this at outliner level
2025-05-09 09:36:16 -04:00
Tienson Qin
3d9cb9238c
fix: mutual block reference
...
Also, :block/title shouldn't replace non-page block id references
because it could be recursive.
2025-05-09 21:23:50 +08:00
Gabriel Horner
b985020d1f
refactor: mv file graph model fns to their own ns
...
All these fns are only used by file graphs. Most only act on file only
attributes e.g. :block/file, :block/pre-block? and :block/namespace
2025-05-09 02:51:54 +08:00
Tienson Qin
c49ab05cd5
fix: url pathname needs to be decoded too
2025-05-09 01:56:15 +08:00
Tienson Qin
07781dabe8
enhance: log invalid url
2025-05-08 21:59:53 +08:00
charlie
7b86f9c8fe
fix(electron): image assets broken for Windows #11846
2025-05-08 21:38:58 +08:00
Tienson Qin
8a8d855094
enhance: shift+click to select table rows
2025-05-07 15:03:04 +08:00
charlie
4d46099908
Merge branch 'feat/db' into feat/capacitor-new
2025-05-07 14:42:26 +08:00
Gabriel Horner
7319e1541c
enhance: deprecate :journal/file-name-format for db graphs
...
Confirmed all uses of it are file only and fixed a case where db graph
could've accidentally used it (by having org-mode configured)
2025-05-06 14:44:58 -04:00
Gabriel Horner
584faf2f48
enhance: deprecate :default-templates config for db graphs
...
Db graph no longer invoke file graph config and queries for today
journal and on journal page load
2025-05-06 12:18:10 -04:00
charlie
6e6ba3995c
Merge branch 'feat/db' into feat/capacitor-new
2025-05-06 15:23:36 +08:00
Tienson Qin
8ba98a32a8
fix: can't select values from view filter
2025-05-06 12:51:46 +08:00
Gabriel Horner
4f65a00c68
refactor: rename :logseq.task properties to :logseq.property
...
These are the only built-in properties that don't start with
:logseq.property
2025-05-06 12:29:09 +08:00
Gabriel Horner
6fa20a4853
fix: deprecate more file graph only :config
2025-05-05 16:51:05 -04:00
Tienson Qin
5ce4935c51
fix: can't create new page or rename page if same page with
...
different parent exists.
fixes https://github.com/logseq/db-test/issues/272
2025-05-04 16:52:59 +08:00
Tienson Qin
bca0d5106f
fix: can toggle group by page for references
2025-05-04 12:32:21 +08:00
Gabriel Horner
c30cc3668a
enhance: add current schema version to :graph edn export
...
Will be helpful for debugging and possibly migrating older exports
2025-05-02 15:28:31 -04:00
Gabriel Horner
618b341926
enhance: error message to help locate
...
invalid data for exports.
See
https://github.com/logseq/db-test/issues/263#issuecomment-2840210325 for
an example
2025-05-02 13:30:50 -04:00
Gabriel Horner
79e4f54da8
fix: property table and property "All" queries
...
inconsistently treat empty values as being a property value. Empty
value directly on a node was treated as a property value but not if the
node obtained the empty property value via a class.
Fixes https://github.com/logseq/db-test/issues/230#issuecomment-2726323364
2025-05-02 10:49:19 -04:00
Gabriel Horner
d83bf1eb53
refactor: rename repeat properties' namespaces and names
...
to reflect they are used outside of tasks
2025-05-02 17:17:49 +08:00
Tienson Qin
d3b2f99b2e
fix(regression): table properties are not displayed for file graphs
...
fixes https://github.com/logseq/db-test/issues/265
2025-05-02 10:54:47 +08:00
Tienson Qin
68417bbb01
enhance(ux): table row/cell navigation ( #11837 )
...
* enhance(ux): up/down to navigate table rows
* enhance: remove block id+uuid class
Use `blockid`.
* enhance: arrowleft to select cell when a table row has been selected
* wip: table cell navigation
* feat: up/down/left/right table cell navigation
* enhance(ux): scroll to cell when it's not visible
* fix: save block content when exit title cell popup
* fix: table keyboard navigation doesn't work on virtualized table
The solution is to preload more rows for virtualized tables.
2025-05-02 05:47:58 +08:00
Gabriel Horner
539d79fd3f
fix: view filtering doesn't work for 3 property types
...
For :default, :number and :url, we were filtering by the entity uuid,
not entity content, so only the first entity was matched.
Fixes
https://github.com/logseq/db-test/issues/264#issuecomment-2840535527
2025-04-30 10:49:15 -04:00
Gabriel Horner
88399f0065
fix: outliner lint for incorrect args
2025-04-30 09:40:10 -04:00
Tienson Qin
ad57526b9d
fix: set number property
2025-04-30 17:57:43 +08:00
Gabriel Horner
faf872ec47
fix: default values of property don't load
...
Couldn't see a user's property default value. Also caused visible bug
with deadline popup
Fixes
https://test.logseq.com/#/page/68112b33-17bb-4fb2-876e-48380afdb7b1
2025-04-29 16:00:52 -04:00
Gabriel Horner
ff208c69e7
fix: can't add default value to :number property
...
Fails b/c property's :entity type wasn't recognized as a ref type
2025-04-29 15:31:35 -04:00