Commit Graph

1582 Commits (62252479eeb4bed0c4db3c0a20024b36d34425b0)

Author SHA1 Message Date
Gabriel Horner 62252479ee fix: db import of some whiteboard pages
Also fix old whiteboards not having correct :block/type.
Part of LOG-3176
2024-07-12 14:22:10 -04:00
Gabriel Horner 60cd9b00da fix: db import of namespaced page created invalid class
Encountered this with docs graph. Part of LOG-3176
2024-07-12 12:32:48 -04:00
Gabriel Horner ff5d145e36 fix: docs graph failing to translate :query-properties
when using :property-classes option. Also translate :tags
which isn't a user property. Part of LOG-3176
2024-07-12 11:02:15 -04:00
Gabriel Horner 7c19f9faad fix: db import of whiteboards shouldn't fail
Can't visually confirm import yet b/c of whiteboard bug
but at least whiteboard import is valid. Part of LOG-3176
2024-07-12 00:28:03 -04:00
Gabriel Horner 9869bed612 fix: db import of some deadline blocks being invalid
Ignore repeated as it's not supported. Part of LOG-3176
2024-07-11 23:29:11 -04:00
Gabriel Horner 879e07b2f4 fix: db import of aliases
Also ignore :filters for now so they don't make graphs invalid and
add more tests for tags. Part of LOG-3176
2024-07-11 23:13:08 -04:00
Gabriel Horner 33785dca66 fix: db-import of :query-sort-by property
Also fix warning notifications printing empty error logs.
Part of LOG-3176
2024-07-11 18:00:21 -04:00
Gabriel Horner 0bcd48d724 fix: db import when :page property changes to :default
Also fix frontend import's db-browser/transact! wasn't getting or
updating all of the imported tx changes. Part of LOG-3176
2024-07-11 17:23:34 -04:00
Gabriel Horner 21f959e5c0 chore: add more db-import tests
Test for float and ref block/content replacement. Part of LOG-3092
2024-07-10 16:18:04 -04:00
Gabriel Horner 7ce983df24 refactor: move ignored properties page to its own test
Moved it to ignored/ so that frontend import of test-exporter-graph isn't
always displaying warnings. Part of LOG-3092
2024-07-10 15:05:38 -04:00
Gabriel Horner 2718ee3b20 fix: new property causes invalid graph
New property namespaces are declared in this var /RCmerci
2024-07-10 10:01:54 -04:00
rcmerci a0ef7b3407 enhance(rtc.asset): add built-in property :logseq.property.asset/remote-metadata 2024-07-10 18:44:20 +08:00
Gabriel Horner c406cb2461 fix: db import when properties change from :date to :page
Part of LOG-3176
2024-07-09 15:22:35 -04:00
Gabriel Horner 60b13a525e fix: db import of collapsed block being invalid
Also cleanup infer fn which had import-specific code and add tests
for :default to :page :type change. Part of LOG-3176
2024-07-09 14:23:22 -04:00
Gabriel Horner 8279205fc7 fix: db import of property :type changes to :default
Just handles :one cardinality so far. Part of LOG-3176
2024-07-09 12:33:35 -04:00
charlie f3888e4509 enhance(ui): polish priority related icons 2024-07-09 10:53:35 +08:00
Gabriel Horner 0f7f4d431e fix: db import of a page with two uses of new property
Also add tests for :date property and first property change.
Part of LOG-3176
2024-07-08 21:48:28 -04:00
Gabriel Horner 5b4cb0d213 chore: add test for block refs
Part of LOG-3092
2024-07-08 16:05:30 -04:00
Gabriel Horner 13048a901c chore: add more property tests for db import
Part of LOG-3092
2024-07-08 15:59:33 -04:00
Gabriel Horner 057d6b459f fix: :url property values with macros
Macros in :url are useful for having urls with a common hostname that
can be configured once. Without this fix, docs graph is invalid
2024-07-08 13:34:28 -04:00
Gabriel Horner 47cbe96126 chore: reduce logging verbosity of parser tests 2024-07-08 12:15:07 -04:00
Gabriel Horner 3d732cb018 fix: new class should always set :block/type to "class"
New change with :block/type "page" was causing :tag-classes option to
fail. Part of LOG-3176
2024-07-08 11:46:27 -04:00
charlie 95ebc1e805 fix(ui): z-index for the table header row 2024-07-08 23:23:31 +08:00
Gabriel Horner 4efca908a4 fix: sqlite.build not generating valid pages and journals 2024-07-08 11:06:34 -04:00
Gabriel Horner f7b753758c fix: tests with outdated :block/type assertions
also fix lint
2024-07-08 09:51:29 -04:00
Tienson Qin 374f43e0c4 enhance: add table action bar 2024-07-08 16:12:57 +08:00
charlie 73c4bac53c enhance(ux): add the table footer row 2024-07-08 14:03:45 +08:00
Tienson Qin 57c578d215 enhance: add class property directly from table 2024-07-08 11:56:04 +08:00
Tienson Qin b9603c56b7 refactor: create blocks for class views
Table state will be stored in the view entity instead of the class.

