Commit Graph

6029 Commits

Author SHA1 Message Date
Tienson Qin
39e2f0ac1c fix: shift-select up 2022-08-15 21:58:46 +08:00
Tienson Qin
442b65d210 fix: can't delete selected blocks in queries 2022-08-15 21:58:46 +08:00
Tienson Qin
e5532bfe7e fix: move blocks up/down can still affect path refs 2022-08-15 21:58:46 +08:00
Tienson Qin
08ba4348b9 fix: lint warnings 2022-08-15 21:58:46 +08:00
Tienson Qin
21603f9d1d fix: distinct blocks when sort by left 2022-08-15 21:58:46 +08:00
Tienson Qin
6e87aa9386 perf: don't refresh all paginated blocks queries 2022-08-15 21:58:46 +08:00
Tienson Qin
64d1fdec4c perf: use avet index to speed up block children query 2022-08-15 21:58:46 +08:00
Tienson Qin
6bbbccd942 fix: a react component might have multiple reactive queries 2022-08-15 21:58:46 +08:00
Tienson Qin
ca1c4ee479 fix: delay custom queries 2022-08-15 21:58:46 +08:00
Tienson Qin
fd5f3b4f60 perf: refs reactive query 2022-08-15 21:58:46 +08:00
Tienson Qin
517de6737e fix: try to sort blocks by left 2022-08-15 21:58:46 +08:00
Tienson Qin
d6abc839ec fix: performance degradation for 0.8.0 2022-08-15 21:58:46 +08:00
Peng Xiao
d0ddbf19a2 fix: bring back shape rotation 2022-08-15 21:57:56 +08:00
Tienson Qin
d91dd505ad fix: lint warnings 2022-08-15 21:26:37 +08:00
charlie
24595cc4a9 improve(custom.css): support import current graph assets file 2022-08-15 19:00:48 +08:00
Phoenix Eliot
9d9d8b3474 Fix: Fix undo/redo while action menu is open (#6273)
* Add data attribute to modals for testing

* Add test for undoing with action menu open not destroying text

* Add test for undo closing the action menu

* Add simple fix for undo/redo with action menu open

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-08-15 18:58:35 +08:00
Tienson Qin
d5adf85f58 fix: lint warnings 2022-08-15 18:48:25 +08:00
Phoenix Eliot
3c6514ee4b Fix moving cursor outside brackets (#6283)
* Add data attribute to modals for testing

* Add several tests for moving cursor outside/within brackets

Update tests to be more reliable and DRYer

Rename action menu to autocomplete menu; fix test race condition

Rename 'action modal' to 'autocomplete menu'

* Check for being outside of brackets on every keyup

Remove dead code

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-08-15 18:47:26 +08:00
Tienson Qin
3581fe6abf Remove unused code 2022-08-15 17:49:34 +08:00
Phoenix Eliot
7cb1fc9c3c Add action whitelist and special handling for link/image input dialog 2022-08-15 17:45:39 +08:00
Phoenix Eliot
bc00dba369 Close action menu when pressing escape 2022-08-15 17:45:39 +08:00
Phoenix Eliot
d39ae199fb Add test for escape closing action menu
Rename 'action menu' to 'autocomplete menu'
2022-08-15 17:45:39 +08:00
Peng Xiao
7fc649dd08 fix: dnd block into whiteboard should also persist the source id 2022-08-15 16:31:01 +08:00
Peng Xiao
1b42079949 fix: make-asset-url should support data url 2022-08-15 16:03:03 +08:00
Peng Xiao
ab90cf375e Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-15 15:46:33 +08:00
Peng Xiao
b682cf12c7 Merge pull request #6345 from logseq/whiteboards-cleanup 2022-08-15 15:43:09 +08:00
Junyi Du
b1ce56c556 fix: roam export error caused by typo 2022-08-15 15:30:26 +08:00
Peng Xiao
ce9a112ff0 fix: save image into asset folder instead of using base64 2022-08-15 13:54:48 +08:00
Aryan Sawhney
6f2a80a3e4 Update onboarding.cljs 2022-08-14 23:15:35 +08:00
charlie
560d8fb5dc fix(plugin): initial pluign core with fatal argument of empty plugin root path 2022-08-13 15:06:38 +08:00
Konstantinos Kaloutas
20b5f8eab9 Merge branch 'whiteboards' into whiteboards-cleanup 2022-08-12 11:51:31 +03:00
Peng Xiao
7cb38f04a0 feat: showing whiteboard icon in page sort 2022-08-12 16:21:01 +08:00
Konstantinos Kaloutas
6993d139a4 Merge branch 'whiteboards' into whiteboards-cleanup 2022-08-12 09:11:01 +03:00
Peng Xiao
a54614c866 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-12 14:09:06 +08:00
Gabriel Horner
509422901a Fix bugs with tests
- Quoted property values were extracting refs
- Punctuation at end of tags was getting included in tag
- Property values were only getting displayed as refs/relationships
  instead of full property value
- cli wasn't passing along user config
2022-08-11 17:20:47 -04:00
Gabriel Horner
39b43b363c Fix page-properties bug and dsl-query bug
parser test caught page properties bug and dsl-query tests once written
correctly exposed another bug. Also remove unit test as they are
replaced by integration style tests in graph-parser-test
2022-08-11 16:32:00 -04:00
Gabriel Horner
0301fd3173 Print log messages and setup custom test runner
Got tired of getting bit by catch statements and no logging printing.
Moved frontend to a custom test runner as we may eventually need the
node-test-runner for other apps/builds
2022-08-11 16:32:00 -04:00
Gabriel Horner
0719163d30 Split out parse-property for use in dsl-query and tests
- Add tests for all *property dsl queries with and without new
  config option
- Add tests for property persistence
- Add tests for property relationships
2022-08-11 16:32:00 -04:00
Gabriel Horner
405183db09 Add config option to allow for more free text in property values
Still need to test that *property operators work correctly when this
option is on
2022-08-11 16:32:00 -04:00
swk777
bfc347a70c fix: alias of page in sidebar did not redirect to the original page (#6085)
* fix alias of page in sidebar did not redirect to the original page

* process when clicking

* fix:  use source-page entity directly

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-08-11 16:29:21 -04:00
maxweilun1989
65e9e9915f fix: kepp the favorites item when publishing 2022-08-11 23:31:28 +08:00
Gabriel Horner
5c22682fa2 Tweak unusual indentation from recent translation PR 2022-08-11 11:07:24 -04:00
Phoenix Eliot
bb199c4de5 Fix wrapped-by? utility function
Improve readability of test failures, add more unit tests
2022-08-11 22:58:51 +08:00
AlexFullmoon
d0ff784ebe Improved Russian translation
Added missing translation strings and fixed some typos in existing ones.
2022-08-11 10:57:23 -04:00
Michał Świtoń
ca23f3a689 Polish translation 2022-08-11 10:53:05 -04:00
Tienson Qin
31fee024f6 fix: typo 2022-08-11 20:44:16 +08:00
Konstantinos Kaloutas
0b1d302774 fix: increase border radius of previews 2022-08-11 15:19:07 +03:00
Tienson Qin
05da02659a fix: api.custom_query 2022-08-11 20:10:51 +08:00
Peng Xiao
d2c3b88865 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-11 18:40:51 +08:00
Peng Xiao
785793892b fix: cleanup whiteboard icon display issue in page ref 2022-08-11 18:14:01 +08:00