Commit Graph

17585 Commits (test/db)

Author SHA1 Message Date
Gabriel Horner be54ab98e6 fix: property simple queries by name
Maintains backwards compatibility for property filter queries
which fixes imported and handwritten property queries. Extended
sqlite.build and test-helper capabilities in order to test this.
Fixes LOG-3231
2024-09-17 14:39:30 -04:00
Gabriel Horner 65fca295c4 fix: query builder fails for non-keyword args 2024-09-17 13:30:13 -04:00
Gabriel Horner 9423eda275 fix: imported queries don't have #Query
Fixes LOG-3233. Also fix some test idents not being valid
2024-09-17 12:27:46 -04:00
Gabriel Horner 85af06beb3 fix: most imported journal pages didn't have #Journal
Fixes LOG-3234
2024-09-17 11:31:26 -04:00
Gabriel Horner 45f8922d6e fix: tag block with `#Query`
when user types it or when pasted. Fix following up #11508
2024-09-16 17:39:03 -04:00
Gabriel Horner 1a827476df fix: mark all pages view as built-in?
Related to
https://github.com/logseq/db-test/issues/91#issuecomment-2352315001 .
We should mark a view as built-in if it's removal leads to broken
built-in functionality
2024-09-16 14:53:50 -04:00
Gabriel Horner c8d43c2718 fix: users can't navigate to hidden or private built-in pages
Fixes https://github.com/logseq/db-test/issues/91 where user is creating
error states by accessing private built-in pages they shouldn't be able to access.
Also fixes https://github.com/logseq/db-test/issues/92#issuecomment-2352089389 where user could
navigate to hidden page
2024-09-16 12:51:37 -04:00
Gabriel Horner f8a94686ad fix: Wording of no filter chosen in views
Fixes logseq/db-test#95. Consistent with filter language in query
builder
2024-09-16 11:04:43 -04:00
Gabriel Horner b093d11666 fix: test without assertion 2024-09-16 08:43:49 -04:00
Tienson Qin 3001c88a7d fix: nodes with multiple reference aren't replaced correctly upon
deletion of references

Fixes https://github.com/logseq/db-test/issues/71
2024-09-16 06:45:30 +08:00
Tienson Qin b826fc5ba9 fix: built-in pages shouldn't be deleted
Fixes https://github.com/logseq/db-test/issues/91.

We still need to add validation before db/transact!, this will be
handled in another commit.
2024-09-16 06:24:38 +08:00
Tienson Qin 50816b8497 fix: duplicated blocks displayed in block reference preview 2024-09-16 05:41:54 +08:00
Tienson Qin 378476f418 fix: can't create page reference for today's date
fixes https://github.com/logseq/db-test/issues/85

