Commit Graph

18312 Commits

Author SHA1 Message Date
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
Gabriel Horner
694ffe1351 fix: query builder showing ident names for properties
Now that idents are nanoid based, this is confusing ux
2024-09-12 20:45:28 -04:00
Gabriel Horner
8b9d2a601e enhance(dev): print ignored properties for CLI import 2024-09-12 17:25:42 -04:00
Gabriel Horner
16402e45c4 fix: remove buggy and inconsistent sort-by filter
In #11508 db graphs moved to a new table which improved but
changed how sort worked for queries. Better to deprecate
the text sort-by filter than to have a buggy and inconsistent sort
for queries
2024-09-12 16:57:35 -04:00
Gabriel Horner
eb65dd9c20 fix: lint and test
Also add a sanitized suffix to make them somewhat readable for debugging
and in places where users can see them e.g. simple queries
2024-09-12 15:00:17 -04:00
rcmerci
b59ae21618 test(rtc): add step6, delete-blocks case 2024-09-13 02:54:59 +08:00
Tienson Qin
24bed6fc3f Debug missing title
I'll add validate to make sure all valid nodes have string
:block/title values.
2024-09-12 23:42:19 +08:00
Tienson Qin
68ad7f4f19 refactor: use nanoid for user classes and properties
This commit doesn't affect old idents because RTC is not supported yet
and all new user idents will be `:user-or-whatever-namespace/nanoid`.
2024-09-12 22:57:21 +08:00
Gabriel Horner
bbd1ac4670 fix: backup back to hourly 2024-09-12 10:23:37 -04:00
rcmerci
d499d05fe0 fix(rtc): apply remote updates deleting blocks may crash rtc 2024-09-12 18:30:39 +08:00
Tienson Qin
ed08555f49 fix: backup handle should be unique for each graph 2024-09-12 13:02:45 +08:00
Tienson Qin
5b7cd68b78 enhance: keep the latest 12 hourly backups 2024-09-12 13:02:45 +08:00
Gabriel Horner
9f27f83f36 enhance: save graph's initial schema and created-at
With backups we're likely to have longer lived db graphs. Having this extra
data will be helpful for debugging and maybe migrations
2024-09-12 13:02:45 +08:00
Gabriel Horner
28aa62cd97 fix: update backup db name to be consistent
with how we name everywhere else. Helps later when we want to restore
a graph by directory to include assets. Also correct message
2024-09-12 13:02:45 +08:00
Tienson Qin
ad67958d17 enhance: auto backup every hour 2024-09-12 13:02:45 +08:00
Tienson Qin
bf351d4c29 feat: support db backup on web 2024-09-12 13:02:45 +08:00
charlie
a902fa5226 fix(ui): inline code in multi-line headers breaks block formatting https://github.com/logseq/db-test/issues/55 2024-09-12 11:28:56 +08:00
charlie
f7f2f2a238 fix(ui): checkbox truncated from positioned properties https://github.com/logseq/db-test/issues/63 2024-09-12 11:06:31 +08:00
Gabriel Horner
ddabf90263 fix: remove uniqueness on blocks for now
Fixes https://github.com/logseq/db-test-cn/issues/26. Also fixes
the same issue for duplicate queries. Revisit this when use
cases are better understood for tagged blocks
2024-09-11 21:35:16 -04:00
Gabriel Horner
4cd886cf1e fix: validate unique page by tags
only applies to type page. Otherwise their would be bugs
with properties and classes having duplicate names.
Also add test for f939b0eff1
2024-09-11 14:33:23 -04:00
Gabriel Horner
6dbc0ce4fc fix: validation allows user property to have same name as built-in property
This is consistent with how 'Add property' works. Fix for
https://github.com/logseq/db-test/issues/69#issuecomment-2343054408
2024-09-11 14:23:11 -04:00
Gabriel Horner
52a577c0e5 fix: users should not see unexpected errors
when already seeing more helpful notifications.
See https://github.com/logseq/db-test/issues/69#issuecomment-2342705411
for an example
2024-09-11 13:20:58 -04:00
Gabriel Horner
5c59c45b45 enhance: make default queries consistent with new task states
Fixes logseq/db-test#74
2024-09-11 10:27:15 -04:00
rcmerci
66f120e004 test(rtc): update fixture db 2024-09-11 21:38:21 +08:00