Commit Graph

2083 Commits

Author SHA1 Message Date
Gabriel Horner
dab6b5aff4 enhance: add support for importing page and block tags
Allows users to specify which tags are tag classes and
the rest are just normal pages. Fixes LOG-2984
2024-02-08 16:49:27 -05:00
charlie
5b6b9d050a enhance(ui): WIP playground for x popup 2024-02-08 17:10:27 +08:00
charlie
818cc2e4bb enhance(ui): WIP playground for x popup 2024-02-08 16:19:08 +08:00
charlie
acb577c5f6 enhance(ui): WIP playground for x popup 2024-02-08 11:07:37 +08:00
charlie
6eb46ba77a enhance(ui): WIP playground for x popup 2024-02-08 10:04:11 +08:00
Gabriel Horner
58b2888729 fix: test and lints
also remove unused binding not caught by linter b/c it's used
2024-02-07 12:23:14 -05:00
charlie
b6a0ecd462 enhance(ui): WIP playground for x popup 2024-02-07 20:02:10 +08:00
charlie
41e72b976b enhance(ui): WIP playground for x popup 2024-02-07 18:50:40 +08:00
charlie
1466ad8cc5 enhance(ui): WIP playground for x popup 2024-02-07 16:48:44 +08:00
Tienson Qin
bee1cbfeb5 fix: load page tags 2024-02-07 07:22:40 +08:00
Tienson Qin
0a028ba235 fix: editor unit tests 2024-02-07 06:38:52 +08:00
Tienson Qin
bd9ebaf3fd perf: skip loading classes for the initial data
re-init commands after pages has been loaded
2024-02-07 04:54:54 +08:00
Tienson Qin
6c6cc8ec34 Load classes for initial data since task commands require them 2024-02-07 04:47:57 +08:00
Gabriel Horner
b1bcc1b2dd fix: unit test, lint + script 2024-02-07 04:09:01 +08:00
Tienson Qin
7e8ab72494 Merge branch 'feat/db' into perf/lazy-load-data 2024-02-07 04:07:40 +08:00
Tienson Qin
140287e3ea perf: don't load properties and classes for initial data
This commit also fixed the issue that some pages such as "Status" will
be shown as lower cased.
2024-02-07 03:45:35 +08:00
charlie
cb4a6701dd Merge branch 'master' into feat/db 2024-02-06 14:13:57 +08:00
Gabriel Horner
6a73ffa5f7 fix: lints and a docstring 2024-02-05 17:03:44 -05:00
Gabriel Horner
232dbf682b fix outliner lint 2024-02-05 14:04:54 -05:00
Gabriel Horner
81697573b8 Merge branch 'master' into feat/db 2024-02-05 13:49:37 -05:00
Tienson Qin
1a040b01de feat: /scheduled and /deadline for db graphs 2024-02-05 23:54:46 +08:00
Tienson Qin
d4add86e1d Merge branch 'feat/db' into perf/lazy-load-data 2024-02-05 09:52:35 +08:00
Tienson Qin
fa9d5fac1e Load whole data for shorter pages 2024-02-03 19:02:25 +08:00
Tienson Qin
4e0a35fe87 fix: don't remove :block/tags from outliner-core/-save 2024-02-03 18:22:56 +08:00
Tienson Qin
6f90958e4b Merge branch 'feat/db' into perf/lazy-load-data 2024-02-03 12:52:35 +08:00
Tienson Qin
873fdc6339 enhance: lazy load all pages 2024-02-03 12:42:45 +08:00
Tienson Qin
2bc2e9e8ca fix: indent on file graphs 2024-02-03 10:54:27 +08:00
Tienson Qin
d00b2c1e47 avoid async queries if blocks are not rendered yet 2024-02-03 10:34:21 +08:00
Tienson Qin
9028976100 fix: block breadcrumb 2024-02-03 08:11:01 +08:00
Tienson Qin
8f845a7145 attach block left and parent for <pull & <get-block 2024-02-03 07:09:52 +08:00
Gabriel Horner
ca752834c1 enhance: basic block tags for import - part of LOG-2984 2024-02-02 17:39:08 -05:00
Gabriel Horner
b6a952fd7d fix: assets not copied for import
Caused by a commit yesterday. Also removed unused
import-file-to-db-graph options
2024-02-02 16:16:18 -05:00
Tienson Qin
2e1e3572df fix: add db requests for outliner core tx 2024-02-02 03:46:12 +08:00
Tienson Qin
7a4251856a Revert "fix: enable promise usage in outliner-ui/transact!"
This reverts commit 95cd7d51fc.
2024-02-02 00:20:41 +08:00
Tienson Qin
4b9b825101 refactor indent-and-outdent 2024-02-02 00:16:49 +08:00
Tienson Qin
95cd7d51fc fix: enable promise usage in outliner-ui/transact! 2024-02-01 20:07:39 +08:00
Tienson Qin
620ad617f9 fix: load closed values 2024-02-01 17:18:23 +08:00
Tienson Qin
3dfe5c5751 fix: load all pages and files when app starts 2024-02-01 17:04:44 +08:00
Tienson Qin
c9f52e8a9b fix: ref not shows when starting the app 2024-02-01 04:29:32 +08:00
Gabriel Horner
5b4bfd9089 enhance: file graph import ignores hidden files 2024-01-31 15:01:39 -05:00
Tienson Qin
c1a15c0708 Merge branch 'feat/db' into perf/lazy-load-data 2024-02-01 03:58:04 +08:00
Tienson Qin
1b99388f54 fix: can't save file 2024-02-01 02:57:28 +08:00
Gabriel Horner
a68c5eea52 fix: file/name-format is file graph only
Confirmed this with the last refactor. Also remove references to
setting that was removed in eb6e5942f8
2024-01-31 13:34:12 -05:00
Gabriel Horner
bf56cd3252 chore: move legacy fns to legacy ns
title property is for file graphs and should be kept with its ns
to avoid confusion
2024-01-31 11:11:14 -05:00
Tienson Qin
44dca4f506 wip: plugin api calls
Also avoid calls to worker if a block has been fully loaded
2024-01-31 21:51:52 +08:00
Gabriel Horner
f6e9e2630f fix: deprecate :favorites for db config
related to LOG-3031. Also comment all known
file graph only config keys
2024-01-30 15:26:19 -05:00
Tienson Qin
420e361381 fix: async <get-file and <get-files 2024-01-30 21:17:18 +08:00
Tienson Qin
99b6d543f0 fix: more async queries and export to roam 2024-01-30 20:03:06 +08:00
Tienson Qin
7b754c672f fix: page unlinked refs
Use search indice to search first and then filter the result by the
db worker. This avoids using `d/datoms` which loads all the blocks to
the memory.
2024-01-30 18:31:06 +08:00
Tienson Qin
1e6daf6563 fix: page/block refs and refs count 2024-01-30 17:10:38 +08:00