Commit Graph

415 Commits

Author SHA1 Message Date
Tienson Qin
85632cc631 enhance: paste block with text value should duplicate the value 2024-12-16 12:45:31 +08:00
Tienson Qin
277096d458 fix: unable to add a comment using # in codeblocks
fixes https://github.com/logseq/db-test/issues/168
2024-12-15 21:08:24 +08:00
Tienson Qin
8f57de2add fix: can't delete choice 2024-12-15 19:16:48 +08:00
Gabriel Horner
b89a4925d8 fix: Task descendant object added Task tag
when Status added. Fixes
https://test.logseq.com/#/page/675326b3-7e92-4cf0-b9d3-cc367049b920.
Also fixes class-instance? not working for parent classes
2024-12-06 14:41:21 -05:00
Tienson Qin
07c8b7ed74 fix: undo && redo 2024-12-04 17:33:46 +08:00
Gabriel Horner
1fc9a2f085 fix: outliner lint 2024-12-03 16:32:03 -05:00
Gabriel Horner
14a621fdcb fix: imported pages don't have :block/refs
Fixes logseq/db-test#134. Also does a good chunk of
https://github.com/logseq/db-test/issues/134 as ref calculation of db
graphs was refactored to be reused across UI and CLI
2024-12-03 16:16:56 -05:00
Tienson Qin
faf7f48860 refactor: internal ref uses [[uuid]] instead of ~^[[uuid]] 2024-11-30 17:12:15 +08:00
Tienson Qin
683a0bad94 fix: remove empty value if exists when setting a property value 2024-11-26 16:13:06 +08:00
Tienson Qin
d65834104b enhance: use default text value when adding property to non-tag node 2024-11-25 14:05:47 +08:00
Tienson Qin
d46dc73870 fix: creating a new text block when focusing on default value 2024-11-25 13:37:28 +08:00
Tienson Qin
6d0bdd6af0 fix: delete default value from a property result in empty placeholder 2024-11-25 12:43:09 +08:00
Tienson Qin
0f1cb55dce fix: set value to empty after deleting default property value 2024-11-25 12:21:50 +08:00
Tienson Qin
3fd6806920 fix: tag instance with positioned property shouldn't be collapsable 2024-11-21 18:32:45 +08:00
Tienson Qin
d9d04f0244 fix: position properties not shown with default values 2024-11-20 17:52:03 +08:00
Tienson Qin
efd2b4035c fix: edge cases for :number type default values 2024-11-19 18:08:17 +08:00
Gabriel Horner
cfa923ab1a fix: better fix for broken block refs in db graphs
Improve on 18eb5aaae5. The underlying
issue wasn't the special-id-ref-pattern but rather that when a block ref
is selected, the ref wasn't inserted correctly. Thx to query-dsl tests
for failing and making me aware of this
2024-11-15 16:45:00 -05:00
Gabriel Horner
18eb5aaae5 fix: block refs not working in db graphs
also add test helper being copied across namespaces
2024-11-15 14:46:32 -05:00
Gabriel Horner
af55aa951a enhance: allow child pages to have the same name
when they have different parents. Addressing 2nd section in
https://github.com/logseq/db-test/issues/7#issuecomment-2463162620
2024-11-12 16:29:45 -05:00
Tienson Qin
d8dd15f13c fix: :logseq.property/order-list-type kept using existing values
It needs to be updated to closed values
2024-11-05 00:46:16 +08:00
Tienson Qin
3a9bd3086c fix: lint 2024-11-05 00:46:16 +08:00
Tienson Qin
3b25d8f47f enhance: store url property value in :block/title
So that url can be written using the block editor.
2024-11-05 00:46:15 +08:00
Tienson Qin
0e65f04517 fix: always create a new block if :default property is not closed 2024-11-05 00:45:18 +08:00
Tienson Qin
0e5e07efe6 Merge branch 'feat/db' into refactor/dsl-query 2024-11-04 19:44:19 +08:00
Tienson Qin
04eaea43fd feat: add option to hide empty value for properties 2024-11-04 15:47:30 +08:00
Tienson Qin
38b0e1bfe3 Merge branch 'feat/db' into refactor/dsl-query 2024-11-04 12:43:36 +08:00
Tienson Qin
9354c95ef6 fix: both :block/parent and :block/page shouldn't counted as refs 2024-11-01 17:22:18 +08:00
Gabriel Horner
0036a5d9de fix: invalid throws and remove unused values
Caught by updating to latest kondo
2024-10-31 14:12:09 -04:00
Tienson Qin
03b3291486 Merge branch 'feat/db' into refactor/dsl-query 2024-10-31 20:57:40 +08:00
Tienson Qin
beb8c46b21 fix: hidden columns can't be toggled back 2024-10-31 13:25:41 +08:00
Tienson Qin
2e3c269375 fix: :checkbox type properties should be specified with position to
be used as positioned properties.
2024-10-18 17:36:58 +08:00
Tienson Qin
07a5187e30 enhance: show empty left && right positioned properties
Also fixed the issue that positioned property value can't be selected.
2024-10-18 17:24:52 +08:00
Gabriel Horner
e231192cda enhance: add import metadata
Useful for debugging different types of imports and knowing
when import was done, especially since it can differ from when
graph was created
2024-10-17 13:23:30 -04:00
Tienson Qin
3132c5c92e fix: tests 2024-10-14 22:22:25 +08:00
Tienson Qin
473fe192b1 fix: clear markdown heading when saving on db graph 2024-10-14 21:28:45 +08:00
Tienson Qin
c215f7e496 fix: worker add missing class or properties to typed display blocks 2024-10-14 21:23:58 +08:00
Tienson Qin
61d91bd16d refactor: remove # heading chars from block/title
fixes https://github.com/logseq/db-test/issues/129
2024-10-14 16:53:23 +08:00
Tienson Qin
2300f4e8c1 Merge branch 'feat/db' into refactor/assets 2024-10-09 19:46:07 +08:00
Tienson Qin
d6c6e10049 fix: /deadline can't input journal name with slashes 2024-10-09 16:53:40 +08:00
Tienson Qin
6d093927b9 fix: use existing asset if checksum matches 2024-10-08 14:21:50 +08:00
Tienson Qin
998fc66132 Merge branch 'feat/db' into refactor/assets 2024-10-08 11:54:31 +08:00
Gabriel Horner
830c275d54 chore: use internal-page? helper 2024-10-03 11:52:23 -04:00
Gabriel Horner
f898fb5cca fix: disallow more strange parent child relationships
when setting Parent property. property and journal shouldn't be a parent
of any page right now, especially with pages of other types. Maybe
property and whiteboard can have hierarchies later
2024-10-03 10:01:06 -04:00
Tienson Qin
85aed16c4e fix: wrong page created 2024-09-28 15:59:49 +08:00
Gabriel Horner
939dd23f79 chore: use test helpers across db tests
instead of copied and pasted versions
2024-09-27 14:54:03 -04:00
Tienson Qin
879a30593a fix: slow query ux (#11548)
* enhance: intuitive query input

* fix: Manually editing Query property doesn't update its results

fix https://linear.app/logseq/issue/LOG-3249/manually-editing-query-property-doesnt-update-its-results

* fix: don't close popup when editing hidden property

* enhance: display query setting icon when hovering title

* Use block's title as query if its query is still empty

* enhance: display both simple and advanced query as below when not collapsed
2024-09-28 02:52:06 +08:00
Gabriel Horner
2b782c601b chore: add db tests and start a logseq.db testing ns
Add acceptance test for newer validations and some useful unit tests for
untested fns at different layers
2024-09-27 14:28:30 -04:00
Tienson Qin
54f191c6c6 feat: code/quote/math block (#11545)
Add code, quote and math block
2024-09-26 14:14:20 +08:00
Tienson Qin
0dfb9fb8b5 fix: disallow a page from adding a class via parent property 2024-09-26 09:36:36 +08:00
Tienson Qin
374ebf7cea fix: don't create parent > child if a tag followed by a page
When creating a namespacing page.
2024-09-25 16:37:51 +08:00