Commit Graph

1333 Commits (0c801776426626aa94fe5e383cae8689bac3bd4e)

Author SHA1 Message Date
Gabriel Horner 514b5b5d56 fix: numbered list in db graphs 2024-04-05 15:00:17 -04:00
Gabriel Horner e7bd84850d chore: clean up repeated uses of db attribute properties 2024-04-05 14:04:33 -04:00
Gabriel Horner 38849bf706 chore: cleanup different definitions of property
Also fixed some outdated docstrings
2024-04-05 13:27:39 -04:00
Gabriel Horner 6045969179 fix: db tests and rename empty-placeholder to
be consistent with other ident namespaces
2024-04-05 09:36:05 -04:00
Tienson Qin 0bc8d1c3b1 Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-05 15:16:13 +08:00
Tienson Qin ac31842cec Revert "Remove :block/macros"
This reverts commit 21d550de12.
2024-04-05 15:12:56 +08:00
Tienson Qin ea98a1623e Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-05 09:56:39 +08:00
Tienson Qin 04b00322a3 fix: add class property 2024-04-05 09:47:23 +08:00
Gabriel Horner 14a3e5287b enhance: ident validation
block properties and class idents now have specific validation.
Also cleaned up overlapping ident definitions and updated incorrect
docstrings
2024-04-04 21:39:10 -04:00
Gabriel Horner 608d627544 fix: add back properties validation
and fix closed validation. Also temporarily comment out properties graph parts
that are still invalid
2024-04-04 21:09:28 -04:00
Tienson Qin b096b4673c fix: use :entity type instead of :uuid for ref type values 2024-04-04 16:58:24 -04:00
Gabriel Horner 7c1f52d2a4 chore: add format to build-new-page
every use of it was adding it manually
2024-04-04 09:25:20 -04:00
Gabriel Horner 3e504f5ab9 dev: add more tests for page-property rule 2024-04-04 09:22:39 -04:00
Tienson Qin eea1858040 fix: can't add alias 2024-04-04 18:16:23 +08:00
Tienson Qin 035fbb46c9 fix: use :entity type instead of :uuid for ref type values 2024-04-04 18:07:26 +08:00
Tienson Qin 8054150eef fix: unit tests 2024-04-04 15:57:49 +08:00
Tienson Qin bf539751a8 disable rtc merge tests for now 2024-04-04 15:57:49 +08:00
Tienson Qin 6167abe160 fix: extract page from whiteboard edn 2024-04-04 15:57:49 +08:00
Tienson Qin 1b32378884 more places to use db eid instead of page name 2024-04-04 15:57:49 +08:00
Tienson Qin c018f1517d perfer to use get-page instead of get-first-page-by-name 2024-04-04 15:57:48 +08:00
Tienson Qin 1f32893547 fix most issues on whiteboards 2024-04-04 15:57:48 +08:00
Tienson Qin 4a63f78aa8 fix: zoom into block 2024-04-04 15:57:48 +08:00
Tienson Qin 9df8918f94 Remove more :block/name lookup ref usage 2024-04-04 15:57:48 +08:00
Tienson Qin 60d4fca0ba wip: remove :block/name uniqueness for db based graphs
This PR also remove supports for:
1. merge pages when renaming a page to existing page
2. namespaces such as a/b/c
3. nested page such as [[a [[nested page]]]]

Pages merge might be added back depends on RTC, but it should be
decoupled from renaming, otherwise it's too complex.

Namespaces and nested pages have been contributed some critical bugs
that lead data-loss, they're so complex together with page alias,
it's just impossible to have a good test coverage and ensure the app
is stable, especially when page rename and RTC.
2024-04-04 15:57:48 +08:00
Gabriel Horner c448e9a0d0 enhance: convert has-page-property rule with tests
also started on page-property rule. Tests confirm that
binding won't be an issue unlike the previous version
of these rules
2024-04-03 17:20:44 -04:00
Gabriel Horner a8a2afbf4a chore: allow query script to fetch by entity 2024-04-03 09:00:38 -04:00
Tienson Qin 7084b53dad Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-03 20:29:11 +08:00
rcmerci a7c8451ce4 refactor(undo): update ns frontend.worker.undo-redo (wip) 2024-04-03 17:59:13 +08:00
Gabriel Horner 661cdc8636 fix: built-in properties with :name have incorrect names
Properties like logseq.table.version weren't available to add.
Also added conflict detection on properties graph which is how I
indirectly found this bug
2024-04-02 15:57:33 -04:00
Gabriel Horner 3d49585078 fix: create properties graph and validate graph script 2024-04-02 13:58:52 -04:00
Tienson Qin 298555d36c Still treat properties as pages 2024-04-02 23:11:52 +08:00
Gabriel Horner 12c667fabb Update nbb-logseq to latest datascript 2024-04-02 09:36:28 -04:00
Tienson Qin 13a5f91cd4 fix: use property db/ident instead of name 2024-04-02 11:59:57 +08:00
Gabriel Horner c4fc3a193e fix: new graph should be valid
closed values were invalid. Also fixed a couple db tests
2024-04-01 16:40:01 -04:00
Gabriel Horner 93846fe62f enhance: add import support for priority, scheduled and deadline
fixes LOG-3030
2024-04-01 12:31:39 -04:00
Tienson Qin 0c8639994d fix: db malli schema 2024-04-01 23:35:49 +08:00
Gabriel Horner 745fcdb7a3 enhance: import tasks
Part of LOG-3030
2024-04-01 10:48:25 -04:00
Tienson Qin 1987c455e7 Merge branch 'feat/db' into refactor/db-properties-schema 2024-04-01 15:47:43 +08:00
Tienson Qin 54989b47b8 fix: tags 2024-04-01 15:22:20 +08:00
Tienson Qin d48e45eaa7 enhance: property db ident doesn't allow # 2024-04-01 14:53:25 +08:00
Tienson Qin 02643a1561 fix: tests 2024-04-01 14:25:39 +08:00
Tienson Qin 21d550de12 Remove :block/macros 2024-04-01 14:22:15 +08:00
Tienson Qin 76464cdbe5 fix: closed value test 2024-04-01 14:02:13 +08:00
Tienson Qin 8d6916cfd7 wip: fix property-related tests 2024-04-01 12:24:41 +08:00
Tienson Qin fd36e0cebd fix: malli schema for property 2024-04-01 11:07:33 +08:00
Gabriel Horner 1d014c1326 fix graph-parser lint 2024-03-29 17:09:30 -04:00
Tienson Qin 441dda79c8 fix: typo 2024-03-30 05:02:01 +08:00
Tienson Qin a2da60623f fix: heading 2024-03-30 04:36:24 +08:00
Gabriel Horner de89e65129 chore: remove unused fns and move file graph fn 2024-03-29 16:32:23 -04:00
Gabriel Horner f728b7b9f6 fix: multiple bugs with built-in pages, fixes LOG-3046
- file graph wasn't creating built in pages
- 3 places where db graphs were incorrectly using file graph built in
  page names
