Commit Graph

5594 Commits (5702dab2d86da1f8e2245adc5b17ba50cf5e007d)

Author SHA1 Message Date
Andelf 0181d824c7 refactor(editor): handle more inline html elems 2022-07-12 09:54:08 +08:00
llcc f939c45b53 fix flashcards not working 2022-07-12 09:51:45 +08:00
llcc 3484902764
fix commands menu not updating on Android (#5936)
* fix commands menu not updating on Android

* handle digit key
2022-07-12 09:50:32 +08:00
Tienson Qin d1979a0e2b
Another fix for page bouncing for lazy loading (#5973)
* Another fix for page bouncing for lazy loading

related to #5972

* Disable lazy loading temporally on mobile

* fix: scheduled or deadlines

* fix: page shaking when scrolling upwards
2022-07-11 10:27:48 +08:00
sawhney17 056aa4e19e make the buttons unselectable 2022-07-10 18:06:22 +04:00
sawhney17 4a0996d100 add CSS 2022-07-10 17:58:06 +04:00
sawhney17 82886157d5 support block references 2022-07-10 16:45:23 +04: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
sawhney17 be3ddc53e4 support basic filter search 2022-07-10 11:27:40 +04: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 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
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
Tienson Qin 4356431fac fix: property key supports namespace 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
Tienson Qin 139075e679 fix: suggestions from gabriel 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
charlie e008766d2b fix(ui): remove plugin ui items manager from pagebar 2022-07-06 20:17:31 +08:00
Jonas Diemer 385113f535 Adding tests for rounding errors 2022-07-06 19:55:49 +08:00
Junyi Du 6ec7b8a704 chore: change join community icon 2022-07-06 13:51:46 +08:00
Junyi Du 5335f758c0 chore: discord -> forum 2022-07-06 13:51:46 +08:00
Tienson Qin 7b92360889 fix: safe check string before inserting when autocomplete
also, enables two consecutive spaces to exit autocomplete
2022-07-05 21:46:25 +08:00
Tienson Qin 7172784504 fix: errors when preview cards
Also, enables cards query for page names not wrapped by `[[]]`
2022-07-05 19:45:05 +08:00
Peng Xiao 51cf9a5b0c fix: remove shortcut/disable-all-shortcuts for whiteboard 2022-07-05 18:34:10 +08:00
Junyi Du dbb37b6081 fix: rename namespace also rename substring in sub-namespace pages 2022-07-05 16:05:45 +08:00
deciia wang f3e0a62257 Update dicts.cljc
translate some words to chinese:
Graph view -> 图谱视角、圖譜視角
All pages -> 全部页面、全部頁面
Flashcards -> 记忆卡片、記憶卡片
New page -> 新页面、新頁面
Journals -> 日志、日誌
所有库 -> 所有图谱
2022-07-05 14:46:33 +08:00
Andelf 8e3b8f0357 fix(editor): more support for html convertion 2022-07-05 01:26:19 +08:00
Andelf e3b749e893 fix(editor): bad format copy from html
- should keep space between tags
- should avoid raw data-url
2022-07-05 01:12:37 +08:00
Tienson Qin cc643f8487 fix: wrong parameter for delete-file 2022-07-05 00:45:56 +08:00
Andelf 49dcbece25 chore: bump version 0.7.6 2022-07-04 21:16:49 +08:00
Tienson Qin 73a202b3c2 fix: redirect to home when deleting a page 2022-07-04 20:42:41 +08:00
Tienson Qin e7c64d3dfd fix: don't unlink file when receiving the unlink event from watcher 2022-07-04 20:19:22 +08:00
Tienson Qin 8e1ae84baa fix: don't delete page temporally
related to #5904
2022-07-04 19:54:31 +08:00
Andelf 87c5b64b43 fix(ui) trailing space of search-auto-complete 2022-07-04 17:11:58 +08:00
Peng Xiao 4de59c6d63 wip whiteboard page 2022-07-04 00:00:08 +08:00
Peng Xiao d00a3dbff2 run prettier 2022-07-03 21:38:09 +08:00
Peng Xiao d237837641 fix: disable logseq shortcuts for whiteboard 2022-07-03 21:37:49 +08:00
Peng Xiao 35d00eda74 code cleanup 2022-07-03 15:55:01 +08:00
Peng Xiao 26ad627661 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-03 12:46:36 +08:00
llcc 10bc9e2f9b fix calc output position 2022-06-30 20:07:49 +08:00
llcc f394f83a68 remove string-some-changed? function 2022-06-30 17:24:10 +08:00
llcc 1497d121f2 remove delete-file! from fs protocol 2022-06-30 17:24:10 +08:00
llcc c2d288f77c remove delete-file!, address comment 2022-06-30 17:24:10 +08:00
llcc 8e2e88ae52 fix lint 2022-06-30 17:24:10 +08:00
llcc 314c3dde7e remove unnecessary delete! codes 2022-06-30 17:24:10 +08:00
llcc df84e16b97 impl file backup on mobile 2022-06-30 17:24:10 +08:00
llcc bcda3a5c7c impl mobile file unlink! 2022-06-30 17:24:10 +08:00
Peng Xiao 1387dfcc43 fix: edit shape not working properly 2022-06-30 13:48:04 +08:00
Gabriel Horner f749da1417 Close modal before opening more results
Fix #5794, fix #4375
2022-06-30 13:15:07 +08:00
llcc 39931bde63 refactor let bindings 2022-06-29 10:34:52 -04:00
llcc bba9c935e0 feat: open plaintext assets files in logseq 2022-06-29 10:34:52 -04:00
Andelf fb92e64967 refactor(build): use env flags to control feature gate 2022-06-28 15:46:12 +08:00
Phoenix Eliot e92af35954 Reduce flicker when moving between blocks with keyboard 2022-06-28 15:10:37 +08:00
Andelf 4faf26f838 address comment 2022-06-27 15:45:13 +08:00
Andelf c9be357476 fix(editor): wrong cycle todo when heading symbol on the same line
Fix #5836
2022-06-27 15:45:13 +08:00
llcc c120bd9dbc fix #5837 2022-06-27 15:43:37 +08:00
llcc ea6fe55510 remove debug print. Address comments 2022-06-27 15:43:37 +08:00
llcc 2f35629738 allow user to disable gestures on blocks with customized tags 2022-06-27 15:43:37 +08:00
llcc 6de6222645 increase gesture activation threshold 2022-06-27 15:43:37 +08:00
llcc cf7528ee71 disable gesture on query table and logbook
fix #5783
2022-06-27 15:43:37 +08:00
llcc 292bda9f8b fix bilibili embed issues
1. fix #5820
2. fix #5811
2022-06-27 15:42:43 +08:00
charlie ca52df97bc fix: block properties order missing #5788 2022-06-27 12:26:22 +08:00
andy 258f865282 fix bilibili video progress bar display 2022-06-25 09:00:42 +08:00
Junyi Du b43ca96e0a enhance: support suppercase suffix for import file name 2022-06-24 17:11:24 +08:00
Junyi Du 47f5c650f9 fix: edn import: keep block uuid; remove redundant last block
fix: json import uuid failure

enhance: improve get-all-referenced-blocks-uuid query
2022-06-24 17:11:24 +08:00
Junyi Du 0cdacc35e2 feat: import from logseq edn
feat: import edn with provided uuid

feat: overwrite page uuid; use properties in content

feat: error handling for importing

feat: support json import

chore: fix lint by splitting setup ui
2022-06-24 17:11:24 +08:00
Peng Xiao a79a7c8899 fix: arrow binding in logseq 2022-06-24 13:58:03 +08:00
Peng Xiao 2c2f8806fc change importing tldraw-logseq using js directly 2022-06-24 12:00:05 +08:00
Andelf 76028fb0cb fix(electron): check destroyed window before access property
Fix #5771
2022-06-23 22:39:34 +08:00
sawhney17 88ddec8024
fix(help): fix broken links and reorganize help menu (#5776)
* fix: sort by treating capitalized and non capitalized the same

* removed unused import

* fix broken links and reorganize help menu

* fix link

* Update onboarding.cljs
2022-06-22 11:54:28 -04:00
Peng Xiao a874b51ec1 fix: merge issue 2022-06-22 18:01:44 +08:00
TaylorHo ac1913a321 Fully translated in "pt-BR", "pt-PT" and "it" 2022-06-22 16:39:51 +08:00
Andelf 494c136bbd fix(editor): use denied tags in html to md conversion 2022-06-22 16:37:33 +08:00
Tienson Qin f6ead67b23 fix: selection 2022-06-22 03:30:22 +08:00
Tienson Qin 59c0b9a83a fix: don't clear selection when in editing mode 2022-06-21 11:53:51 +08:00