3964 Commits

Author SHA1 Message Date
thecodrr
7f3b7a5ca5 feat: add animation to global context menu 2020-09-18 20:55:56 +05:00
thecodrr
c493a46aa2 feat: add note changing animation 2020-09-18 20:35:38 +05:00
thecodrr
54dc8760a7 feat: add proper icon for AddToNotebook 2020-09-18 20:16:44 +05:00
thecodrr
0698abc0d0 feat: improve selection ui 2020-09-18 20:11:33 +05:00
thecodrr
25a0bef45c fix: editor word counter 2020-09-18 20:06:59 +05:00
thecodrr
d18d58b668 feat: add WebCrypto polyfill for browsers that don't have it in WebWorkers 2020-09-18 15:39:21 +05:00
thecodrr
04fa3634a8 feat: improve editor performance
this addresses a few things:
1. editting a locked note was excruciatingly slow due to synchronous crypto
2. libsodium is, unfortunately, synchronous hence it locks the UI
3. quill was sending unnecessary onChange events on every key stroke

How they are handled:
1 & 2. all crypto related functions have been moved to a web worker for asynchrony with synchronous as fallback
This allows for non-blocking crypto and fluid editting experience
3. onChange events are only sent when user stops typing

KNOWN ISSUES:
1. The word counter may be a bit slow. It should be moved into quill as a module.
2020-09-18 12:40:41 +05:00
thecodrr
b2db840ffa feat: enable locked note opening 2020-09-17 15:14:05 +05:00
thecodrr
44ca7938e7 feat: add ability to unpin using the pin ui 2020-09-17 13:43:16 +05:00
thecodrr
eac78e1a61 perf: improve list rendering performance
fundamentally, we have done 3 things:
1. move out rendering of menu per item to a global component so it renders only once
2. ditch react-virtuoso and migrate to react-window
3. make all items of predictable size and give that size to react-window List

Combining all three, the performance while scrolling and initial rendering shoul improve by almost 50%.
2020-09-17 13:36:47 +05:00
thecodrr
b516ebba2c feat: sync with new notesnook-core changes
basically we are now sending our own EventSource explicitly.
2020-09-17 10:31:30 +05:00
thecodrr
d4c63f166a feat: add toast when note is saved (only mobile) 2020-09-15 09:37:04 +05:00
thecodrr
db74883268 feat: improve toast ui on mobile 2020-09-15 09:36:47 +05:00
thecodrr
a293a2f577 fix: no placeholder appearing when home is empty 2020-09-15 09:29:43 +05:00
thecodrr
d011075252 refactor: cleanup all toast related code 2020-09-15 09:28:01 +05:00
thecodrr
61d382aabf feat: add toast for permanent delete 2020-09-14 16:20:25 +05:00
alihamuh
64ccf899bd feat: trash restore and permanent delete 2020-09-14 15:30:15 +05:00
alihamuh
1ac0044342 feat: notebook delete toast 2020-09-14 15:21:46 +05:00
alihamuh
37d24d3b9c Merge branch 'master' of https://github.com/streetwriters/notesnook-web 2020-09-14 15:11:31 +05:00
alihamuh
874351637b feat: delete note toast 2020-09-14 15:11:21 +05:00
thecodrr
a91c263cbc feat: add toast when trash is cleared 2020-09-14 15:08:47 +05:00
thecodrr
f2e3d19810 feat: add toast notification for note lock/unlock 2020-09-14 15:05:39 +05:00
thecodrr
5cee488abb feat: remove favorite from multiselect options 2020-09-14 14:59:02 +05:00
thecodrr
ee83f65bac feat: add toast for topic edit 2020-09-14 14:56:27 +05:00
thecodrr
068c969a33 feat: add toast for notebook edit 2020-09-14 14:55:09 +05:00
thecodrr
87bce25c3f feat: add toast for notebook unpinning 2020-09-14 14:52:45 +05:00
alihamuh
2d55f788ad Merge branch 'master' of https://github.com/streetwriters/notesnook-web 2020-09-14 14:50:40 +05:00
alihamuh
33fb5e3567 Merge branch 'master' of https://github.com/streetwriters/notesnook-web 2020-09-14 14:50:34 +05:00
thecodrr
40afa2461f feat: implement export from editor menu 2020-09-14 14:45:13 +05:00
thecodrr
efa30824b8 feat: add toast for note export 2020-09-14 14:45:03 +05:00
alihamuh
ce6fec10bf feat: added color toast 2020-09-14 14:37:05 +05:00
thecodrr
4375dc637e feat: add unpinned toast notification 2020-09-14 14:34:57 +05:00
thecodrr
dc2fecb6ac feat: improve navigtion performance (#152) 2020-09-14 12:32:36 +05:00
alihamuh
f6025f74d7 comment removed 2020-09-14 12:14:17 +05:00
alihamuh
ad4c797437 Merge branch 'master' of https://github.com/streetwriters/notesnook-web 2020-09-14 12:07:08 +05:00
alihamuh
3c006581a4 fix: onClick color menu item error 2020-09-14 12:07:02 +05:00
thecodrr
083fd49d79 fix: enable navigation to notebook & topic from properties 2020-09-14 12:00:07 +05:00
thecodrr
940e2295c8 feat: add toast notification for add/move note to notebook 2020-09-14 11:59:44 +05:00
thecodrr
07d7658c80 feat: add support for database backup 2020-09-14 11:59:25 +05:00
thecodrr
12f3a9ca88 feat: add toast notification system 2020-09-14 11:59:12 +05:00
alihamuh
2950043301 fix: onfocus editor width/placement issue 2020-09-14 10:42:32 +05:00
thecodrr
138f2e4b2c fix: auto close properties when editor is focused 2020-09-13 11:44:36 +05:00
thecodrr
9b54bc4356 fix: properly lock editor when user is not logged in or the trial has expired 2020-09-13 11:39:08 +05:00
thecodrr
0c1988f5f8 fix: auto close navigation menu when navigating on mobile 2020-09-13 11:34:51 +05:00
thecodrr
5bf69c9ce4 refactor: remove extra console.log in editor 2020-09-13 11:34:51 +05:00
thecodrr
02157422b5 feat: improve note opening performance 2020-09-13 11:34:51 +05:00
thecodrr
eb9e1fab24 refactor: minor refactoring 2020-09-13 11:34:51 +05:00
thecodrr
e3f3931e7b fix: selectedRoute does not highlight 2020-09-13 11:34:51 +05:00
thecodrr
6e09b6545c feat: improve context menu 2020-09-13 11:34:51 +05:00
thecodrr
ac3f74c800 feat: improve mobile/small screen UX 2020-09-13 11:34:51 +05:00