Commit Graph

11487 Commits

Author SHA1 Message Date
Tienson Qin
a3b3c2e5d4 increase per-length for db restore 2023-05-23 15:57:34 +08:00
Tienson Qin
b158262ce6 initial load from sqlite 2023-05-23 15:57:34 +08:00
Tienson Qin
0aea919a94 perf enhance 2023-05-23 15:57:34 +08:00
Tienson Qin
b605a8a5e5 re-render root after new db created 2023-05-23 15:57:34 +08:00
Tienson Qin
6378a1e724 Merge branch 'Bad3r-patch-1' 2023-05-23 15:57:34 +08:00
Gabriel Horner
5ce75225c7 custom.js should load last in publishing app 2023-05-23 15:57:34 +08:00
Tienson Qin
af0b4a6050 Update comment 2023-05-23 15:57:34 +08:00
Candide U
bb203394b8 Add test for custom.js to export_test.cljs
Fixed missing thing
2023-05-23 15:57:34 +08:00
Bad3r
023961988c Update config.edn 2023-05-23 15:57:34 +08:00
Candide U
2f091b4977 Add test for custom.js to export_test.cljs 2023-05-23 15:57:34 +08:00
Candide U
2feddfe800 Export custom.js 2023-05-23 15:57:34 +08:00
Candide U
4b1114d9e6 Add custom.js script to html 2023-05-23 15:57:34 +08:00
Andelf
430ac3e8d7 fix(editor): auto complete parenthesis at line start 2023-05-23 15:57:34 +08:00
Andelf
4eccfdfdad refactor(editor): add nearest-scrollable-container util fn 2023-05-23 15:57:34 +08:00
Andelf
5a0ceea018 enhance(editor): restore scroll position new paste in a long block 2023-05-23 15:57:34 +08:00
Andelf
02aa600212 enhance(editor): restore scroll position new adding newline in a block 2023-05-23 15:57:34 +08:00
Tienson Qin
9f3337111d fix: remove ugly timeout 2023-05-23 15:57:34 +08:00
Tienson Qin
8b8772cf61 fix: relax same block id check only when deleting a source block 2023-05-23 15:57:34 +08:00
Tienson Qin
07b0aaf0ad Move cut-paste? logic to paste handler 2023-05-23 15:57:34 +08:00
Tienson Qin
b096d8de8c fix: parens 2023-05-23 15:57:34 +08:00
Tienson Qin
d475a10683 Update src/main/frontend/modules/outliner/datascript.cljc
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-05-23 15:57:34 +08:00
Tienson Qin
d5c1676958 Update src/main/frontend/state.cljs
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-05-23 15:57:34 +08:00
Tienson Qin
2e29a20583 Changes suggested from Zhiyuan 2023-05-23 15:57:34 +08:00
Tienson Qin
ede24e81dd add e2e tests 2023-05-23 15:57:33 +08:00
Tienson Qin
545f994539 chore: uncomment code 2023-05-23 15:57:33 +08:00
Tienson Qin
a9346636f8 fix: lint 2023-05-23 15:57:33 +08:00
Tienson Qin
746b7193d4 fix: replace empty target when paste cut blocks 2023-05-23 15:57:33 +08:00
Tienson Qin
ccd0b68c81 fix: undo should bring refs back 2023-05-23 15:57:33 +08:00
Tienson Qin
affa57e78d fix: replace with source block's content when deleting refed blocks 2023-05-23 15:57:33 +08:00
Tienson Qin
047653bd97 comment on setTimeout in undo 2023-05-23 15:57:33 +08:00
Tienson Qin
4211cdc984 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-23 15:57:33 +08:00
Tienson Qin
905a28cb09 fix: handle the case when both blocks are referenced 2023-05-23 15:57:33 +08:00
Tienson Qin
95fb41a2c1 remove unnecessary save-current-block 2023-05-23 15:57:33 +08:00
Tienson Qin
2d705b6979 fix: transaction 2023-05-23 15:57:33 +08:00
Tienson Qin
121bec728f fix: broken block ref when backspace/delete a block 2023-05-23 15:57:33 +08:00
Giuseppe D'Andrea
458a49b5da enhance: calculator command on a non-blank line 2023-05-23 15:57:33 +08:00
Andelf
18902d44d6 chore(mobile): drop support for ios 13 2023-05-23 15:57:33 +08:00
Gabriel Horner
12c55f401e Fix parse-graph not ignoring correctly for relative dir
parse-graph now returns absolute file paths
2023-05-23 15:57:33 +08:00
Michele
50f9cc054c Update it.cljc 2023-05-23 15:57:33 +08:00
hasecilu
e910a5b48a Update Spanish translations with new format 2023-05-23 15:57:33 +08:00
Gabriel Horner
d8cdbf94b1 Merge pull request #9383 from avelino/avelino/split-language-dict
enhance: split language translations into one file per language
2023-05-23 15:57:33 +08:00
Gabriel Horner
1be540ab27 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-23 15:57:33 +08:00
Gabriel Horner
8fb5f13e3e 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-23 15:57:33 +08:00
Avelino
d188ba295e docs/lang: describe how to add a new language
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-23 15:57:33 +08:00
Avelino
2d0ca737f6 shortcut/config: use default dicts (EN)
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-23 15:57:33 +08:00
Avelino
6f223fb5d3 centralize translation dictionary
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-23 15:57:33 +08:00
Avelino
5245d212cb update documentation to new translation structure (standalone package)
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-23 15:57:33 +08:00
Avelino
20937d194d shortcut/i18n: isolate package languages
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-23 15:57:33 +08:00
Avelino
035b257691 front/i18n: isolate package languages
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-23 15:57:33 +08:00
Tienson Qin
9c08648ea1 fix: enable block timestamps for db-only graphs 2023-05-22 17:03:39 +08:00