Commit Graph

16418 Commits (ba9d8d7920bcfb6e02ec07ca4a50deca2df0bf5e)

Author SHA1 Message Date
Gabriel Horner ba9d8d7920 Bump nbb with latest datascript
Test fixes are reasonable as datascript catches more invalid uses of
query
2024-07-02 20:17:02 +08:00
Gabriel Horner d7adee57e8 fix: Insufficient bindings error after datascript upgrade
After upgrading our forked datascript from 1.5.3 to 1.7.1,
bindings in two of our rules behaved differently. The workaround
of adding an `and` where none was required before is sufficient.
Fixes LOG-3177
2024-07-02 20:17:02 +08:00
Gabriel Horner 99769dbcbf fix: db/id enhancement failing non-tx validation contexts
Simplify addition of :db/id and add it without forcing adding :db/id
in all schema declarations
2024-07-02 20:17:02 +08:00
Gabriel Horner 772b2d7836 chore: add docs to explain property values more 2024-07-02 20:17:02 +08:00
Gabriel Horner 3809d58b21 fix: typos 2024-07-02 20:17:02 +08:00
Tienson Qin 9baa9a28eb fix: click outside popup should close it 2024-07-02 19:39:11 +08:00
Tienson Qin 52987fc02f enhance: table use fixed layout 2024-07-02 18:17:44 +08:00
Tienson Qin 0d117d8f0b fix: add/delete/change rows should be reactive 2024-07-02 17:26:47 +08:00
Tienson Qin a78360a2e0 enhance: add new object at the bottom of tables 2024-07-02 16:30:52 +08:00
Tienson Qin 72416a5875 wip: add new record 2024-07-02 15:07:10 +08:00
Tienson Qin 35c4e0c91c fix: clear search input when closing 2024-07-02 12:26:36 +08:00
Tienson Qin 0d02053c7c fix: block value style 2024-07-02 11:15:27 +08:00
Tienson Qin b4c8d8a4a3 enhance: add close button to exit search 2024-07-02 10:08:11 +08:00
Tienson Qin de3677ec42 fix: async query to load all objects 2024-07-02 10:01:16 +08:00
Tienson Qin dd3b74e89a fix: row selection 2024-07-02 09:44:19 +08:00
Tienson Qin c9f5d80399 fix: table row should be reactive 2024-07-01 16:31:04 +08:00
Tienson Qin c8a7033b47 fix: :checkbox filter 2024-07-01 16:28:55 +08:00
Tienson Qin 12580d7216 wip: time before and after operator 2024-07-01 15:38:48 +08:00
Tienson Qin 73cab4c7d3 fix: date-before and date-after 2024-07-01 14:36:38 +08:00
Tienson Qin d6231b821c fix: :string-contains and :string-not-contains 2024-07-01 14:07:48 +08:00
Tienson Qin 63024d6c16 filter value select 2024-06-30 17:46:37 +08:00
Tienson Qin 8990bef6c2 add :between operator 2024-06-30 16:09:45 +08:00
Tienson Qin 0e0592aaee Add more operators support 2024-06-30 14:58:10 +08:00
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