Tienson Qin
ae9927b370
Merge branch 'Bad3r-patch-1'
2023-05-22 22:58:17 +08:00
Tienson Qin
86344d9701
Update comment
2023-05-22 22:57:27 +08:00
Bad3r
41e0596c93
Update config.edn
2023-05-22 22:55:21 +08:00
Gabriel Horner
450fb9dae5
custom.js should load last in publishing app
2023-05-22 10:45:01 -04:00
Candide U
3b08b9a7e5
Add test for custom.js to export_test.cljs
...
Fixed missing thing
2023-05-22 10:45:01 -04:00
Candide U
fd8bb11c37
Add test for custom.js to export_test.cljs
2023-05-22 10:45:01 -04:00
Candide U
a2cf976161
Export custom.js
2023-05-22 10:45:01 -04:00
Candide U
c8312bc6df
Add custom.js script to html
2023-05-22 10:45:01 -04:00
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
dc14a6aee0
add e2e tests
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
Giuseppe D'Andrea
8a0a41ccb8
enhance: calculator command on a non-blank line
2023-05-22 15:13:06 +08:00
Andelf
c2f280cf44
chore(mobile): drop support for ios 13
2023-05-22 13:14:08 +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
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
Gabriel Horner
f48884aa8c
Merge pull request #9383 from avelino/avelino/split-language-dict
...
enhance: split language translations into one file per language
2023-05-18 19:33:25 -04: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
69bbf044a9
docs/lang: describe how to add a new language
...
Signed-off-by: Avelino <avelinorun@gmail.com>
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
184ace5ad6
update documentation to new translation structure (standalone package)
...
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
c86fd3cd4d
Add standard lint tasks to common lib
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
rcmerci
402668bd69
enhance(export): add title when page opml-export
2023-05-18 16:29:26 +08:00