Commit Graph

8074 Commits

Author SHA1 Message Date
Andelf
739f228b26 fix(editor): auto complete parenthesis at line start 2023-05-22 22:22:05 +08:00
Andelf
f6211c77b7 refactor(editor): add nearest-scrollable-container util fn 2023-05-22 22:22:05 +08:00
Andelf
f0515f37f1 enhance(editor): restore scroll position new paste in a long block 2023-05-22 22:22:05 +08:00
Andelf
812f8ac8ba enhance(editor): restore scroll position new adding newline in a block 2023-05-22 22:22:05 +08:00
Tienson Qin
12f3871694 fix: remove ugly timeout 2023-05-22 22:15:11 +08:00
Tienson Qin
9cfc2f2d9e fix: relax same block id check only when deleting a source block 2023-05-22 22:15:11 +08:00
Tienson Qin
1be20c8f11 Move cut-paste? logic to paste handler 2023-05-22 22:15:11 +08:00
Tienson Qin
a2d1f67c5d fix: parens 2023-05-22 22:15:11 +08:00
Tienson Qin
3cc0e0ad6b Update src/main/frontend/modules/outliner/datascript.cljc
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-05-22 22:15:11 +08:00
Tienson Qin
3b92fe638a Update src/main/frontend/state.cljs
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-05-22 22:15:11 +08:00
Tienson Qin
d67d14f134 Changes suggested from Zhiyuan 2023-05-22 22:15:11 +08:00
Tienson Qin
2785681295 chore: uncomment code 2023-05-22 22:15:11 +08:00
Tienson Qin
03d6a84138 fix: lint 2023-05-22 22:15:11 +08:00
Tienson Qin
0df201e7a8 fix: replace empty target when paste cut blocks 2023-05-22 22:15:11 +08:00
Tienson Qin
753d452b50 fix: undo should bring refs back 2023-05-22 22:15:11 +08:00
Tienson Qin
a0b336c790 fix: replace with source block's content when deleting refed blocks 2023-05-22 22:15:11 +08:00
Tienson Qin
35f7e2ead2 comment on setTimeout in undo 2023-05-22 22:15:11 +08:00
Tienson Qin
2313a6a912 fix: cursor not jump back when undo a DELETE at the end action
It also remove built-in properties such as id from the editor content
2023-05-22 22:15:11 +08:00
Tienson Qin
f48235e9f5 fix: handle the case when both blocks are referenced 2023-05-22 22:15:11 +08:00
Tienson Qin
9d6bda6b2c remove unnecessary save-current-block 2023-05-22 22:15:11 +08:00
Tienson Qin
95675269bc fix: transaction 2023-05-22 22:15:11 +08:00
Tienson Qin
ea019bcad5 fix: broken block ref when backspace/delete a block 2023-05-22 22:15:11 +08:00
Konstantinos Kaloutas
2dff7336c9 test Xvfb 2023-05-22 14:10:08 +03:00
Konstantinos Kaloutas
e679b08aa1 fix: initial state 2023-05-22 13:11:11 +03:00
Giuseppe D'Andrea
8a0a41ccb8 enhance: calculator command on a non-blank line 2023-05-22 15:13:06 +08:00
Gabriel Horner
51a23934a4 Fix parse-graph not ignoring correctly for relative dir
parse-graph now returns absolute file paths
2023-05-19 21:49:58 -04:00
Konstantinos Kaloutas
04dc1dc772 fix: linter errors 2023-05-19 18:53:15 +03:00
Konstantinos Kaloutas
b2a6ef9015 Merge branch 'master' into feat/integrated-title-bar 2023-05-19 18:42:18 +03:00
Konstantinos Kaloutas
d7f8eda846 enhance: window title bar 2023-05-19 18:23:15 +03:00
Michele
585efd1a64 Update it.cljc 2023-05-19 09:26:26 -04:00
hasecilu
7eddfd2547 Update Spanish translations with new format 2023-05-19 09:25:36 -04:00
Konstantinos Kaloutas
1fd22623e0 resolve conflicts 2023-05-19 12:26:58 +03:00
Konstantinos Kaloutas
63b1463150 fix: conflicts 2023-05-19 11:57:39 +03:00
Konstantinos Kaloutas
625c5c0161 Merge branch 'master' into titlebar 2023-05-19 11:56:41 +03:00
charlie
596cdafbf5 fix: lint 2023-05-19 10:54:45 +08:00
charlie
87907c7800 fix(shortcuts): conflicts 2023-05-19 10:48:05 +08:00
charlie
0dea777558 Merge branch 'master' into enhance/keymaps-manager-x 2023-05-19 10:20:20 +08:00
Gabriel Horner
514b5faf6e Refactor and simplify dicts
- frontend.dicts encapsulates dicts behavior for all other namespaces
- Each dict ns only has one var which prepares us
- No longer need shortcut.dicts
- Fix remaining lints that were broken
- Also bring back frontend.dicts
- Update guide
- Add a false binding to :editor/toggle-undo-redo-mode which throws a
  needless warning
2023-05-18 18:13:50 -04:00
Gabriel Horner
0434a2b7f8 Fix app not loading correctly and most CI failures
-Most frontend.modules.shortcut.core requires shouldn't have been
changed
- Revert back pt-BR and ru langs which had changes caught by bb lang:list
- Fix typos CI failing by updating config
2023-05-18 18:05:22 -04:00
Avelino
e55f0fc331 shortcut/config: use default dicts (EN)
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-18 18:05:22 -04:00
Avelino
1d14f6a98f centralize translation dictionary
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-18 18:05:22 -04:00
Avelino
a2d1f65c2f shortcut/i18n: isolate package languages
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-18 18:05:22 -04:00
Avelino
215d77e3b9 front/i18n: isolate package languages
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-18 18:05:22 -04:00
Andelf
db0b9acd98 fix(editor): show block bullet when a blank block has children 2023-05-18 23:31:25 +08:00
Gabriel Horner
47508ac2ac Add :hidden config support to graph-parser.cli
Also fix lints and tests from previous commits
2023-05-18 23:25:15 +08:00
Gabriel Horner
91beda09d5 Split out graph fns and reuse them b/n gp-cli and electron
Also added test
2023-05-18 23:25:15 +08:00
charlie
b6a7b81441 enhance(shortcuts): polish list for the plugins shortcuts 2023-05-18 17:59:09 +08:00
rcmerci
402668bd69 enhance(export): add title when page opml-export 2023-05-18 16:29:26 +08:00
Andelf
c917f2e087 fix(fs): use normalized relative path for mobile platform
Fix #9378
2023-05-18 12:24:18 +08:00
Andelf
51201124ff fix(fs): add unicode normalize to path-fn
This is a catch-all type fix
2023-05-18 12:24:18 +08:00