Commit Graph

3732 Commits

Author SHA1 Message Date
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
Gabriel Horner
0840d05d6a fix: title when grouping by empty property value 2025-04-29 12:10:03 -04:00
Gabriel Horner
846e4bf305 fix: grouping by readable property values like :default type
Fixes https://github.com/logseq/db-test/issues/264
2025-04-29 12:05:31 -04:00
Tienson Qin
bb9aa2d854 fix(regression): don't create tags from priorities and org BEGIN 2025-04-29 19:19:33 +08:00
Tienson Qin
8a1d90f129 fix: load whiteboards for file graphs 2025-04-29 17:49:37 +08:00
charlie
47d4fe55d9 Merge branch 'feat/db' into feat/capacitor-new 2025-04-29 08:51:52 +08:00
Gabriel Horner
d3b7289b20 refactor: split logseq.db.common.sqlite into 2 namespaces
The majority of this ns is focused on graph initilization and
entity lazy loading so split this out to new ns,
logseq.db.common.initial-data. Originally
initialization was tied to sqlite util fns but it has not made
sense for awhile to think of them as sqlite util fns
2025-04-28 12:55:16 -04:00
Gabriel Horner
f4bbdbd0d2 fix: loading bug introduced by refactor 2025-04-28 11:42:23 -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
charlie
936618c43a Merge branch 'feat/db' into feat/capacitor-new 2025-04-28 10:34:10 +08:00
Tienson Qin
2fca4b0a53 chore: remove unused code 2025-04-27 13:30:53 +08:00
charlie
9dbc658595 enhance(ux): auto focus the trigger element for the dimissing shui popup 2025-04-27 13:02:10 +08:00
charlie
5454d821a0 enhance(ui): add support for the shui popup as mask from the target 2025-04-27 10:53:04 +08:00
Tienson Qin
aa427dd4b8 fix: some blocks are missing on favorites when app starts 2025-04-26 20:38:02 +08:00
charlie
0a61981c48 Merge branch 'feat/db' into feat/capacitor-new 2025-04-26 14:57:46 +08:00
charlie
dd755427af enhance(ui): shui dialog blink 2025-04-25 16:56:41 +08:00