- file graphs creating default pages with incorrect format
2024-03-29 16:21:19 -04:00
Tienson Qin 30053d372b fix: can't edit block type property value after it's deleted 2024-03-30 04:20:42 +08:00
Gabriel Horner e08e52acd3 enhance: db graph importer supports optional parent class property 2024-03-29 10:37:09 -04:00
Tienson Qin 81b09cdfc8 feat: dynamic db attributes 2024-03-29 20:33:18 +08:00
Tienson Qin 9d5008d0a4 bump datascript 2024-03-29 17:48:08 +08:00
charlie 833384a361 enhance(ux): diagnosis for the shui popup trigger response is not immediate enough 2024-03-29 16:40:30 +08:00
Tienson Qin fe922ba035 fix: rename logseq.property/status to logseq.task/status 2024-03-29 16:22:45 +08:00
Tienson Qin 958507262e Merge branch 'feat/db' into refactor/db-properties-schema 2024-03-29 15:51:28 +08:00
Tienson Qin f7d418c376 fix: class schema 2024-03-29 14:14:36 +08:00
Tienson Qin 2c26581815 fix: add schema spec for :class/schema.properties 2024-03-29 14:03:41 +08:00
Tienson Qin 872bc00216 fix: db ident 2024-03-29 13:04:50 +08:00
Tienson Qin 5660d420fb fix: class properties order 2024-03-29 11:27:58 +08:00
Tienson Qin cda9ac3e26 fix: display class properties 2024-03-29 10:02:29 +08:00
Tienson Qin 9115ca72ad fix: wrong arguments 2024-03-29 09:18:06 +08:00
Tienson Qin da42189deb fix: property ref value 2024-03-29 09:02:51 +08:00
Gabriel Horner 2e580df0da chore: rename exporter built-in property
use dashes like other built-ins
2024-03-28 14:41:37 -04:00
Gabriel Horner ad35e83958 enhance: properties can also be block only
configure built-in properties that are block only.
Fixes LOG-2874
2024-03-28 13:44:29 -04:00
Gabriel Horner 3e5e7f9f7e enhance: built-in properties can be page only
This allows properties like alias and public to not
show up nonsensically in block contexts. In the case
of alias it fixed a bug where it couldn't be removed from a block
context. Also fixed :public property losing its :public?

Part of LOG-2874
2024-03-28 11:20:32 -04:00
Gabriel Horner e0c6cc1514 fix: deprecate :macros property for db graphs
It's not used much and would require building a new UI since
we don't have one yet for a :map type property
2024-03-28 09:13:39 -04:00
Tienson Qin 41e2944720 Replace more property name usage with db/ident 2024-03-28 20:41:12 +08:00
Tienson Qin 8d31f94b24 Remove :block/uuid and :block/name for properties 2024-03-28 17:37:28 +08:00
charlie 1364e25714 enhance(ui): polish the shui dialog details 2024-03-28 14:32:56 +08:00
Gabriel Horner 9c5309da47 enhance: frontend consistently uses :db/ident
for fetching built-in properties instead of :block/name
2024-03-27 20:36:48 -04:00
Gabriel Horner eecb510ccb enhance: built-in properties are indexed by :db/ident
built-in-properties are identified by their :db/ident instead
of :block/name. This removes reliance on :block/name and allows
us to consistently use namespaces when identifying built-in properties

