Commit Graph

17405 Commits (23f8e9ca44536a1411fd5a29516578d920181f18)

Author SHA1 Message Date
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
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
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
Gabriel Horner 53a86bac0d fix: uneditable journal title shouldn't be editable
when on the journal page. Fixes logseq/db-test#67.
Also fix kondo lints
2024-09-11 09:08:05 -04:00
charlie 915e36581c dev(electron): support react developer tool for development 2024-09-11 18:18:15 +08:00
charlie d55b07b0ba enhance: delete btn for the date property picker 2024-09-11 15:34:06 +08:00
charlie 5ff2544cf2 fix(ui): icon color https://github.com/logseq/db-test/issues/72 2024-09-11 14:54:41 +08:00
charlie cce10f61a8 fix(ui): bg color for the repos dropdown 2024-09-11 14:29:06 +08:00
charlie cb101eb50c enhance(ux): editor blink for the block title include page ref links 2024-09-11 11:24:36 +08:00
charlie 279353aa32 enhance(ui): correct the node icons alignment for the searching result items 2024-09-11 11:00:11 +08:00