Commit Graph

11485 Commits

Author SHA1 Message Date
Abdullah Atta
e39be83f70 web: always sort pinned tabs first 2024-03-21 11:21:05 +05:00
Abdullah Atta
3a6d1e7a76 web: fix pinned tabs getting unpinned after app refresh 2024-03-21 11:21:05 +05:00
Ammar Ahmed
15fc1d0cca mobile: add useNoteLocked hook 2024-03-21 11:21:05 +05:00
Ammar Ahmed
685322f02a mobile: fix ui of linked blocks 2024-03-21 11:21:05 +05:00
Ammar Ahmed
b849861146 mobile: fix jump to block 2024-03-21 11:21:05 +05:00
Ammar Ahmed
91e041108c mobile: fix content block ui 2024-03-21 11:21:05 +05:00
Ammar Ahmed
76f2ac2c1d mobile: fix loading placeholder position 2024-03-21 11:21:05 +05:00
Ammar Ahmed
bc11999201 mobile: fix colors and size of icons in editor header 2024-03-21 11:21:05 +05:00
Ammar Ahmed
103b1b88f5 mobile: use flatlist for rendering tabs 2024-03-21 11:21:05 +05:00
Ammar Ahmed
5b703fe53a mobile: show keyboard when opening new tab or empty tab 2024-03-21 11:21:05 +05:00
Ammar Ahmed
ab33aa7ebd mobile: make tab active on focus 2024-03-21 11:21:04 +05:00
Ammar Ahmed
4db043b111 mobile: fix tabs 2024-03-21 11:21:04 +05:00
Ammar Ahmed
3efe977c49 mobile: fix minor bugs in tabs 2024-03-21 11:21:04 +05:00
Ammar Ahmed
08c03bc3a4 mobile: fix duplicate imports 2024-03-21 11:21:04 +05:00
Abdullah Atta
5cb373f730 web: bring back editor margins toggle in action bar 2024-03-21 11:21:04 +05:00
Abdullah Atta
123f1a2658 web: minor ui fixes 2024-03-21 11:21:04 +05:00
Abdullah Atta
72645ce0ad web: fix section subtitle horizontal margin 2024-03-21 11:21:04 +05:00
Abdullah Atta
3f375065fc web: add placeholder in table of contents 2024-03-21 11:21:04 +05:00
Abdullah Atta
3d816751f6 web: update diff content on tab switch 2024-03-21 11:21:04 +05:00
Abdullah Atta
f44c553749 web: minor refactor 2024-03-21 11:21:04 +05:00
Abdullah Atta
9c0ee7e63c web: fix properties section horizontal margin 2024-03-21 11:21:04 +05:00
Abdullah Atta
ae3a73c334 core: remove note from vault if its content is not locked 2024-03-21 11:21:04 +05:00
Abdullah Atta
fe0129e1a4 web: fix locked notes getting overwritten with unencrypted content 2024-03-21 11:21:04 +05:00
Abdullah Atta
274395d01b web: fix diff session not opening after app refresh 2024-03-21 11:21:04 +05:00
Abdullah Atta
5deb5253c1 editor: fix search decorations not cleared on search end 2024-03-21 11:21:04 +05:00
Abdullah Atta
55e3213e5c web: add all missing functionality in note linking dialog 2024-03-21 11:21:04 +05:00
Abdullah Atta
bc9b5c39ee web: remove custom search state logic & use editor commands 2024-03-21 11:21:04 +05:00
Abdullah Atta
7a48c7c1e3 editor: fix text on selected search result not visible 2024-03-21 11:21:03 +05:00
Abdullah Atta
324256a499 editor: use global search store for managing search state 2024-03-21 11:21:03 +05:00
Abdullah Atta
eaea7bdd2a editor: minor refactor 2024-03-21 11:21:03 +05:00
Abdullah Atta
5985e22777 web: remove locked session type guard (switch to simple boolean)
the type guard was incorrect
2024-03-21 11:21:03 +05:00
Abdullah Atta
5de7fc5bd7 web: add content to new session type 2024-03-21 11:21:03 +05:00
Abdullah Atta
b54457f522 web: fix editor title not updating on creating a note 2024-03-21 11:21:03 +05:00
Abdullah Atta
f94341facc web: remove preview session type 2024-03-21 11:21:03 +05:00
Abdullah Atta
90a19e7152 web: ${id}_editorScroll > editorScroll_${id} 2024-03-21 11:21:03 +05:00
Abdullah Atta
32998b9c8c web: set session content before saving 2024-03-21 11:21:03 +05:00
Abdullah Atta
88532ae13b web: add dialog container inside tab 2024-03-21 11:21:03 +05:00
Abdullah Atta
64a138fa80 web: handle locked notes properly in real time editor sync 2024-03-21 11:21:03 +05:00
Abdullah Atta
8fe2774d8f web: freeze unhydrated sessions 2024-03-21 11:21:03 +05:00
Abdullah Atta
8ef42dd605 web: remove unused & commented out code 2024-03-21 11:21:03 +05:00
Abdullah Atta
5b44206931 web: focus editor on switching tab and toggle active class 2024-03-21 11:21:03 +05:00
Abdullah Atta
29f92a0806 web: define editor & session once and pass it everywhere 2024-03-21 11:21:03 +05:00
Abdullah Atta
03f8332c67 web: remove unlocked session type 2024-03-21 11:21:03 +05:00
Abdullah Atta
144d362527 web: set session id on saving note 2024-03-21 11:21:03 +05:00
Abdullah Atta
7a6ccb932d core: add block ids before returning content 2024-03-21 11:21:03 +05:00
Abdullah Atta
94c1556a5c editor: fix range error crash 2024-03-21 11:21:03 +05:00
Abdullah Atta
5974ffc0d4 editor: do not add block id on list items
(because they already contain paragraphs and we don't want duplicates)
2024-03-21 11:21:03 +05:00
Abdullah Atta
6184281694 editor: do not touch editor when its view is destroyed 2024-03-21 11:21:02 +05:00
Abdullah Atta
c51406ca04 editor: fix selection/focus is lost when editor state is updated 2024-03-21 11:21:02 +05:00
Abdullah Atta
07db957f67 editor: fix list type thumbnails in toolbar 2024-03-21 11:21:02 +05:00