:visible was renamed to :public? and is now included in :block/schema to
allow for querying. Also added a couple more new graph tests and tweaked
CI for db dep
2024-03-27 15:03:18 -04:00
charlie 6f98985aa9 enhance(ui): add shui close button for the property editor 2024-03-27 10:18:38 +08:00
Gabriel Horner 78371c1ccd fix: schema for properties and classes can have namespaces 2024-03-26 14:33:35 -04:00
Gabriel Horner 832e88b91d fix: CLI db graphs setting wrong schema
Names of db graphs do not have db-prefix from CLI. Rely on
file graph prefix which does have indicator from CLI
2024-03-26 12:21:45 -04:00
Gabriel Horner c5f72221ea fix: update schema and script to use new attribute 2024-03-26 12:20:41 -04:00
Tienson Qin 76ebf19364 feat: class children area 2024-03-26 10:16:40 -04:00
Tienson Qin 55d7ef95dc fix: :class/parent instead of block/namespace 2024-03-26 10:16:40 -04:00
Tienson Qin ce8c13065c wip: properties refactor 2024-03-26 14:18:33 +08:00
Gabriel Horner eb621e191d chore: remove attribute that hasn't been used
almost 3 years. Removed it because otherwise we should make it
valid for a db graph
2024-03-25 17:21:10 -04:00
Gabriel Horner 51828ee8fe fix: invalid ident ns when creating new graph 2024-03-25 17:13:32 -04:00
Gabriel Horner 9b8540921e enhance: more property helper fns uses db-ident
instead of name
2024-03-25 16:34:51 -04:00
Gabriel Horner dd1b0ea5f0 enhance: validate :db/ident namespaces
also add test for a new graph to be valid under malli-schema
2024-03-25 08:56:55 -04:00
Tienson Qin 33f418b297 wip: properties refactor 2024-03-25 18:56:36 +08:00
Tienson Qin 98d2b92ab1 fix: schema && built-in properties 2024-03-25 10:59:09 +08:00
Tienson Qin 16a927ad00 Bump datascript
Which enables transacting schema like other tx-data.
2024-03-25 09:45:19 +08:00
Tienson Qin eaf9fc0d33 fix: use :schema keyword to get datascript db's schema 2024-03-24 17:47:59 +08:00
Tienson Qin ab5022066a fix: use persisted db schema instead of the current one in code 2024-03-24 15:20:34 +08:00
Gabriel Horner 390c626897 fix: replace db-content fn with more specific one 2024-03-22 16:45:43 -04:00
Gabriel Horner 70b43ec71f fix: invalid schema with new rtc graph 2024-03-22 13:46:50 -04:00
Gabriel Horner 1198123513 fix: closed values for date property no longer available
Detected by failing db-graph-test CI job. Confirmed
that issue from 3b57fa626c
hasn't regressed
2024-03-22 12:36:14 -04:00
Gabriel Horner 429b257ee9 fix: query table rows should show page ref names
instead of special ids. Also tweaked page delete message to
remove needless contraction
2024-03-21 17:05:36 -04:00
Gabriel Horner e3b67a9d9a fix lints 2024-03-21 12:35:28 -04:00
charlie 53125d6315 enhance(plugin): support custom routes from the plugin sdk 2024-03-21 19:07:16 +08:00
Tienson Qin 1cad8aa9bd enhance: batch refresh UI after applying remote blocks change
Fixes LOG-3114
2024-03-21 17:38:36 +08:00
Tienson Qin eae35d60e4 fix: rebuild block refs & path-refs after downloading a remote graph
Fixes LOG-3115
2024-03-21 16:45:00 +08:00
Tienson Qin c079f00daf fix: page/block refs lost after syncing from the server 2024-03-21 15:43:17 +08:00
Tienson Qin 3b57fa626c fix: can't add date if the property support multiple values 2024-03-20 17:24:20 +08:00
charlie 08ff5fa76f chore: polish rtc debug ui 2024-03-19 21:01:31 +08:00
Tienson Qin 35dbce3b68 enhance: humanize malli errors 2024-03-19 20:45:37 +08:00
charlie f307333037 enhance(ui): WIP refactor the classic modal with the shui dialog 2024-03-19 17:47:18 +08:00
charlie fcb720511d enhance(ui): refactor the classic modal with the shui dialog 2024-03-19 16:41:11 +08:00
charlie e801118466 enhance(ui): refactor the classic modal with the shui dialog 2024-03-19 15:41:48 +08:00
charlie f6513e0169 enhance(ui): add rtc collabrators online list 2024-03-19 14:30:29 +08:00
Tienson Qin 627d936626 fix: use existing db/id for :graph/uuid 2024-03-19 14:26:00 +08:00
Gabriel Horner 4ba9fea065 enhance: all default db idents are namespaced under logseq
Having consistent namespacing of core idents increases the
number of features they can be used for later
2024-03-18 22:57:24 -04:00
Gabriel Horner f63095316b enhance: all built-in closed values have same db/ident naming convention
Follow convention started by :task/status. Added tests to enforce this
convention as well as other db/ident conventions
2024-03-18 22:57:23 -04:00
charlie 7e1868ba90 enhance(ui): refactor the plugin related modal with the shui dialog 2024-03-19 10:51:43 +08:00
Gabriel Horner 07ff534675 fix: schema for pages and collapsed properties
collapsing a :default page property sets block/collapsed-properties
2024-03-18 12:03:00 -04:00
Tienson Qin 08281eb21c chore: remove wrong comment 2024-03-18 18:08:42 +08:00
Tienson Qin 0bbbbe38c8 Add comment for invalid entity map 2024-03-18 17:44:09 +08:00
charlie c3b401ca64 enhance(ui): refactor the global context menu with the shui popup 2024-03-18 14:51:12 +08:00
charlie dc106a5a99 enhance(ui): add shui avatar component 2024-03-18 14:51:12 +08:00
charlie a61f9b8a4d enhance(ui): add trigger as to shui 2024-03-18 11:40:47 +08:00
Tienson Qin c4e6db9afb fix: don't start rtc for local db graphs
Also, stop rtc when switching into a local graph.
2024-03-17 13:47:19 +08:00
Tienson Qin cd1c71291b fix: conflict datoms from sqlite db and tail
Fixes LOG-3087.
Addressed by fc3645fa4a.
2024-03-17 12:05:44 +08:00
Gabriel Horner 67a7a0a3e9 enhance: Add default namespace of :logseq.property
for db/ident of built-in-properties. Namespacing block identities will
be important for future features. Adding namespacing also fixed some
hidden coupling between identity and name. Also converted a couple more
related :block/name queries to use :db/ident to slowly get us closer to
named blocks
2024-03-15 18:37:15 -04:00
Gabriel Horner 148f2f7b16 fix: built-in class property check works
if property or class name changes
2024-03-15 13:07:45 -04:00
Gabriel Horner 9cdf78ca6a enhance: use db/ident for classes
allows built-in class names to change
2024-03-15 09:22:35 -04:00
charlie 553a4a7866 enhance(ux): refactor the shui popup default as dropdown with dimissing layer 2024-03-15 16:10:05 +08:00
Gabriel Horner 40a6b31fcf fix: db lint 2024-03-14 15:32:52 -04:00
Gabriel Horner 6e7c410427 fix: other closed values should have :db/ident
Without db/ident, these values could be deleted easily
which would cause users to lose functionality
2024-03-14 15:26:18 -04:00
Gabriel Horner c053fbab41 refactor: use db idents for more property identification
e.g. internal property validation, status and priority. The less we rely
on :block/name the more features we can open up later e.g.
interchangeable block/page and rename any page
2024-03-14 14:54:50 -04:00
charlie 26b7eac65d enhance(ux): polish property editor interaction 2024-03-14 23:57:21 +08:00
charlie c74f1749c8 enhance(ux): support enter key shortcut for the shui button 2024-03-14 14:38:54 +08:00
charlie cdbb586495 enhance(ux): support enter key shortcut for the shui button 2024-03-14 14:32:32 +08:00
Gabriel Horner 345fd96e2a enhance: full file graph import works from CLI
Also cleaned up naming, added docstrings and fixed a bug that
failed import hard when user didn't input any tag-classes or
property-classes
2024-03-13 16:23:49 -04:00
charlie f12a242673 enhance(ui): support focus target with the shui popup 2024-03-13 20:33:14 +08:00
charlie 7f5ae850d5 refactor(dev): names for the shui popup options 2024-03-13 14:28:33 +08:00
charlie 8d927ca6fb enhance(ui): update demos 2024-03-13 14:17:14 +08:00
charlie 0b43253bbe enhance(ui): support multi select within the popup 2024-03-13 12:09:08 +08:00
Gabriel Horner 2f599919fb fix: favorites not importing
Also made underlying fns reusable from UI and nbb compatible.
Fixes LOG-3031
2024-03-12 17:57:47 -04:00
charlie 02bc2dbdc8 enhance(ui): demos for the multi select 2024-03-12 22:35:04 +08:00
charlie 947e839180 enhance(ui): demos for the multi select 2024-03-12 18:00:47 +08:00
charlie 94ed777d41 enhance(ui): update demo 2024-03-12 16:53:51 +08:00
Gabriel Horner 96b35c0252 Update nbb-logseq to stub in cljs-bean.transit 2024-03-11 15:19:50 -04:00
Tienson Qin aebb39a98e fix: icon wasn't shown initially 2024-03-11 22:19:17 +08:00
charlie bea9d9c4a5 enhance(ui): support align for the shui popup 2024-03-11 20:30:35 +08:00
charlie 0e428f9e55 enhance(ui): demos for the multi select 2024-03-11 19:40:29 +08:00
Andelf 329818e4c4 fix(db): css assets loading
- move make-asset-url to assets-handler
- handle assets for db-based graph in add-style-if-exists!
2024-03-11 18:38:48 +08:00
charlie c681c6be8f enhance(ux): enhance hooks
for the multi select
2024-03-11 18:10:54 +08:00
charlie 40cc59844b enhance(ux): enhance shortcuts for the multi select 2024-03-11 15:51:31 +08:00
rcmerci fb6484c70e fix: don't rebuild transit-handlers everytime 2024-03-11 12:40:56 +08:00
charlie 1b1a4e375a enhance(ux): add shortcut(ctrl+l) to select the search input 2024-03-11 12:28:30 +08:00
Tienson Qin a6174525dc fix: cljs bean data failed to be seralized to transit 2024-03-11 11:59:36 +08:00
Tienson Qin a159d5acc4 fix: Entity transit write should include kv 2024-03-10 13:28:48 +08:00
Gabriel Horner 79fccaa659 fix: two bugs caused by not getting correct
closed value names for page/date closed values - one in
query builder property value dropdown and the other in show block data command.
Also cleaned up query-dsl which shouldn't be making db graph queries
on file graphs
2024-03-08 15:40:27 -05:00
Gabriel Horner 62e6084b45 fix: page/date closed values for *property queries
Also updated example graph to show closed value queries working
2024-03-08 10:17:22 -05:00
charlie 44a4ecdcd0 enhance(ui): WIP enhance the multi select component for shui 2024-03-08 11:35:13 +08:00
Gabriel Horner 7005025802 fix: closed values with icon losing existing property 2024-03-07 16:32:41 -05:00
Gabriel Horner 631f481de5 enhance: mark built-in closed values
and disallow their deletion. Also fix a bug where
used/undeleted closed values could still be deleted
because ui state was incorrectly updated. Part of LOG-3048
2024-03-07 16:21:21 -05:00
Tienson Qin 22a9b61b32 fix: remove :block/metadata
Use built-in properties
2024-03-08 01:01:55 +08:00
Gabriel Horner 8d0b3c5058 Remove unused :preferred-workflow config for db graphs
part of LOG-3041. Also clean up related namespaces with docstrings
2024-03-07 11:39:51 -05:00
Gabriel Horner 2a17e04aa2 fix: cljs graph parser tests due to missing dep 2024-03-07 10:11:34 -05:00
charlie 807ca2908a enhance(ui): WIP enhance the multi select component for shui 2024-03-07 21:45:50 +08:00
charlie d70582a2ed fix(ui): export names 2024-03-07 18:09:04 +08:00
charlie 1e9842733c enhance(ui): WIP enhance the multi select component for shui 2024-03-07 17:49:49 +08:00
charlie a57a062c4e enhance(ui): WIP enhance the multi select component for shui 2024-03-07 15:43:17 +08:00
charlie 6f7509e712 enhance(ui): WIP enhance the multi select component for shui 2024-03-07 15:29:39 +08:00
charlie 77ecb5e8ae feat(ui): WIP add multi select component for shui 2024-03-07 15:05:15 +08:00
Tienson Qin 17c1c47e78 fix: transit doesn't support entity 2024-03-07 13:21:14 +08:00
Gabriel Horner c0ae06d8fb fix: schema out of date with latest changes
to closed values, properties, classes and built in pages
2024-03-06 17:16:43 -05:00
Gabriel Horner c6e358c983 fix: outliner test failing b/c not nbb compatible
bumped to latest nbb-logseq which is
2024-03-06 11:06:18 -05:00
Tienson Qin 759555f5c7 enhance: add db/ident for task status and priority closed values 2024-03-06 22:36:05 +08:00
Tienson Qin 61bb5ed862 fix: disallow built-in class properties to be deleted
fixes LOG-3050
2024-03-06 22:07:09 +08:00
Tienson Qin fbce74522b fix: add both scheduled and deadline to the task class 2024-03-06 21:31:19 +08:00
Tienson Qin 4c03e58b6c fix: disallow built-in page or property names from being edited
fixes LOG-3049
2024-03-06 21:29:22 +08:00
Tienson Qin 7acaf58bad enhance: add :db/ident for built-in properties
Now we can refer to a built-in property using it's ident instead of
its name, `name` might be changed by users.
2024-03-06 21:29:22 +08:00
Tienson Qin eb1270fff9 perf: use datascript.transit instead of edn for ui<>worker messages 2024-03-06 16:48:50 +08:00
Gabriel Horner 09816b6427 enhance: assets can be imported on CLI
Also add individual asset error handling, like is done for doc files
2024-03-05 17:05:18 -05:00
Gabriel Horner 1706a5c725 fix: hidden pages like favorites showing up in page property
dropdown. Dry up favorites page name scattered across namespaces.
Should be using vars + namespaces in common dep for commonly
referenced features
2024-03-05 10:27:42 -05:00
Tienson Qin 0bb2778f2b fix: unused macros shouldn't be handled in outliner/save
Fixes LOG-3065.