This is for multiple views support, there could be multiple views
including table, kanban, card, etc.
2024-07-08 09:46:30 +08:00
charlie 19505ae692 fix(ui): css tweaks for the ls table container 2024-07-07 21:44:07 +08:00
Tienson Qin 1854286cf0 refactor: persistent views stored using blocks 2024-07-07 21:05:14 +08:00
charlie 73a53cb368 enhance(ux): WIP another solution for the sticky table header row 2024-07-07 15:41:24 +08:00
Tienson Qin e27e5f9aa9 fix: built-in? value block is not loaded 2024-07-07 15:08:12 +08:00
Tienson Qin ff4d3a9c14 enhance: use virtualized-list instead of virtualized-table
This should makes it easier to implement group-by
2024-07-07 14:56:14 +08:00
Tienson Qin 1a0b333e7d Merge branch 'refactor/add-page-type' into feat/db 2024-07-07 13:31:27 +08:00
Tienson Qin 7f209d1776 fix: add page type for file graphs too 2024-07-07 13:29:34 +08:00
Tienson Qin 49b9bfc487 fix: add page type for old db graphs 2024-07-07 13:18:54 +08:00
charlie 61afe1ee2f enhance(ux): WIP sticky header for the objects table 2024-07-07 11:25:43 +08:00
Gabriel Horner 564effbe07 fix: db import of property pages with new properties
Part of LOG-3176
2024-07-06 21:42:31 -04:00
Gabriel Horner 8008ae4a76 fix: db import of tagged pages and blocks
using :property-classes option. Part of LOG-3176
2024-07-06 17:13:44 -04:00
Gabriel Horner 655c701d9d chore: make last arg optional for get-page-blocks 2024-07-06 12:24:07 -04:00
Gabriel Horner b870d71ea2 chore: configure and test importing favorites
Also test :hidden config with existing page count assertion and new ignored page
2024-07-06 12:15:52 -04:00
Tienson Qin dc456c0c72 fix: get children classes' objects too for a parent class 2024-07-05 22:08:26 +08:00
Tienson Qin 84f7266d96 wip: add "page" :block/type 2024-07-05 21:27:33 +08:00
charlie 821caa2536 enhance(ux): WIP sticky header for the objects table 2024-07-05 17:30:23 +08:00
Tienson Qin 3bcd90c80b enhance: show select when hovering on it 2024-07-05 15:55:04 +08:00
Tienson Qin f0b496db93 Merge branch 'feat/tables' into feat/db 2024-07-05 15:25:10 +08:00
Tienson Qin d523948803 Use new tables for all pages 2024-07-05 15:13:34 +08:00
charlie d4e8f1d90c enhance(ux): management for the property shortcuts in the global shortcuts module 2024-07-04 18:14:58 +08:00
Tienson Qin 31305e1904 Merge branch 'feat/db' into feat/tables 2024-07-04 14:48:55 +08:00