This allows a block to reference its parents and a page's block to
reference this page.
2024-09-16 05:37:50 +08:00
Tienson Qin d463b64c78 fix: check for existing tags when converting page to tags
fixes https://github.com/logseq/db-test/issues/82
2024-09-16 04:49:09 +08:00
Tienson Qin 22c7f6747c fix: hide Search only current page from options when not on a page
Close https://github.com/logseq/db-test/issues/81
2024-09-16 04:34:08 +08:00
Tienson Qin b8e4f7d082 fix: toggle journals on if home page was deleted
fixes https://github.com/logseq/db-test/issues/89
2024-09-16 04:14:30 +08:00
Tienson Qin 23f8e9ca44
fix: Accessing date page from Graph View breaks Journals (#11525)
related to https://github.com/logseq/db-test/issues/80
2024-09-16 02:35:22 +08:00
Tienson Qin 3f3ab05d0a fix: restore tag's parent to Root tag when deleting its parent
Related to https://github.com/logseq/db-test/issues/75
2024-09-15 18:48:03 +08:00
Tienson Qin ca7fc83048 fix: built-in? value shouldn't be edited
Related to https://github.com/logseq/db-test/issues/75
2024-09-15 18:28:48 +08:00
Tienson Qin 7ac1d813ff chore: remvoe go to this page
fixes https://github.com/logseq/db-test/issues/79
2024-09-15 17:37:08 +08:00
Tienson Qin 4cdedf754e fix: can't update non-built-in property name
close https://github.com/logseq/db-test/issues/68
2024-09-15 17:29:07 +08:00
Tienson Qin 8fd59e61d5 fix: queries with "sample" are cycling repeatedly
fixes https://github.com/logseq/db-test/issues/90
2024-09-15 13:19:43 +08:00
Tienson Qin 7b9acaa370 fix: lint 2024-09-15 12:36:30 +08:00
Tienson Qin 4a42168dc3 fix: tag inheritance only going one level deep
fixes https://github.com/logseq/db-test/issues/88
2024-09-15 12:29:23 +08:00
Tienson Qin a47608e953 fix: inline namespace tag editing 2024-09-15 11:58:32 +08:00
charlie 27b9f6b5c6 enhance(api): WIP adjust property related APIs 2024-09-14 16:05:38 +08:00
charlie 681c345196 enhance(ui): incorrect separator item for the property dropdown editor 2024-09-14 14:28:41 +08:00
charlie 7076bfa08e enhance: support editor ref to export code mirror instance 2024-09-14 11:58:13 +08:00
charlie e30505550d fix(ui): deleting images from links https://github.com/logseq/db-test/issues/78 2024-09-14 10:03:41 +08:00
Gabriel Horner de14dbe800 enhance: import query properties to use new tables
Allows imported queries to use new query tables. Fixes LOG-3232
2024-09-13 18:33:53 -04:00
Gabriel Horner a246db8a82 fix: remove built-in properties only used by file graphs
In #11508 we switched to a new table component for db graph queries which left
these built-in properties unused. Also moved file query code to
file-based namespaces and fixed a bug where multiple query properties
couldn't be set for a file graph query
2024-09-13 12:08:42 -04:00
Tienson Qin b1a9e9ae30 fix: editor should always display the parent if exists 2024-09-13 23:56:00 +08:00
Tienson Qin dcc2d5b6c8 fix: class configure after creating a namespace tag 2024-09-13 23:56:00 +08:00
Tienson Qin ddf700ee71 fix: namespace tag 2024-09-13 23:56:00 +08:00
Tienson Qin f1ba09f0ff fix: lint 2024-09-13 23:56:00 +08:00
Tienson Qin 73f007ef62 fix: lint 2024-09-13 23:56:00 +08:00
Tienson Qin 487a40616c fix: lint 2024-09-13 23:56:00 +08:00
Tienson Qin 4b3534476c fix: display parent in editor mode 2024-09-13 23:56:00 +08:00
Tienson Qin 37e59b222d fix: namespace search for non-page blocks 2024-09-13 23:56:00 +08:00
Tienson Qin d6b0f260a4 fix: search namespace page 2024-09-13 23:56:00 +08:00
Tienson Qin a685eee5e1 fix: search support namespace page 2024-09-13 23:56:00 +08:00
Tienson Qin 2d2cd2e103 enhance: display namespace when possible 2024-09-13 23:56:00 +08:00
Tienson Qin bf50c8ca02 typo 2024-09-13 23:56:00 +08:00
Tienson Qin 8fa71f51b6 feat: support namespace pages and tags 2024-09-13 23:56:00 +08:00
Gabriel Horner c594f3c49a fix: update config ux to deprecate :journal/page-title-format
In #11491 we deprecated this config but didn't update config to let
users know. Also disable re-index warning which doesn't apply to db graphs
2024-09-13 08:51:07 -04:00
charlie affbc6fb7e fix(ux): boring hidden bug about the global `Enter` event 2024-09-13 20:18:04 +08:00
charlie f96433e9dd fix(ux): boring hidden bug about the global `Enter` event 2024-09-13 18:44:11 +08:00
rcmerci c746ab64e1 test(rtc): simplify code by sync-barrier 2024-09-13 14:21:16 +08:00
charlie ca00f843b7 fix(ui): markdown table horizontal scrollbar https://github.com/logseq/db-test/issues/84 2024-09-13 12:17:36 +08:00
charlie 1facbfea05 fix(ui): markdown-style checkboxes css glitch https://github.com/logseq/db-test/issues/58 2024-09-13 10:40:16 +08:00