Commit Graph

1057 Commits

Author SHA1 Message Date
Ben Yorke
928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
Tienson Qin
a842b7de72 fix: align block content for ordered items and unordered items 2023-05-12 18:51:12 +08:00
Tienson Qin
01479ef9da enhance(perf): insert and delete blocks (#9142)
* enhance(perf): improve performance for both insert and delete

* fix: remember cursor pos before executing the body in a transaction

Otherwise, the edit-block and position could be changed

* fix: disable delete-concat when there's no child or right sibling

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-05-09 17:24:09 +08:00
charlie
9367590d9b Merge branch 'master' into feat/custom-children-list-style 2023-04-28 10:30:53 +08:00
Andelf
0c91829365 fix(editor): handle protocol urls
Related: #9243
2023-04-27 14:30:46 -04:00
charlie
90f4bff1d5 Merge branch 'master' into feat/custom-children-list-style 2023-04-26 10:05:18 +08:00
Andelf
c3d50879d2 Fix: no collapse control on collapsed query block for mobile (#9233)
* fix(mobile): no collapse control for query block
2023-04-25 19:54:58 +08:00
Andelf
a301f25474 Revert "Feat: ordered(number) list blocks (#9141)"
This reverts commit 68492a5c67.
2023-04-25 12:37:30 +08:00
Charlie
68492a5c67 Feat: ordered(number) list blocks (#9141)
* fix(ui): marker of number list
* feat(ui): sub alpha marker for order block (own-property)
* fix(ui): make order list style more compatiable
* fix(ui): reactive block state for all the order list related items
* improve(ux): backspace for the empty order list block
* improve(ui): slash commands for the own number list block
* fix(ui): incorrect order list number for the root block
* fix(ui): order list not work for the custom query blocks
* fix(ui): contextmenu for the number list marker
* improve(ui): remove the property of `logseq.children-as` for the order list feature
* fix(ui): incorrect order list number for the journal pages list
---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-04-25 12:24:09 +08:00
charlie
2f6377ed4c Merge branch 'master' into feat/custom-children-list-style 2023-04-25 10:22:55 +08:00
Tienson Qin
f8178bcd9b fix: lazy loading shakes (#9139)
* fix: lazy loading shakes

Also, enable lazy loading on mobile

* enhance(perf): lazy load deadlines and scheduled

* enhance(perf): clean up queries when components are invisible

For queries including both ::ref and ::block.
2023-04-24 18:29:19 +08:00
charlie
e1fac24aa5 improve(ui): remove the property of logseq.children-as for the order list feature 2023-04-21 17:50:21 +08:00
charlie
e075d23758 improve(ui): remove the property of logseq.children-as for the order list feature 2023-04-21 17:45:57 +08:00
charlie
5ba0a0b0b9 fix(ui): order list not work for the custom query blocks 2023-04-21 11:07:46 +08:00
charlie
6f79a84920 refactor: remove unused codes 2023-04-19 10:00:32 +08:00
charlie
22246fcdb3 fix(ui): reactive block state for all the order list related items 2023-04-18 18:24:12 +08:00
charlie
91da91ee3f feat(ui): WIP number list block (own-property) 2023-04-18 12:30:19 +08:00
charlie
c73cb28e1d Merge branch 'master' into feat/custom-children-list-style 2023-04-17 20:21:22 +08:00
Phoenix Eliot
b547ad8fbc Show marker when block text is empty 2023-04-17 15:05:20 +08:00
charlie
8d6e9b7cfd feat(ui): WIP number list block (own-property) 2023-04-14 16:46:05 +08:00
charlie
ae652b5637 feat(ui): WIP number list block (own-property) 2023-04-13 17:07:06 +08:00
charlie
a98e612a54 Merge branch 'master' into feat/custom-children-list-style 2023-04-13 01:00:40 +08:00
Tienson Qin
7b1c377e3a fix: whiteboard breadcrumb 2023-04-13 00:21:21 +08:00
Tienson Qin
cb7e1321c0 fix: disable reactive queries in api
close #9063
2023-04-12 23:57:05 +08:00
charlie
c8387e9663 fix(ui): breadcrumb fragments overflow in query results container 2023-04-12 23:26:01 +08:00
Tienson Qin
98861a6bfa fix: don't show breadcrumb when there's no parents 2023-04-12 22:03:03 +08:00
charlie
d8af0cc35a feat(ui): WIP number list block 2023-04-12 17:43:14 +08:00
Tienson Qin
339fb7ceb2 fix: buggy selection hightlights (#9074) 2023-04-12 17:19:06 +08:00
Tienson Qin
b17c4ea37e enhance: show custom title instead of live query for custom queries (#9026)
* enhance(ui): replace live query with custom title if exists

also moved query related components to frontend.components.query

* fix: simplify query components' state
2023-04-12 11:12:05 +08:00
charlie
d4950b1898 enhance(ui): add hint class for the blank content block 2023-04-12 00:40:20 +08:00
Tienson Qin
fdef07ded9 fix: trigger query only once 2023-04-07 14:13:03 +08:00
Tienson Qin
0352a14486 fix: built-in queries share the same logic as other custom queries 2023-04-07 14:13:03 +08:00
Gabriel Horner
b2e6e3d16b Update large-var kw to reflect correct state 2023-04-04 11:49:03 -04:00
charlie
9b4fcbba66 fix: lint 2023-04-04 11:49:03 -04:00
charlie
cd844da008 fix(ui): heading image overflow for the breadcrumb items 2023-04-04 11:49:03 -04:00
charlie
4e631eed0c fix(ui): heading image overflow for the breadcrumb items 2023-04-04 11:49:03 -04:00
Gabriel Horner
980b4b45b2 Bring back result count for built-in queries
Fix #8925 and fix #8950
2023-03-29 23:03:56 +08:00
Tienson Qin
446797cdd7 enhance: wrap breadcrumbs 2023-03-29 17:30:46 +08:00
Tienson Qin
6b47d37e31 fix: lint 2023-03-29 17:30:46 +08:00
Tienson Qin
1c3b92d1e3 enhance: use icon for breadcrumb separator 2023-03-29 17:30:46 +08:00
Tienson Qin
43bb77322f fix: query with breadcrumbs show blocks on wrong hierarchy
close #5859
2023-03-29 17:30:46 +08:00
Tienson Qin
c1e8d6ed8e refactor: path/absolute? 2023-03-28 09:14:42 +08:00
Andelf
2ad52eab3e fix(fs): file editing on windows 2023-03-28 09:14:42 +08:00
Andelf
94b27014dd fix(fs): asset path on windows 2023-03-28 09:14:42 +08:00
Andelf
c79c352e08 fix(fs/mobile): ios fs and loading fix 2023-03-28 09:14:42 +08:00
Andelf
3c0973013b refactor(fs): mv fs2 logic to logseq.common pkg 2023-03-28 09:14:42 +08:00
Andelf
abf7d55c7c refactor(fs): rm redundent return date from fs protocol
fix(fs): asset url loading under nfs backend
2023-03-28 09:14:42 +08:00
Andelf
6082663f4c fix(electron): assets:// url handling 2023-03-28 09:14:42 +08:00
Andelf
d666a6d35a refactor(fs): rework on electron fs 2023-03-28 09:14:42 +08:00
Andelf
bbb655ff43 refactor(fs): handle asset deletion 2023-03-28 09:14:42 +08:00