Deleting blocks could result in unused macros too, we probably should
do this by running periodically job to find and retract all unused
refs (macros, pages, hidden blocks, etc).
2024-03-05 20:18:15 +08:00
rcmerci 92625679b3 fix: fix :block/tags, reuse ref->eid 2024-03-05 19:48:00 +08:00
Gabriel Horner 9669755cab enhance: detect and add properties to imported classes
fixes LOG-3069
2024-03-04 23:05:06 -05:00
Gabriel Horner c1ab37a372 fix: nbb not working in most deps
core.async isn't nbb compatible yet. Moved async transact to its own
frontend ns
2024-03-04 18:06:29 -05:00
Tienson Qin 6e67e36a34 perf: use mutable data for sort-by-left 2024-03-04 21:46:40 +08:00
Tienson Qin 2e29918478 perf: use transit instead of edn for db storage 2024-03-04 18:15:03 +08:00
Tienson Qin e79b928c6b fix: sequential writes 2024-03-03 07:41:59 +08:00
Tienson Qin 33a532455b fix: use core.async channel to ensure sequential db transactions 2024-03-03 06:39:05 +08:00
charlie 215e65a249 enhance(ux): support auto side for the shui popup 2024-03-02 11:55:07 +08:00
Gabriel Horner 82639cb07a fix: replace tags with page-refs ignores case
fixes LOG-3073
2024-03-01 16:12:32 -05:00
Gabriel Horner b34325be77 fix: two bugs with updating tags during import
fixes LOG-3073
2024-03-01 15:51:19 -05:00
Gabriel Horner 487c86ac83 enhance: import float values with type :number
They were imported as :default b/c graph-parser didn't handle them.
Part of LOG-2985
2024-03-01 12:07:45 -05:00
charlie 97a017df9b Merge branch 'master' into feat/db 2024-03-01 17:52:21 +08:00
Tienson Qin 90576661f3 fix: hidden files show up in file graph
fixes LOG-3036
2024-03-01 16:29:03 +08:00
Gabriel Horner 0b0299b28f fix: more import fixes after testing more graphs
- collapsed:: false was failing an import
- ignore more attributes for existing pages
- also fixed import script not handling macros and absolute paths
  correctly
