Commit Graph

930 Commits

Author SHA1 Message Date
Manu [tennox]
8a6e0bdcc2 feat(api): add keepUUID option to insertBatchBlock 2022-12-05 11:15:48 +08:00
Andelf
c1b27ac308 fix(mobile): refactor mobile camera toolbar command 2022-11-30 19:56:31 +08:00
Tienson Qin
81f22da35d fix: paste nested blocks 2022-11-29 16:49:13 +08:00
Tienson Qin
df2b9fc53c fix: dragged video doesn't render by default 2022-11-25 22:25:25 +08:00
Gabriel Horner
3440a3d433 Add back fix from #6147 along with its test cases
Also fix testing sexp and reset state
2022-11-23 12:21:36 +08:00
Andelf
664e98ce28 fix(editor): move hashtag page search from keyup to :did-update 2022-11-23 12:21:36 +08:00
Jon
12f1517fdf #7349 Autopair parenthesis (#7379)
* Activate auto complete only if there's whitespace (\s) preceding the opening paranthesis, except when opening parenthesis is preceded by closing square bracket (]). In cases such as URLs

* #7349 Activate auto complete alson when there's a left parenthesis preceding the opening paranthesis.
2022-11-22 22:36:42 +08:00
Tienson Qin
271164dfe2 fix: lint warnings 2022-11-22 14:43:10 +08:00
Tienson Qin
0a796d11da fix: ``` surroundings in code block disappear
close #7015
close #7378
close #5735
2022-11-22 14:43:10 +08:00
Zhizhen He
7fdb9aaffb fix: typo 2022-11-21 17:58:13 -05:00
Phoenix Eliot
990a21ff66 Fix cmd-down erasing just-typed text
Fixes #3891
Saves a transaction of the recently typed text before attempting to expand the block.
Removes set-editing! call that was no longer doing anything.
2022-11-14 17:37:24 +08:00
Tienson Qin
4aeaaeb01e chore: remove unused code 2022-11-08 23:30:52 +08:00
Tienson Qin
a2322ecffb fix: report error if the title property is not a text
related to https://sentry.io/organizations/logseq/issues/3638204936
2022-11-02 00:33:57 +08:00
Tienson Qin
ef7e3d2fa4 fix: slide bugs
close #4799
2022-10-29 08:47:44 +08:00
Tienson Qin
425cfa298e enhance: don't scroll center to selected block if it's visible 2022-10-24 15:22:41 +08:00
charlie
fccce48c6b fix(windows): remove encoding assets protocol path 2022-10-21 16:14:33 +08:00
Konstantinos Kaloutas
21a575789c fix: default markdown heading 2022-10-18 10:42:41 +08:00
Konstantinos Kaloutas
7ba7c9e087 chore: auto heading based on level 2022-10-18 10:42:41 +08:00
Konstantinos Kaloutas
5f4aa91207 chore: add comment 2022-10-18 10:28:05 +08:00
Konstantinos Kaloutas
d88cdc0b11 fix: holding up/down arrow issue 2022-10-18 10:28:05 +08:00
Tienson Qin
459bd2e779 fix: can't paste number
close #6997
2022-10-18 10:13:18 +08:00
Tienson Qin
a234730c15 fix: non http links are not supported with mod+l 2022-10-18 09:30:13 +08:00
Tienson Qin
8b0f83d3ab fix: don't create journal's file when it was initialized by a template 2022-10-12 19:00:17 +08:00
Charlie
d53ac94bfc Enhance/pdf improvements (#6475)
Full-text search, highlights and assets alias support 
It also exposes a plugin API for highlight context menu   
    ```ts
    /**
       * Current it's only available for pdf viewer
       * @param label - displayed name of command
       * @param action - callback for the clickable item
       * @param opts - clearSelection: clear highlight selection when callback invoked
       */
      registerHighlightContextMenuItem: (
        label: string,
        action: SimpleCommandCallback,
        opts?: {
          clearSelection: boolean
        }
      ) => unknown
    ```
2022-10-09 20:44:18 +08:00
Peng Xiao
316be7e260 fix(whiteboard): deleting the last block in a logseq portal block shape 2022-10-07 20:46:56 +08:00
Peng Xiao
c7fe4933b4 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-10-07 16:18:27 +08:00
Tienson Qin
3a1607718d fix: remove # doesn't remove the heading property 2022-10-04 12:47:09 +08:00
Peng Xiao
bb2df1b3b7 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-30 08:51:05 +08:00
Andelf
71df39c184 fix(android): key code nil sometimes 2022-09-29 23:15:23 +08:00
Peng Xiao
2432913ecd Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-29 15:13:25 +08:00
Tienson Qin
4e964688e5 fix: no matched search results for page reference autocomplete 2022-09-29 14:47:11 +08:00
Peng Xiao
66739b5f41 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-29 14:42:06 +08:00
Tienson Qin
00c1a238c1 fix: Template properties causes empty "template" property to show up
address #6839
2022-09-29 10:44:16 +08:00
Peng Xiao
4520399ddf Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-28 10:29:20 +08:00
Tienson Qin
a27a270b04 fix: CI 2022-09-27 16:12:23 +08:00
Tienson Qin
8b144269f7 refactor: unify heading UX for both markdown and org mode 2022-09-27 16:12:23 +08:00
Gabriel Horner
1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Peng Xiao
fd94862312 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-24 09:42:00 +08:00
Gabriel Horner
2ce6dfad41 Use catch :default for default error handling in cljs
This is considered normal practice for cljs. See
https://clojure.atlassian.net/browse/CLJS-661 for when it was introduced
and background on it
2022-09-23 02:00:55 +08:00
Tienson Qin
336fa578d5 refactor: replace directives(front matter or org) with properties 2022-09-09 12:37:55 +08:00
Peng Xiao
33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +08:00
Junyi Du
64b6a378c6 fix: enlarge timeout for focusing block after insert new block 2022-08-31 22:14:03 +08:00
Peng Xiao
0ff5324c02 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-29 10:45:15 +08:00
Viktor Moros
f5824322b3 Improve backtick autopairing (#6496)
* If you type a backtick and then some letters and then another backtick, the last backtick should close the first one and not spawn another autopair
2022-08-27 12:32:46 +08:00
Peng Xiao
1e607907f3 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-26 15:46:20 +08:00
Tienson Qin
d823b9669f fix: transact block refs before inserting 2022-08-26 13:00:42 +08:00
Peng Xiao
37d0ad2524 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-24 16:50:57 +08:00
Tienson Qin
fac1180a07 fix: disallow cutting blocks when find in page 2022-08-24 16:47:49 +08:00
Peng Xiao
62e962a4b4 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-23 11:33:30 +08:00
Tienson Qin
024fad1219 fix: arrow up/down closes property autocomplete 2022-08-23 09:39:24 +08:00