Commit Graph

7428 Commits

Author SHA1 Message Date
Yukun Guo
d48f081067 refactor: no need to return channel in add-tx! 2020-11-14 15:35:29 +08:00
Yukun Guo
7aee2ff288 refactor: make state private
But state/sub still exposes the keys
2020-11-14 15:35:29 +08:00
Yukun Guo
17d1c3cbea refactor: cloning? -> get-cloning? 2020-11-14 15:35:29 +08:00
Yukun Guo
63027a7258 refactor: most get-editor-show-* should end with '?' 2020-11-14 15:35:29 +08:00
Yukun Guo
6193f85499 refactor: set-editor-show-* should end with '!' 2020-11-14 15:35:29 +08:00
Yukun Guo
75392d254f refactor: state setters should end with '!' 2020-11-14 15:35:29 +08:00
Yukun Guo
d9e81bb15d refactor: simplify code with set-state! 2020-11-14 15:35:29 +08:00
Yukun Guo
be94dfc4a2 refactor: simplify code in state.cljs
...and add comments/docstrings
2020-11-14 15:35:29 +08:00
Tienson Qin
c1acca2431 fix: light theme background
closed 644
2020-11-14 01:03:59 +08:00
Tienson Qin
87181e9b51 fix: try to address "Attribute :block/page should be marked as :db/index true" 2020-11-14 00:37:20 +08:00
Tienson Qin
4df771f056 Merge pull request #218 from logseq/feat/mobile-style-issues
Fix mobile scroll issues
2020-11-13 08:25:44 -06:00
Tienson Qin
7205a3fb00 fix: set-editing! before update the page/blocks atom 2020-11-13 22:17:33 +08:00
Tienson Qin
f3ca7f0cb9 fix: update page/blocks atom when inserting for the record 2020-11-13 21:31:09 +08:00
Tienson Qin
3c18e0ef84 fix: don't re-render the unrelated blocks when inserting a new block 2020-11-13 21:08:05 +08:00
Tienson Qin
db30822b0a chore: bump minor version 2020-11-13 16:33:52 +08:00
Tienson Qin
d3e2788d3a feat: allow to overwrite the shortcuts
We only enabled both :editor/zoom-in and :editor/zoom-out for now.
2020-11-13 16:33:13 +08:00
Runjuu
2f20927ffa feat(components/sidebar): hide sidebar-nav-wrapper at mobile layout 2020-11-13 14:35:13 +08:00
Runjuu
967fe4f708 fix: scroll related issues 2020-11-13 13:00:57 +08:00
Runjuu
f05a77a31b feat(component/header): extract some css into seperate file 2020-11-13 13:00:57 +08:00
Runjuu
792905832d feat(component): extract header from sidebar 2020-11-13 13:00:57 +08:00
Runjuu
a4b89bff36 feat(component/sidebar): split into smaller components 2020-11-13 13:00:57 +08:00
Tienson Qin
00d3857682 chore: add a :release/re-clone? schema attribute 2020-11-12 23:59:55 +08:00
Tienson Qin
01637bd05f chore: bump minor version 2020-11-12 23:57:48 +08:00
Tienson Qin
5987cc9742 fix: revert :block/children because it doesn't work
We need to resolve those tempids after db transacted which makes it slow
2020-11-12 23:55:35 +08:00
Tienson Qin
abfb3dc12e Remove unused :db/type 2020-11-12 22:01:25 +08:00
Tienson Qin
1b34099928 perf: remove block-has-children? function 2020-11-12 21:55:06 +08:00
Tienson Qin
b49f172ce3 fix: store db/id in block/children instead of lookup refs 2020-11-12 20:16:00 +08:00
Tienson Qin
09c6f16079 fix: :block/children should be a ref 2020-11-12 17:07:10 +08:00
Tienson Qin
1f3bc0d719 fix: wrong credits.png 2020-11-12 16:48:27 +08:00
Tienson Qin
3643d7186b fix: no need to add a backslash in the hidden paths 2020-11-12 15:45:05 +08:00
Tienson Qin
e7b11495ca chore: update misleading comment 2020-11-12 14:54:40 +08:00
Tienson Qin
4e00151125 fix: set editor op back to nil after the db data were transacted 2020-11-12 13:04:21 +08:00
Tienson Qin
dbe9e20165 fix: only insert a new block when the previous insert op is finished 2020-11-12 12:46:28 +08:00
Tienson Qin
6794aada93 Merge branch 'master' into refactor/remove-editor-ugly-timers 2020-11-12 12:34:32 +08:00
Michael Wong
f4af624968 Merge pull request #214 from logseq/defclass/fix/right-sidebar-display-problem
fix(sidebar): fix sider display problem when update or delete a page
2020-11-12 11:11:28 +08:00
Tienson Qin
b9e7095be0 feat: add :pages-directory option 2020-11-12 09:50:32 +08:00
Tienson Qin
f28d55a358 chore: remove duplicated get-repo-branch 2020-11-11 16:58:18 +08:00
Tienson Qin
9a4c06b132 chore: bump minor version 2020-11-11 16:35:53 +08:00
Tienson Qin
fbfec2bf9f refactor(sync): update sync status after both pull and push 2020-11-11 16:31:56 +08:00
Tienson Qin
b5e3f7de6e refactor: simplify git state
Retreive both local and remote oids using resolveRef.
2020-11-11 16:19:45 +08:00
Tienson Qin
df4a36fdce fix: update push failed message 2020-11-11 14:32:55 +08:00
Tienson Qin
1a7bf8c7da fix: :network/online? default set to true 2020-11-11 14:20:16 +08:00
Tienson Qin
512621ad24 Bump minor version 2020-11-11 14:14:24 +08:00
Tienson Qin
a9339fd042 fix: if push failed, only pull when online 2020-11-11 14:13:48 +08:00
Tienson Qin
7569174a3e chore: remove debug 2020-11-11 00:19:23 +08:00
Tienson Qin
313a7c38c6 refactor: remove editor's ugly timers 2020-11-11 00:13:56 +08:00
Tienson Qin
74402fce1d chore: display page aliases 2020-11-10 23:01:06 +08:00
Tienson Qin
6575812f1b fix: can't create a file which page's original name is empty 2020-11-10 22:40:30 +08:00
Tienson Qin
742dc7b4b5 fix: allow force-pull 2020-11-11 04:32:15 +08:00
Tienson Qin
b4827bce06 Merge branch 'master' of github.com:logseq/logseq-internal into master 2020-11-10 18:37:42 +08:00