Commit Graph

6614 Commits

Author SHA1 Message Date
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
Giuseppe D'Andrea
4b7ab91488 fix #6309 2022-08-11 16:58:05 +08:00
Tienson Qin
eeb827a1d3 fix: performance degrading for nested linked references
Fix #6316.

This commit also fixed the issue that toggle block children doesn't
work sometimes.
2022-08-11 16:38:00 +08:00
Tienson Qin
010c0082c3 debug: posthog capture bad ref blocks
related to #6327
2022-08-11 12:43:12 +08:00
Tienson Qin
887522ffc6 fix: no block children in query results
close #6322
2022-08-11 12:39:27 +08:00
Andelf
4cc89a2de2 refactor: address comment, better async code 2022-08-11 09:34:29 +08:00
Andelf
3e78139da2 fix(android): handle exteral storage 2022-08-11 09:34:29 +08:00
Peng Xiao
06f5fca5ea fix: several issues
- do not remove whiteboard blocks
- select all does not work
2022-08-10 20:16:06 +08:00
Peng Xiao
1d39fe5a54 fix: ci 2022-08-10 12:56:55 +08:00
Peng Xiao
6bb6acc437 fix: issue with stale cache 2022-08-10 11:50:57 +08:00
Peng Xiao
df75532365 fix: should not open first block for whiteboard 2022-08-10 10:37:23 +08:00
Peng Xiao
0aa1112aca fix: should be able to delete shapes when hovering 2022-08-09 14:06:23 +08:00
Peng Xiao
2308a5d120 fix: event is not being captured sometimes 2022-08-09 11:06:06 +08:00
Peng Xiao
1d7374ba86 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-09 09:47:00 +08:00
Andelf
da5f22acbc chore: bump version 0.8.0 2022-08-08 21:48:53 +08:00
Andelf
44f23db9d4 fix(ref): block embedded error (#6304)
Fix #6284
2022-08-08 21:48:27 +08:00