Tienson Qin
4a5b6ccdcc
fix: update advanced query doesn't change the UI
2024-09-28 16:27:11 +08:00
Tienson Qin
85aed16c4e
fix: wrong page created
2024-09-28 15:59:49 +08:00
Tienson Qin
efd10b8b90
chore: disable get-query-result for now
2024-09-28 14:29:09 +08:00
Tienson Qin
d6f17ac7f3
fix: reactive custom query
2024-09-28 14:11:11 +08:00
Tienson Qin
150f40cbd7
fix: query builder shows raw id
2024-09-28 13:55:56 +08:00
Tienson Qin
22d2c83a91
fix: custom query not updated ( #11551 )
...
fix: custom query trigger
2024-09-28 13:44:35 +08:00
Gabriel Horner
6853acd0c9
fix: tweak datetime label
...
DateTime is a lot more common than Datetime as it makes Time more
distinct and easier for users to visually parse
2024-09-28 00:49:52 -04:00
Gabriel Horner
ac4af08996
fix: query table columns not resizable
...
fixes logseq/db-test#124
2024-09-27 16:48:39 -04:00
Gabriel Horner
68d350f898
fix: menu typo
2024-09-27 16:45:45 -04: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
Gabriel Horner
476e641c1a
chore: rename property node/type to node/display-type
...
node can be a block or page and type is a general enough word that
it could refer to one of those. Use a more specific name so we
don't confuse ourselves or our users
2024-09-26 22:24:26 -04:00
Gabriel Horner
41554646de
fix: objects with empty properties weren't collapsible
...
Also
- moved file specific collapse to only apply to file graphs
- removed db Query collapse branch b/c it was covered by other db
branches
- updated separate lint to include org mode syntax that is deprecated in
db graphs
2024-09-26 13:19:40 -04:00
Gabriel Horner
8ada49afa9
fix: deprecate org-mode blocks that are no longer
...
used with the new / commands in #11545 .
Also made language of deprecations consistent
2024-09-26 13:00:33 -04:00
Gabriel Horner
a0d4e43d18
enhance: add /Advanced Query for db graphs
...
Related to
https://linear.app/logseq/issue/LOG-3246/improve-advanced-query-editor .
Had to upgrade promesa to get p/doseq
2024-09-26 10:55:50 -04:00
Gabriel Horner
35aa732303
fix: remove accidental empty file
2024-09-26 08:56:25 -04:00
Tienson Qin
02aedbc30a
enhance: remove flashcards button text color
2024-09-26 14:26:46 +08:00
charlie
93685fefac
enhance(ui): polish colors for the srs buttons
2024-09-26 14:18:55 +08:00
Tienson Qin
54f191c6c6
feat: code/quote/math block ( #11545 )
...
Add code, quote and math block
2024-09-26 14:14:20 +08:00
charlie
b9be24e5c7
enhance(ui): polish srs buttons
2024-09-26 12:10:01 +08:00
charlie
c48c4c7ffc
enhance(ui): polish details for the page title
2024-09-26 09:57:48 +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
8b6d144126
fix: flashcards scrollbar
2024-09-26 09:24:02 +08:00
Gabriel Horner
128295416a
fix: properties graph generates queries correctly
...
with latest tag and query property
2024-09-25 18:27:51 -04:00
Gabriel Horner
2c687dc6cb
fix: advanced queries with :collapsed? can't open
...
:collapsed? isn't needed for db graphs. Also cleaned up query args
as query-dsl?, db-graph? and built-in? were duplicated and bindings were
a mess
2024-09-25 17:02:23 -04:00
Gabriel Horner
698245ede0
fix: builder shouldn't fail on handwritten
2024-09-25 14:34:29 -04:00
Gabriel Horner
d4b7720573
fix: remove last {{query reference seen in db graphs
...
Also fix return val of previous commit
2024-09-25 14:24:02 -04:00
Gabriel Horner
30a652631d
fix: incorrect return values when edn parsing fails for queries
...
safe-read-string assumed all parsed strings were maps by returning {}
on failure. This could lead to subtle bugs in our new query layer and
other non-map features like hiccup
2024-09-25 11:39:29 -04:00
Gabriel Horner
6363dc11ff
fix: invalid advanced query displays simple query editor
...
Also temp fix for separate lint
2024-09-25 10:04:53 -04:00
Tienson Qin
1f0641c9e3
enhance: display next repeat time near to card repeat buttons
2024-09-25 20:57:19 +08:00
Gabriel Horner
3aa489f82d
fix: block search intermittently failing hard in file graph
2024-09-25 08:41:58 -04:00
Tienson Qin
7a5731f4ce
enhance: add background color to flashcards buttons
2024-09-25 20:25:29 +08:00
charlie
def3cfce68
enhance(e2e): test block related APIs for db graph
2024-09-25 19:39:40 +08:00
charlie
8379277322
chore(libs): upgrade dompurify
2024-09-25 19:19:28 +08:00
Tienson Qin
c9b92992bb
fix: Namespace hierarchy section doesn't show
...
fixes https://linear.app/logseq/issue/LOG-3244/namespace-hierarchy-section-doesnt-show
2024-09-25 17:09:55 +08:00
Tienson Qin
b2c3742431
fix: update existing tag's parent when creating namespacing tag
2024-09-25 16:49:06 +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
Tienson Qin
6b245551a0
fix: wrongly input TAB to editor
2024-09-25 16:18:36 +08:00
rcmerci
b9a6c7a75d
dev: update clojure-version in ci files
2024-09-25 12:32:16 +08:00
rcmerci
fbd6d4a4c7
dev: update clojure-version in ci files
2024-09-25 12:24:40 +08:00
Tienson Qin
d9cd07bc2e
fix: logseq.property/query supports both dsl and datalog query
2024-09-25 06:37:49 +08:00
Tienson Qin
ac02648c33
fix: broken checkbox type
2024-09-25 05:49:00 +08:00
Tienson Qin
b19ee139ec
enhance: hide query builder and being able to edit query
2024-09-25 05:42:22 +08:00
Tienson Qin
bf150cf48c
enhance: load 7 journals instead of 1
2024-09-25 05:05:38 +08:00
Gabriel Horner
db4324fc33
fix: test broken by recent commit
2024-09-24 16:58:48 -04:00
Gabriel Horner
f41ce9d6df
fix: parser large var
2024-09-24 16:56:31 -04:00
Gabriel Horner
4eded5264d
fix: typing {{query is deprecated
...
and no longer creates tagged node. Related to #11540
2024-09-24 16:38:51 -04:00
Gabriel Horner
3555dede74
fix: db graph queries no longer need collapse logic
...
{{query is no longer used with query changes starting in #11540
2024-09-24 16:26:57 -04:00
Gabriel Horner
0c9c34d367
chore: consistently capitalize new class
2024-09-24 16:10:46 -04:00