Gabriel Horner
702b5b45b5
fix: can add '#' to property name through dropdown
...
Also fix blank property name not giving user a notification
2024-09-19 11:11:55 -04:00
Gabriel Horner
cfd561d28c
fix: validation error messages don't match user messages
2024-09-19 11:04:01 -04:00
Gabriel Horner
c0e7ffe444
fix: graph-parser lint
2024-09-19 10:33:35 -04:00
Tienson Qin
b37a268706
fix: lint and test
2024-09-19 19:46:30 +08:00
Tienson Qin
e7e579d3de
fix: pasting differently formatted dates disappear after entry
...
fixes https://github.com/logseq/db-test/issues/103
2024-09-19 18:39:02 +08:00
Tienson Qin
c3f0cc1953
fix: disallow # in page name
...
Because it creates ambiguity in some cases:
1. With cmd-k we can’t tell the difference between an Apple page
tagged with Fruit and a page named "Apple #Fruit"
2. What should we do with [[Apple #Fruit king]]?
3. Is `#` for Markdown heading or part of a page name?
Fixes https://github.com/logseq/db-test/issues/100
Fixes https://github.com/logseq/db-test/issues/106
Fixes https://github.com/logseq/db-test/issues/105
2024-09-19 06:31:26 +08:00
Gabriel Horner
55ce311173
fix: type page failing for docs graph
...
Looks like the introduction of :logseq.property.view/type
triggered a bug with new pages having the same name as a built-in
and having a page property. This is a followup fix to LOG-3039
2024-09-18 16:26:56 -04:00
Gabriel Horner
ff10ca99bd
fix: consistently capitalize properties and classes
...
Also capitalize a page section like other sections
2024-09-17 16:49:41 -04:00
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
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
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
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
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
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
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
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
Gabriel Horner
8b9d2a601e
enhance(dev): print ignored properties for CLI import
2024-09-12 17:25:42 -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
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
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
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
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
5146e0da40
fix: validate property name when changed from menu
...
Fixes logseq/db-test#69
2024-09-10 17:45:05 -04:00
Gabriel Horner
54c6da3232
fix: better names for column toggle and all pages view
...
'Properties visibility' wasn't correct as we display column options that aren't
properties
2024-09-10 09:53:14 -04:00
Tienson Qin
19f3f287fe
Feature: tag multiple views ( #11511 )
...
Add tag multiple views support
2024-09-10 16:12:25 +08:00
charlie
1561a5b98f
fix(ui): page crash for the tagged journal node icon
2024-09-10 11:56:00 +08:00
Gabriel Horner
fc58750557
fix: choices for new view type weren't translateable
...
Follow up to #11508 . Avoid dynamically generating built-in property
choices as it prevents us from being able to translate this easily. All
other built-in choices are strings in a file that we can easily
translate
2024-09-09 16:10:27 -04:00
Gabriel Horner
2059eaa4f2
fix: test assertions changed by last commit
2024-09-09 15:53:40 -04:00
Gabriel Horner
4962aad8ba
fix: file graph console error while typing priority
...
Typed '[#' and saw an error. build-new-class shouldn't be
be called for file graphs
2024-09-09 15:35:02 -04:00
Tienson Qin
c268841121
refactor: query result with the new table view ( #11508 )
...
feat: table && list view
2024-09-09 06:55:37 +08:00