charlie
9e88068a3a
Merge branch 'feat/db' into enhance/code-type-block
2024-09-30 15:58:26 +08:00
Konstantinos
e09db5de59
Enhance (dev): Tabler icons ( #11468 )
...
* handle tabler-icons resources
* test removing tabler-icons-react
* Revert "test removing tabler-icons-react"
This reverts commit ea2553628d .
* replace @tabler/icons-react with tablerIcons on dist file
* fix: incorrect global react variable for the tabler react library
---------
Co-authored-by: charlie <xyhp915@qq.com >
2024-09-30 11:33:01 +08:00
charlie
ebe2d794cc
enhance(ux): up/down for the code type block
2024-09-30 11:18:40 +08:00
charlie
d8bbea8ac2
enhance(ux): up/down for the code type block
2024-09-29 19:52:21 +08:00
charlie
a045504708
Merge branch 'feat/db' into enhance/code-type-block
2024-09-29 10:59:18 +08:00
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
14e37941c0
Update README.md
2024-09-28 14:15:26 +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
charlie
87ecb4f7c1
enhance(ux): polish workflow for the code type block
2024-09-27 17:59:25 +08:00
charlie
ca08ba94e1
enhance(ux): polish workflow for the code type block
2024-09-27 14:34:22 +08:00
charlie
d02488de2b
enhance(ux): add mode picker for the code editor
2024-09-27 12:30:06 +08:00
charlie
3f4337aa4b
Merge branch 'feat/db' into enhance/code-type-block
2024-09-27 10:35:42 +08: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
charlie
f58e483a69
enhance(ux): upsert typed block
2024-09-27 10:11:43 +08:00
charlie
40323a19ae
enhance(ui): primary text color for the code block text
2024-09-27 09:54:52 +08:00
Tienson Qin
82a70921fb
feat: able to reference an asset file
2024-09-27 08:15:26 +08: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
Tienson Qin
17e808989a
wip: store assets as blocks
2024-09-26 22:50:58 +08: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