Commit Graph

16445 Commits (2f50b410664e5472104bca998511eeda1bc3803c)

Author SHA1 Message Date
Tienson Qin 322a0db835 Enhance: don't close properties dropdown when selecting properties 2024-06-29 14:50:05 +08:00
Tienson Qin 6c653094dd wip: class objects table 2024-06-29 00:50:30 +08:00
Tienson Qin dbd9ab6bbb fix: prefer to use db-based schema's cardinality && valueType
Instead of those values stored in the property blocks.
2024-06-27 23:24:35 +08:00
Tienson Qin 16c7a52468 enhance: add :db/id to invalid entity map when validated failed 2024-06-27 22:40:54 +08:00
rcmerci 6306971a46 fix(rtc): also watch :property.value/content when apply update-op 2024-06-27 20:20:00 +08:00
rcmerci aac68c16e9 fix(rtc): handle :move+update-attrs remote-op 2024-06-27 20:18:28 +08:00
Tienson Qin ade53ebce1 fix: prefer passed page-uuid 2024-06-27 17:55:35 +08:00
rcmerci acede524dd chore: assert when create-page 2024-06-27 17:51:35 +08:00
rcmerci 1a8921a407 chore: lint 2024-06-27 17:22:54 +08:00
rcmerci eb1a7a3de4 fix(rtc): transact db-schema first, then normal-blocks when download-graph 2024-06-27 17:21:37 +08:00
Tienson Qin 736c0b1f49 fix: lint 2024-06-27 17:01:17 +08:00
Tienson Qin d96f28ca7c enhance: all pages support fuzzy search 2024-06-27 16:37:44 +08:00
Tienson Qin fec74edc0c Revert "fix: don't set :logseq.property/built-in? for properties"
This reverts commit e5bb634a08.
2024-06-27 16:27:41 +08:00
Tienson Qin 073427d898 enhance: add backlinks and type to all pages 2024-06-27 16:27:15 +08:00
Tienson Qin 324a6f91ca Merge branch 'experiment/tanstack-table' into feat/db 2024-06-27 15:49:24 +08:00
Tienson Qin d8c94b7a2f Revert "feat(shui): add shui table & expose tanStackReact APIs"
This reverts commit e2b6623ef5.
2024-06-27 15:48:45 +08:00
Tienson Qin e5bb634a08 fix: don't set :logseq.property/built-in? for properties
We still keep :logseq.property/built-in? for built-in classes, pages
and closed values.

Reasons why this change:
1. built-in? value is a entity (which type is `checkbox` and value is
`true`), this breaks the rule that db attributes shouldn't reference
non-db-attribute blocks, it also forces us to load the built-in? value
entity first when loading the db.
2. we already have a built-in properties map, we can use it to check
whether a property is built-in.
2024-06-27 15:10:33 +08:00
Tienson Qin 4f8a7fd7c9 fix: hide built-in pages 2024-06-27 13:49:05 +08:00
Tienson Qin 9fdca1c3ff enhance: limit width for columns 2024-06-27 13:31:59 +08:00
Tienson Qin 055570fff5 feat: virtualized table 2024-06-27 13:16:17 +08:00
Gabriel Horner b70ba087b3 fix: new graph-parser test passes with clj runner
part of LOG-3092
2024-06-26 16:14:50 -04:00
Gabriel Horner 66536b165b fix: frontend lint 2024-06-26 15:59:51 -04:00
Gabriel Horner e619874dc4 enhance: add acceptance test for file to db graph import
Part of LOG-3092
2024-06-26 15:59:09 -04:00
Gabriel Horner 51a2c1425f fix: db import for very basic file
Basic file couldn't import because :block/name is no longer unique for
db graphs. Part of LOG-3176
2024-06-26 15:59:09 -04:00
Gabriel Horner 5520bc1d33 fix: import single file from CLI didn't print error
Also improved CLI error reporting so sci stack is readable and
not filled with stack fn docstrings
2024-06-26 15:59:09 -04:00
Tienson Qin b6bdc4b1d5 chore: update datascript version 2024-06-27 00:35:37 +08:00
Tienson Qin 039804d87a chore: bump upstream datascript 2024-06-27 00:26:31 +08:00
rcmerci 1f29628be5 enhance(rtc): :logseq.kv/schema-version will be downloaded from remote 2024-06-26 22:45:11 +08:00
Tienson Qin a21a61fde6 fix: sorting 2024-06-26 22:26:20 +08:00
Gabriel Horner 5e5a8ee1df fix: display property names not idents for query
table and settings
2024-06-26 09:34:33 -04:00
Tienson Qin 67bce113bb enhance: all pages sort by updated at desc by default 2024-06-26 20:56:27 +08:00
Tienson Qin cc56ba1227 add delete support for all pages 2024-06-26 20:27:33 +08:00
Tienson Qin a76c7a8014 wip: all pages with the new table 2024-06-26 18:44:28 +08:00
Tienson Qin 5c965e5235 fix: load all pages initially
There're still some issues when loading partial pages initially,
let's improve the performance during the test.
2024-06-26 17:46:52 +08:00
charlie 958ba90115 enhance(ui): refactor classic modal with the shui dialog 2024-06-26 16:41:43 +08:00
Tienson Qin 35060a35d9 fix: new property on new graph doesn't show up
fixes LOG-3170
2024-06-26 16:24:32 +08:00
rcmerci 4d56ae039e test(rtc): add ut case for update-remote-data-by-local-unpushed-ops-test 2024-06-26 16:05:34 +08:00
rcmerci a42ac9ce30 fix(rtc): avoid updating :block/order incorrectly 2024-06-26 14:43:24 +08:00
charlie 119b519e2a Merge branch 'feat/db' into experiment/tanstack-table 2024-06-26 11:33:18 +08:00
charlie 3dc019b567 Merge branch 'master' into feat/db 2024-06-26 10:02:41 +08:00
charlie d278067f8c enhance(ui): support hide close button option for the shui dialog 2024-06-26 10:01:54 +08:00
charlie 0c2dd53c2f enhance(ui): refactor classic modal with the shui dialog 2024-06-26 09:29:20 +08:00
Gabriel Horner 84638989f6 chore: remove some unused db fns and aliases
and some aliases that were barely used
2024-06-25 17:37:52 -04:00
Gabriel Horner c772b0cdd1 fix: migrate built-in? property to use :checkbox
Can now delete temporary :boolean type
2024-06-25 15:02:25 -04:00
Tienson Qin 2cdfaa7fdf Remove debug 2024-06-25 22:42:53 +08:00
Tienson Qin 9b259a8291 fix: shui table demo 2024-06-25 22:42:23 +08:00
Tienson Qin da602e7490 wip: shui table 2024-06-25 19:10:58 +08:00
charlie 946499ad56 enhance(ui): support auto width for the shui dialog content 2024-06-25 18:06:13 +08:00
charlie 327664aac0 enhance(ui): refactor classic login modal with the shui dialog 2024-06-25 17:27:51 +08:00
charlie e2ff6e1990 enhance(ui): refactor classic modals with the shui dialog 2024-06-25 15:37:11 +08:00