2024-02-29 15:06:49 -05:00
Gabriel Horner 49cc17dea5 fix: update property values for any type to :default change
that occur within same file. Also made importing behavior reproducible
across runs and made import script script less verbose by default.
Part of LOG-2985
2024-02-29 13:01:09 -05:00
Gabriel Horner 31b344d3c1 enhance: ignore blank property values from templates
to improves property type detection. Also fixed a bug in
upstream-properties detection and added more docs + better names related
to it. Part of LOG-2985
2024-02-29 11:18:18 -05:00
Tienson Qin 82d5fc6c00 fix: block marker lost in file graph
fixes LOG-2964
2024-02-29 18:35:45 +08:00
Andelf ae41c6d192 fix(search): rm lowercase normalization for query terms 2024-02-29 18:28:22 +08:00
Andelf 27433ed6f8 fix(search): query highlight performace
Close #11027
Close #11026
2024-02-29 18:28:22 +08:00
Tienson Qin 73d6a9e729 fix: graph with a configured home page displays journals view
fixes LOG-3058
2024-02-29 15:04:51 +08:00
Tienson Qin dbc43fed9f fix: load favorites initially 2024-02-29 14:39:42 +08:00
Gabriel Horner b32eb7e9be enhance: automatically handle properties that change to :default
docs graph :platforms property now imports correctly rather than
ignored 30 times. Also allow import script to import multiple files
for testing purposes. Part of LOG-2985
2024-02-28 17:16:09 -05:00
Tienson Qin 7be3421e99 fix: can't add tag 2024-02-29 01:30:15 +08:00
Gabriel Horner 9569bed720 fix: property value with mixed refs not imported
correctly. Also fixed lints
2024-02-28 11:08:53 -05:00
rcmerci 6fa4048299 fix: avoid [:block/uuid nil] err when transact 2024-02-28 21:26:01 +08:00
charlie 15dce782ae enhance(ui): WIP polish emojis&icons picker 2024-02-28 17:16:18 +08:00
charlie b43c576158 enhance(ui): colorful task icons 2024-02-28 11:49:50 +08:00
Gabriel Horner 44d60808c1 fix: correctly detect property type
for property values containing text and refs.
Also allow import script to only import a file for testing.
Part of LOG-2985
2024-02-27 16:27:26 -05:00
Gabriel Horner 13439ed699 enhance: port two more import steps to be script compatible
also fix save-file! not waiting on async transact before post-save
2024-02-27 12:07:25 -05:00
Gabriel Horner 3e3e9a303b fix graph-parser lints 2024-02-26 16:30:12 -05:00
Gabriel Horner e3cc4bad36 enhance: speed up import of doc files and make them scriptable
Refactored the largest part of the import to used promesa which made it
nbb compatible and made large imports like docs 10-25% faster.  Also
updated db-import script to use this work
2024-02-26 16:20:03 -05:00
Gabriel Horner 5d915de2e2 enhance: add more useful counts to validation script
helpful for checking a new/imported db graph hasn't regressed
2024-02-26 11:52:46 -05:00
Gabriel Horner d8f41f22c2 fix: class page schemas have a new optional attribute 2024-02-26 11:11:01 -05:00
charlie 49d3c63a89 enhance(ui): align popup position for the specific target element trigger 2024-02-26 22:16:45 +08:00
charlie 249a4ebac6 fix(ui): the date picker overflow within the property value editor 2024-02-26 17:12:12 +08:00
Tienson Qin b1dd6ca703 enhance: hide hidden properties by default
Show hidden properties only when zoom-in or opened in the sidebar.
2024-02-26 15:48:04 +08:00
Tienson Qin b7f8a5eef8 fix: enter to create a tagged block 2024-02-24 23:29:12 +08:00
Tienson Qin 5dbaca8638 fix: wrong ns 2024-02-24 22:49:03 +08:00
Tienson Qin 8e5851f251 fix: adding a block property deletes tag ref
fixes LOG-3064
2024-02-24 22:03:49 +08:00
Tienson Qin b1aae957e0 fix: esc doesn't save tags 2024-02-24 16:21:03 +08:00
Gabriel Horner 02ba0b3c87 enhance: configurable logging and user notification during import
Don't need to sprinkle prn's anymore or hide errors that shouldn't
be happening while developing
2024-02-24 00:55:14 -05:00
Gabriel Horner a61ee21e25 enhance: add basic script to test db graph import
also tweaked query script to work with db graphs by relative path
2024-02-24 00:42:46 -05:00
Gabriel Horner 356657d36b fix: adding uuids on imported classes causes multiple bugs
Caused invalid blocks as properties that were on the same block
as new class had invalid uuids. Also caused content to have
incorrect mangled uuids. Part of LOG-2985
2024-02-23 15:23:47 -05:00
Gabriel Horner eb994662a6 enhance: user can choose properties' values to import as classes
The user specified properties are then no longer needed since the
concept is built-in. Part of LOG-2985
2024-02-23 12:42:16 -05:00
Tienson Qin 6580edf841 fix: undo/redo 2024-02-23 23:50:44 +08:00
Tienson Qin 6329f6e4e7 perf: async writes 2024-02-23 23:32:24 +08:00
Tienson Qin 86b70c1f6d fix: compute block/refs and block/path-refs after pulling remote 2024-02-23 21:35:11 +08:00
charlie 9f5104e590 refactor(ui): WIP refactor the perperty editor with the shui pupops 2024-02-23 14:48:25 +08:00
Gabriel Horner 8cc4a9a63c fix lint 2024-02-22 17:03:28 -05:00
Gabriel Horner dad848fa73 enhance: improve property type detection
with macros. This improves :url property detection in docs
graph and other similar graphs. part of LOG-2985
2024-02-22 16:00:03 -05:00
Gabriel Horner bfc5bf9ccc enhance: allow user macros for :url property values
and single line :default values
2024-02-22 14:49:03 -05:00
Gabriel Horner 531a8ef533 enhance: import :filters and helpfully ignore :icon
Better to ignore :icon and explain to user than import them as broken with no explanation.
part of LOG-2985
2024-02-22 10:12:09 -05:00
Gabriel Horner 37135fd242 enhance: import tags for existing pages - LOG-2985
also fixed namespaces and aliases missing from existing pages
2024-02-21 17:16:21 -05:00
Gabriel Horner a010298fc6 enhance: handle invalid property value changes
Ignore invalid property values and notify user, rather than
import them as broken. Part of LOG-2985
2024-02-21 15:30:27 -05:00
Gabriel Horner 95a43e24a3 clean up property importing - part of LOG-2985
- infer block property values by properties, not refs
- remove unnecessary property-changes state
- centralize property-change logging and handling
2024-02-21 11:45:40 -05:00
Gabriel Horner 9591c51997 enhance: import properties of existing pages
including property pages. part of LOG-2985
2024-02-20 23:02:44 -05:00
Gabriel Horner ddefb677f2 enhance: import most page properties - part of LOG-2985
Also fix validation and bugs with built-in props. Add additional info
on parent-left conflicts as I encountered a couple while testing
pre-block removal
2024-02-20 14:50:49 -05:00
charlie 6d1fdd445a enhance(ui): export popup APIs to ui ns 2024-02-20 13:34:23 +08:00
Gabriel Horner f28cf73ef4 enhance: validate db once for an import
and notify if there are invalid blocks. Removed validating per tx during
import which speeds up import 5-10% on small graphs and more on larger
graphs. Also print some useful stats in the console
2024-02-19 15:34:58 -05:00
Gabriel Horner 4f3c4c9e03 fix: handle a property :default to :page change
Part of LOG-2985. :page property values would just be references so
use properties-text-values over `str`. Also added import timing
2024-02-19 11:34:42 -05:00
charlie 38406fb39a enhance(ui): add tag for the popups pending state 2024-02-18 11:36:55 +08:00
Gabriel Horner 7734bc8791 enhance: import can detect property type changes
and handle auto-converting a value changing from :default to any prop type
2024-02-17 00:24:50 -05:00
Gabriel Horner 04e5c79ee0 fix: invalid property values by unsupported template blocks
Correctly ignore template properties until it's supported
2024-02-16 12:36:27 -05:00
Gabriel Horner 3bf7ee5645 enhance: import support for :page and infer :date properties 2024-02-16 11:36:06 -05:00
Gabriel Horner 0bba0a2ca9 enhance: import built-in logseq.* props - part of LOG-2977 2024-02-15 15:01:01 -05:00
Gabriel Horner 18d3c87016 enhance: support built-in property imports. part of LOG-2985
:query-properties and :query-sort-by need translating. Don't
override block/schema of built-in properties. Also display
property closed values in block data cmd
2024-02-15 12:27:36 -05:00
Gabriel Horner b5a52edae8 fix: db lint 2024-02-14 17:20:27 -05:00
Gabriel Horner 3b745ac035 enhance: first pass at importing block properties
part of LOG-2985. Still somethings failing for docs graph
2024-02-14 17:16:36 -05:00
Gabriel Horner a0329fdfff fix: page properties are deleted when block content changes
Fixes LOG-3044. Also added more ref and property info to block data cmd
2024-02-14 12:09:37 -05:00
Gabriel Horner 2ff0cc1702 enhance: import whiteboards
Fixes LOG-2981. Also start setting up block properties for LOG-2985
2024-02-13 15:41:56 -05:00
Gabriel Horner 48b974d64e enhance: all page refs in imported content are special ids
close LOG-3055. Also fix graph-parser errors being ignored
2024-02-12 22:02:54 -05:00
Gabriel Horner 6dc1272bf2 fix: lint and remove unused ast in file graph exporter
Also remove unused options on d/transact!
2024-02-12 15:52:52 -05:00
Gabriel Horner 06ad57efff fix: page tags causing invalid properties on larger graphs
Tags that had their own pages were resulting in invalid properties. This
is because we were re-transacting existing pages as new pages
with new uuids which resulted in invalid properties. Fixes LOG-2984.
Also moved graph-parser export (import from db perspective) to its own
ns
2024-02-12 12:33:13 -05:00
Gabriel Horner 26bc6f0d1d chore: mv logseq.graph-parser.util.db to db dep
This ns is more appropriate in db and was only in graph-parser because
the date-time-util lib wasn't accessible to db until #10933 landed.
graph-parser dep is specific to file graphs and as much as possible
anything unrelated to this should not be in this dep
2024-02-09 16:16:33 -05:00
Gabriel Horner e8010de9c3 fix: outliner vars that should be private 2024-02-09 09:07:29 -05:00
charlie 832f18923d feat(ui): add x-popup implementation to shui 2024-02-09 12:12:21 +08:00
Tienson Qin 62b90b7ae7
Merge branch 'feat/db' into perf/lazy-load-data 2024-02-09 09:28:36 +08:00
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
Gabriel Horner 28e637e855 chore: merge 2 new property fns together
refactor possible since page-name-sanity-lc in common-util
2024-01-29 09:55:34 -05:00
Tienson Qin b5b85dd44d fix: lazy load whiteboards 2024-01-29 18:54:52 +08:00
Tienson Qin eba0fe9545 Lazy load block container 2024-01-29 15:25:42 +08:00
Tienson Qin 752f88de19 Async get block and children 2024-01-29 14:48:41 +08:00
Tienson Qin 3addb5905b perf: load partial data when loading a graph
Instead of all the datoms
2024-01-29 13:17:37 +08:00
Tienson Qin d9ff061436 fix: don't remove orphaned refs if content hasn't been changed 2024-01-26 22:14:55 +08:00
charlie 4cfd97de3d Merge branch 'master' into enhance/refacotr-ui-x-menu 2024-01-25 12:34:15 +08:00
Tienson Qin 1536d9aff5 fix: regression of unwanted tag pages are created as you type
Fixes LOG-2820
2024-01-25 06:47:36 +08:00
Gabriel Horner 9f4ffbe750 fix lint by refactoring large var 2024-01-24 15:52:24 -05:00
Gabriel Horner 22ed198c29 enhance: add icons to task status
also adds support for properties in initial-data to reference each other
via uuid
2024-01-24 15:39:46 -05:00
Gabriel Horner 24ea74e73a fix: upstream tests and lints failing again 2024-01-24 10:25:35 -05:00
Gabriel Horner b55fe07768 Merge branch 'master' into feat/db 2024-01-24 09:08:41 -05:00
Gabriel Horner dc5127b48a enhance: publishing --dev also watches frontend
also provide a dedicated backend command for simpler
rebuilding of backend
2024-01-24 08:53:48 -05:00
Gabriel Horner 3cd7b2d762 enhance: add a --dev mode to publishing that pairs with shadow's watch 2024-01-24 08:53:48 -05:00
Gabriel Horner ce2341506d fix: publishing not loading correctly
Caused by pulling in the new component system. Fixes #10893
2024-01-24 08:53:48 -05:00
Tienson Qin d1af653273 chore: ldb/transact! should takes `repo` instead of conn for UI 2024-01-24 17:35:09 +08:00
Tienson Qin a64f49dc6f Remove :block/marker and :block/priority from tx-data 2024-01-24 16:38:09 +08:00
Gabriel Horner 77bc1d5d6b chore: update better-sqlite3 and mldoc in deps to match app 2024-01-23 11:36:32 -05:00
Gabriel Horner 0768809a86 fix: lints and disable intermittent failing test
- Reverted config/db-based-graph? check in a db only namespace
- Removed unused ns as it appears we just used another fn instead.
- /cc @RCmerci on failing test
2024-01-23 10:48:14 -05:00
Gabriel Horner 689cf34cc3 fix: lints and a test
nbb test was failing b/c outliner had graph-parser as a dependency
but we hadn't manually added the npm dependency
2024-01-23 09:38:16 -05:00
Gabriel Horner cc1b8445a8 fix: published graphs that don't have any public pages
This was failing hard but now it shows a blank graph
like before. Fix LOG-3017
2024-01-23 09:18:23 -05:00
Tienson Qin 575624c650 chore: revert inline tags 2024-01-23 21:45:54 +08:00
Gabriel Horner 7831476c70 enhance: add a --dev mode to publishing that pairs with shadow's watch 2024-01-22 14:35:36 -05:00
Gabriel Horner 73cbcc5a1c fix: publishing not building again
caused by new ui script changes
2024-01-22 12:05:01 -05:00
Gabriel Horner c9ba357a90 fix multiple lints 2024-01-22 09:17:38 -05:00
Tienson Qin 8204c93977 fix: outliner dep test 2024-01-22 12:21:42 +08:00
Tienson Qin b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
Gabriel Horner a80a182a8f fix: update publishing setup since there are 2 more assets
Also add compilation flag for code splitting bug
2024-01-19 15:27:02 -05:00
Tienson Qin 036f1b5ab7 feat: /todo/other-status and /urgent/other-priority to set property 2024-01-19 02:36:23 +08:00
Tienson Qin 8a846f6f81 feat: add task class and default properties `status` and `priority` 2024-01-18 23:16:08 +08:00
Gabriel Horner f573b8e821 fix: file graph import not persisting to disk 2024-01-17 12:57:16 -05:00
Gabriel Horner 0168ef0082 fix: 2 bugs with file import
These were silently failing and causing a number of pages to
not import
2024-01-16 17:01:23 -05:00
Gabriel Horner 095894b255 Revert most of "fix: new db graph couldn't be created"
Last commit removed built-in pages and was noticed on imports.
Previous bug of new db graphs leading to a blank screen no longer
occurred after I printed transact! transactions
2024-01-16 16:05:02 -05:00
Gabriel Horner d232a8e08c fix: new db graph couldn't be created
Caused by duplicate transacting of default-pages. Also
removed reference to deleted ns
2024-01-16 11:37:25 -05:00
Tienson Qin cea105cc34 fix: wrong ns import 2024-01-16 16:01:18 +08:00
Tienson Qin a619850998 Merge branch 'feat/db' into refactor/pipeline-worker 2024-01-16 15:42:18 +08:00
Gabriel Horner 34222b3436 chore: bump nbb-logseq that points to upstream nbb 2024-01-15 18:07:49 -05:00
Gabriel Horner 2305d09cc8 chore: DRY up duplicated vars and needless/confusing aliases 2024-01-15 16:51:27 -05:00
Gabriel Horner ca020fcdb3 fix: loading all new deps namespaces in nbb
- bb test:load-all-namespaces-with-nbb now passes for all deps
- Updated nbb-logseq to support cljs.core/Atom
- Adjusted datascript.impl.entity with previous datascript.db require
  so that correct loading occurs in nbb
