Commit Graph

8064 Commits

Author SHA1 Message Date
Peng Xiao
aed9527f5a fix: redirecting to whiteboard if page-ref is a whiteboard 2022-07-15 14:30:49 +08:00
Peng Xiao
4a6ba1b9bc wip 2022-07-15 02:29:50 +08:00
Peng Xiao
03e79edaa1 wip save/load whiteboard edn 2022-07-14 15:59:29 +08:00
Peng Xiao
2d4e0bef18 fix ends-with nil issue 2022-07-13 19:28:22 +08:00
Peng Xiao
0b1119a61f fix tests 2022-07-13 14:46:38 +08:00
Peng Xiao
dbb49fe8d1 lint 2022-07-13 14:33:45 +08:00
Peng Xiao
deb0268ac5 fix graph-parser tests 2022-07-13 14:28:11 +08:00
Peng Xiao
a84ec7a5f3 fix block uuid 2022-07-13 14:20:30 +08:00
Peng Xiao
d33d1cfede wip add more tests 2022-07-13 03:20:22 +08:00
Peng Xiao
51c40be94f wip 2022-07-10 19:01:06 +08:00
Peng Xiao
e0296b90ee wip save/load pages as edn 2022-07-10 16:45:05 +08:00
Peng Xiao
ec4164b044 Merge branch 'master' into whiteboards 2022-07-10 02:25:02 +08:00
Peng Xiao
06bfdee7b4 support parsing edn file as pages 2022-07-10 01:39:34 +08:00
Junyi Du
872c185eb7 fix: quick capture across desktops 2022-07-09 23:45:23 +08:00
yoyurec
3b383a918b Add heading in plugin settings 2022-07-09 23:20:27 +08:00
Tienson Qin
df127fa519 feat: add force refresh button for full-text search 2022-07-09 21:52:22 +08:00
Andelf
872060965d ci(build): non-release as default 2022-07-08 11:32:51 +08:00
Andelf
d390842a07 fix(editor): new-page auto-completion under non-en environment
Fix #5965
2022-07-08 11:14:26 +08:00
playerofgames
8e2aa8415c Calculator: bug fixes for issue #5917, and feature additions (#5918)
* Calculator: bug fixes and feature additions

- Fix order of operations for negation and exponentiation;
- Support non-integer powers;
- Improve number parsing;
- Support comments;
- Add maths functions;
- More permissive variable naming;
- Store last result in 'last' variable.

* Fix lint warning

* Preserve last value across comments and empty lines

* Fix lint warning

* Use BigNumber operations to maintain precision

* Add conditional around pow call

* Split up long test

* Remove duplicate tests
2022-07-07 09:38:37 -04:00
Gabriel Horner
f39f26c8d3 Improve and update lint documentation 2022-07-07 09:34:08 -04:00
Peng Xiao
d3dae5fddc Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-07 14:07:35 +08:00
Andelf
56afc59304 fix(editor): reorder items in page search auto-complete
- fix missing i18n term
- reorder items when found along a hierarchy

Fix #5927
2022-07-07 12:48:35 +08:00
llcc
8fad38de98 only validate documents url when it non-nils
or the app fails to launch if iCloud is disabled (such as on simulator)
2022-07-07 11:32:01 +08:00
Tienson Qin
4356431fac fix: property key supports namespace 2022-07-07 01:42:16 +08:00
Tienson Qin
ea5fac1a70 fix: replace some invalid chars for property keys 2022-07-07 01:42:16 +08:00
Tienson Qin
264801fedf fix: verify property key && make property values string when searching 2022-07-07 01:42:16 +08:00
Andelf
d05392e139 test(e2e): skip page-search test for now 2022-07-07 01:42:16 +08:00
Andelf
dda818c26a fix(e2e): add missing esc for (()) 2022-07-07 01:42:16 +08:00
Tienson Qin
139075e679 fix: suggestions from gabriel 2022-07-07 01:42:16 +08:00
Tienson Qin
e8023b9246 fix: graph parser ci 2022-07-07 01:42:16 +08:00
Tienson Qin
b7b5f6d25c fix: safe q 2022-07-07 01:42:16 +08:00
Tienson Qin
204392f896 fix: block property values auto-complete 2022-07-07 01:42:16 +08:00
Tienson Qin
1d88e285b0 fix: pos 2022-07-07 01:42:16 +08:00
Tienson Qin
ecb2024c14 fix: lint warnings 2022-07-07 01:42:16 +08:00
Tienson Qin
7b74117d85 enhance: auto-complete for property values 2022-07-07 01:42:16 +08:00
Tienson Qin
5d7925115d fix: rename related properties when renaming the page 2022-07-07 01:42:16 +08:00
Tienson Qin
49acb54178 feat: add properties as linked references 2022-07-07 01:42:16 +08:00
Tienson Qin
7c7312d830 refactor: cursor positions 2022-07-07 01:42:16 +08:00
Tienson Qin
18c378f1b9 fix: filter out blank blocks during search 2022-07-07 01:42:16 +08:00
Tienson Qin
6d0be829a1 refactor: unify :editor/show-xxx and (block) commands to :editor/action 2022-07-07 01:42:16 +08:00
Tienson Qin
92f2a2bba1 fix: CTRL+X will wipe out block content when render errored
fix #5824
2022-07-07 01:40:28 +08:00
llcc
c671986675 fix: code block exceeds horizontally in query table 2022-07-07 01:08:51 +08:00
llcc
90d330b3a3 make query properties settings modal center 2022-07-07 01:08:51 +08:00
llcc
246264c722 fix: query table is wider than mobile screen 2022-07-07 01:08:51 +08:00
llcc
b1941d4056 fix: toggle query table view activates editing mode 2022-07-07 01:08:51 +08:00
Tienson Qin
290c2b5b83 fix: CTRL+X is deleting the last character when nothing is selected
fix #5821
2022-07-07 01:06:14 +08:00
Tienson Qin
f9c025542e fix: lint warnings 2022-07-06 22:48:15 +08:00
Tienson Qin
d07f8eca8a fix: don't hide lazy components if they're above the current scroll top 2022-07-06 22:37:28 +08:00
Phoenix Eliot
3c31448106 Use function shorthand 2022-07-06 22:34:04 +08:00
Phoenix Eliot
cda2a1849d Replace react-visibility-sensor with react-intersection-observer 2022-07-06 22:34:04 +08:00