Commit Graph

11472 Commits

Author SHA1 Message Date
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
Tienson Qin
17e8ef2308 remove re-index from db-only version 2023-05-22 13:11:21 +08:00
Tienson Qin
df11ccc17a db wip 2023-05-22 13:01:55 +08: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
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
Bad3r
68da34ed0d dev(playwright): Ignore conntection refused errors (#9426)
* ignore connection refused errors

* enhance: ignore connection errors
2023-05-18 11:19:07 +08:00
Gabriel Horner
7d50520f5d test refactor
Bring back helper and cleanup lets
2023-05-17 11:13:19 -04:00
clstb
cf02fed080 feat: improve test comment 2023-05-17 11:13:19 -04:00
clstb
7461d2bc4e feat: add test for save-block 2023-05-17 11:13:19 -04:00
clstb
6e06057e7b fix: preserve properties on update-block 2023-05-17 11:13:19 -04:00
Gabriel Horner
8fca36629f Document repl test workflow as a followup to #9372
Also organized unit test sections more
2023-05-16 14:25:26 -04:00