- fixed missing deps in logseq.outliner
- Converted a minor cljs.spec to malli since malli is nbb compatible
- Changed exists? to some? since they are functionally equivalent for
  the given arg and some? is nbb compatible
2024-01-15 12:43:16 -05:00
charlie 38eeb8cc8a enhance(ui): polish the shortcut label 2024-01-15 11:21:03 +08:00
Tienson Qin 774a159451 fix: history e2e tests 2024-01-14 16:55:07 +08:00
Tienson Qin b55e4e7380 fix: db requests could be dropped if some requests not finished yet 2024-01-14 12:55:55 +08:00
Gabriel Horner 951e7cc841 fix: ns-docstring and large-var deps lints
Also fixed db-and-file-graphs-separate lint and moved gp-property tests
that should be moved since their source code has moved from frontend
to gp-property
2024-01-12 17:03:09 -05:00
Gabriel Horner 66f57104ab fix: fail-invalid? option on in-app db validation
alert can't be called in a worker
2024-01-12 15:12:18 -05:00
Gabriel Horner 690764aa52 fix: unused time dep and duplicated time-ms fns
cljs-time shouldn't be added to nbb.edn since it's already included in
nbb-logseq (since parts of it aren't nbb compatible). duplicated
time-ms fns can now be removed since they are available to all deps
from common dep
2024-01-12 10:41:22 -05:00
Gabriel Horner 98dd1c2b5c fix: published graphs failing on class pages
Bring back get-namespace-pages impl that doesn't add :block/file
to db graphs. :block/file isn't used in db graphs.
Also got kondo lint back to green
2024-01-11 16:40:13 -05:00
Tienson Qin d5e62ae21f fix: ensure linear sequential transactions for the db worker 2024-01-12 04:14:22 +08:00
Gabriel Horner cdddce0120 fix deps db test and most lints
Also deleted duplicated gp-util.{page-ref,block-ref} files that were moved to common
and moved a related test to common dep
2024-01-11 14:35:04 -05:00
Gabriel Horner a81e18e9a6 fix: update nbb-logseq and make entity-plus nbb compatible
deps can now load in nbb and all nbb tests pass except for db
2024-01-11 13:10:06 -05:00
Tienson Qin 6173879ca0 fix: test 2024-01-12 00:41:03 +08:00