Commit Graph

930 Commits

Author SHA1 Message Date
llcc
0cf1e7adcc fix: wrong logbook creation 2022-02-25 09:20:08 +08:00
Tienson Qin
16537f5975 fix: poor performance for custom queries
related to #4285
2022-02-20 03:19:43 +08:00
Gabriel Horner
4fa4502eff Get CI back to green 2022-02-17 11:32:18 -05:00
leizhe
31706b7888 enhance(mobile): editing in large block 2022-02-17 22:26:36 +08:00
Tienson Qin
ee9b52248e Performance improvement: incremental queries (#4002)
Incremental queries
2022-02-17 20:26:03 +08:00
leizhe
c8621a7d08 fix(mobile): format only selected string as page reference 2022-02-16 08:19:17 +08:00
Andelf
1360df57d8 Merge branch 'master' into fix/long-page-loading-and-collapsed-state 2022-02-11 14:19:03 +08:00
Andelf
c6d6871684 fix(editor): wrong last pos when hashtag pressed 2022-02-10 18:34:30 +08:00
llcc
b637c2d85a fix: text goes beneath toolbar in large block on iOS (#4179)
* fix(mobile): text goes beneath toolbar in large block

Co-authored-by: leizhe <leizhe@leizhedeMacBook-Air.local>
Co-authored-by: Andelf <andelf@gmail.com>
2022-02-10 17:52:22 +08:00
Tienson Qin
e9e763f62f fix: incremental expand/collapse 2022-02-09 17:40:52 +08:00
Gabriel Horner
c6d03b67ab Merge branch 'master' into dev/var-sizes-linter 2022-02-08 12:02:39 -05:00
Tienson Qin
fe3f066a05 fix: long page stall loading and collapsed state 2022-02-08 21:17:52 +08:00
Tienson Qin
5d17315561 Clean code 2022-02-08 15:50:56 +08:00
Gabriel Horner
e81678fc69 Mark most vars as cleanup-todo
Fixed a few that I knew how to QA and were low risk
2022-02-04 16:57:49 -05:00
Tienson Qin
be7c8737ff fix: alias can't be a number
close #4078
2022-01-29 21:56:47 +08:00
Tienson Qin
d1cc77ae0c fix: when searching for text which is in a collapsed block, it is not opened
close #4017
2022-01-29 21:22:09 +08:00
Gabriel Horner
664b32e03a Merge branch 'master' into dev/add-unused-vars-job 2022-01-28 09:57:32 -05:00
Tienson Qin
21c36e69e2 feat: Shift click to select multiple blocks 2022-01-28 20:28:50 +08:00
Gabriel Horner
86868f1e15 Remove few more fns 2022-01-27 14:11:59 -05:00
Gabriel Horner
2c4ec54992 Save collapsed block to file as before #3855 2022-01-26 10:19:11 +08:00
Gabriel Horner
6e1d10753f Use url name consistently in modified editor fns 2022-01-22 00:01:11 +08:00
Gabriel Horner
757ac40fdd Add tag and url support for follow-link-under-cursor cmd
Plain urls, markdown urls and org mode urls all work
2022-01-22 00:01:11 +08:00
Tienson Qin
c3ebaaf51e fix: remove blank when deleting a block and append to its prev block 2022-01-20 11:31:43 +08:00
Tienson Qin
73e0c9968a enhance: safe check input on selectionStart 2022-01-19 23:08:50 +08:00
Tienson Qin
6aba8c3241 Improve long page editing performance (#3855)
* Remove expensive parsing when saving files

* Add limit to page blocks query

* Don't collapse block's body to make it compatible with other tools

* Alert if there're unsaved changes when switching graphs

* DB schema migration for :block/collapsed? from it's property

Co-authored-by: Andelf <andelf@gmail.com>
2022-01-18 10:37:31 +08:00
Junyi Du
dbbf0c9dd0 enhance: wrap title rename condition with page-name-sanity 2022-01-17 18:19:35 +08:00
Tienson Qin
21f2237227 fix: lint errors 2022-01-16 13:06:54 +08:00
leizhe
cbc44dee1b fix(iOS): empty block can't be backspace deleted
close https://github.com/logseq/logseq/issues/3648
2022-01-16 12:45:41 +08:00
Gabriel Horner
3ec587d6eb lint :all-the-things: 2022-01-16 12:42:34 +08:00
Tienson Qin
7c8e8e06c6 enhance: copy block refs and embeds 2022-01-13 23:21:38 +08:00
Gabriel Horner
7497d8b396 Lint a good chunk of src/main/frontend
Left some TODOs to discuss with others and others for me to finish
2022-01-11 17:34:54 -05:00
charlie
33fbb0aa1b fix(editor): backspace for emoji char 2022-01-10 16:58:01 +08:00
Junyi Du
ebd8e94c23 enhance: use search normalize 2022-01-10 16:28:29 +08:00
Junyi Du
e5dcb014e1 enhance: yet another page-name sanity improve 2022-01-10 13:29:40 +08:00
Junyi Du
7505b0dde6 fix: introduce more page-name sanity 2022-01-10 13:29:40 +08:00
leizhe
e8cd70f17d fix(iPad): wrong ac position 2022-01-10 13:29:13 +08:00
leizhe
61f7653e79 fix(mobile): modal pop window position 2022-01-10 13:29:13 +08:00
Tienson Qin
e627d5ddcf fix: expand/collapse all doesn't work in "Linked Reference" section
close #3803
2022-01-10 13:00:33 +08:00
Charlie
3ea7635daa Enhance/marketplace (#3686)
Marketplace enhancement

Nested modal support
2022-01-07 19:00:35 +08:00
Tienson Qin
7ad04d8405 fix: can't paste 2022-01-07 11:07:41 +08:00
leizhe
b45ed4534e enhance(mobile): add list icon
Features:
- create an empty list
- toggle current line to a list item
- toggle ordered/unordered list
2022-01-06 20:22:19 +08:00
leizhe
c317836857 enhance(mobile): () supports toggle between block reference/embed
1. (| denotes cursor postion),
   - insert `((|))` after first click
   - change `((|))` to `{{embed ((|))}}`
   - later click toggles between `((|))` and `{{embed ((|))}}`
2. if cursor at `((uuid-uuid-uuid|))`, the reference will be changed to`{{embed
((uuid-uuid-uuid))}}|` when clcking the icon, and vice versa.
2022-01-06 20:22:19 +08:00
leizhe
f39df32872 enhance(mobile): [] supports toggle between page reference/embed
1. if text selected, toggle the text to a page reference `[[text]]`
2. if no text selected (| denotes cursor postion),
   - insert `[[|]]` after first click
   - change `[[]]` to `{{embed [[|]]}}`
   - later click toggles between `[[|]]` and `{{embed [[|]]}}`
3. if cursor at [[text|]], The reference will be changed to`{{embed
[[text]]}}|` when clcking the icon, and vice versa.
2022-01-06 20:22:19 +08:00
leizhe
ab3e6a78b0 enhance(mobile): paste Youtube/Twitter URL as macro 2022-01-06 20:22:19 +08:00
leizhe
7a8aa9329c feat(mobile): add priority toggle button to toolbar 2022-01-06 20:22:19 +08:00
Tienson Qin
9f8028d51b enhance: separate references/queries collapse state from db
addresses #3744
2022-01-05 20:42:06 +08:00
leizhe
22b1bf994c preventDefault event 2022-01-05 12:14:47 +08:00
leizhe
51ce3c4cf7 enhance(dwim): dwim on paste in source block or admonition
Clipboard data with newlines will be inserted as raw text in source
block or admonition.
2022-01-05 12:14:47 +08:00
Tienson Qin
94d185b6f2 fix: Collapse all collapses the whole zoomed in hierarchy
Instead of just below the clicked bullet.

Related to https://github.com/logseq/logseq/issues/3734#issuecomment-1005003877
2022-01-05 10:15:53 +08:00
Tienson Qin
8cc194ce60 fix: expand/Collapse all doesn't work when zooming in a block
addresses #3734, #3735
2022-01-04 23:01:47 +08:00