thecodrr
84ba34955d
refactor: formatting and some other stuff
2020-04-21 12:00:06 +05:00
thecodrr
1807afaa0f
fix: send proper context when opening topic from topic label on notebooks
2020-04-21 11:54:12 +05:00
thecodrr
b40d1a4440
ui: fix topic labels on notebook foreground
...
These appeared black on blue when they should be white on blue. We use `static` color for it as it remains the same in all themes.
2020-04-21 11:52:11 +05:00
thecodrr
8a9e83fc6b
fix: save opened note id in local storage
2020-04-21 11:46:22 +05:00
thecodrr
848def4104
ui: fix text font sizes
2020-04-21 11:43:40 +05:00
thecodrr
5aca5adb0b
feat: fragment route component into smaller components
...
This improves rendering performance especially during selection mode toggling.
2020-04-21 11:36:09 +05:00
thecodrr
0040fd5650
fix: multi select causing crash
2020-04-21 11:18:55 +05:00
thecodrr
42dcfc4ad4
ui: increase menu width
2020-04-21 10:56:43 +05:00
thecodrr
32a68d69c9
Revert "feat: lazy load all routes"
...
This reverts commit 6c094a43ab .
Because Suspense doesn't work that well with persistence. Don't know why. And besides, it gives a bad user experience.
2020-04-20 13:30:23 +05:00
thecodrr
6fad89bc21
ci: install babel-loader v8.1.0 dependency
...
The ZEIT deployment fails if we do not specify a babel-loader explicitly
2020-04-20 13:07:57 +05:00
thecodrr
a5702648d3
ui: show nothing in Suspense fallback
...
In my opinion blank is better than "Loading..." when navigating. Maybe we can rotate a spinner or something but I guess, blank is most lightweight for now.
2020-04-20 13:03:13 +05:00
thecodrr
6c094a43ab
feat: lazy load all routes
2020-04-20 12:51:59 +05:00
thecodrr
b468dc0763
navigation: persist history as well
...
previously we were only persisting the last route but this caused the back button to disappear when the page was refreshed. Hence, I have added history persistence as well.
This can probably be optimized a little bit more.
Known Issue: JSON.stringify doesn't preserve the route component so we have to retrieve it manually using `this.getRoute(key).component`.
2020-04-20 12:39:39 +05:00
thecodrr
aa905e20b9
ui: adjust default button font size
2020-04-20 12:30:34 +05:00
thecodrr
5492a92f02
navigation: force navigate on load
2020-04-20 12:29:16 +05:00
Abdullah Atta
f0f209e1f6
ci: use script/ci.sh to handle ssh keys
2020-04-20 12:06:02 +05:00
Abdullah Atta
f9310f9cd3
ci: use script/ci.sh to handle ssh keys
2020-04-20 12:04:20 +05:00
thecodrr
d5be859530
navigation: add default routes for settings & tag navigators
...
After the nested navigation refactor, all routes with their own navigators require a `default` option that configures which route to load on startup.
2020-04-20 11:24:07 +05:00
thecodrr
7c0b7d3b5e
navigation: simplify nested navigation
2020-04-20 11:20:42 +05:00
thecodrr
a57db4b590
fix: resolve all warnings
2020-04-19 14:16:58 +05:00
thecodrr
a7b568d108
refactor: cleanup context logic
2020-04-19 14:16:01 +05:00
thecodrr
b4520d2a0d
perf: reduce libsodium dep size
2020-04-19 13:23:32 +05:00
alihamuh
014146982e
fix: fixed note taking in menus
2020-04-19 12:34:27 +05:00
thecodrr
c7dd6b5d49
chore: add missing packages
2020-04-17 12:52:55 +05:00
thecodrr
d69d11b0e0
ui: fix cursor not changing to pointer in menu
2020-04-16 14:18:00 +05:00
thecodrr
db1b58e597
fix: crash when perm removing item from trash
2020-04-16 14:15:24 +05:00
thecodrr
4760b706b1
fix: pin/unpin causing a crash
2020-04-16 14:10:17 +05:00
thecodrr
f2b181a751
fix: each item should have a unique key prop
2020-04-16 13:28:31 +05:00
thecodrr
5685a17353
fix: context menu not opening from menu button
2020-04-16 13:26:08 +05:00
thecodrr
b745e44025
feat: remove dropdown
2020-04-16 12:39:54 +05:00
Muhammad Ali
6de64a1030
feat: add colors to note context menu ( #125 )
...
* added colors to properties
* changed to tag colors
* color setting changed
* cleanup and optimize
Co-authored-by: thecodrr <thecodrr@protonmail.com >
2020-04-16 12:32:33 +05:00
thecodrr
f5a9aa580c
feat: impl logout
2020-04-16 11:32:18 +05:00
thecodrr
bdfb1eefb8
ui: update lock indicator when lock/unlock note
2020-04-15 22:39:59 +05:00
thecodrr
110e22ea57
crypto: do not check if data is not an object
2020-04-15 16:46:40 +05:00
thecodrr
c7a399e06c
ui: fix lock indicator not updated when locked state changes
2020-04-15 16:30:30 +05:00
thecodrr
545d68c9bd
fix: use defined errors instead of strings
2020-04-15 13:04:53 +05:00
thecodrr
363a93f46f
fix: notes locking/unlocking
2020-04-15 12:42:56 +05:00
thecodrr
214c4ac6e4
feat: add app name
2020-04-15 00:31:10 +05:00
thecodrr
892f3c5e79
chore: updates all packages
2020-04-15 00:26:05 +05:00
thecodrr
92ce7ff382
ui: make all inputs use implicit default variant
2020-04-15 00:03:23 +05:00
thecodrr
8aa90356f4
ui: fix add notebook dialog showing wrong inputs
2020-04-15 00:01:35 +05:00
thecodrr
639dcf03a3
fix: favorites not refreshing when unfavoriting
2020-04-15 00:00:19 +05:00
thecodrr
a4f590e7e6
refactor: move config module to utils
2020-04-14 23:58:53 +05:00
thecodrr
b20c6c7224
ui: fix menu items font color black in dark theme
2020-04-14 23:36:23 +05:00
thecodrr
501f52e5a3
feat: persist theme and accent
2020-04-14 23:31:40 +05:00
thecodrr
c5705cdd95
fix: undefined notes context causing crash
2020-04-14 23:27:56 +05:00
thecodrr
db303fdac2
crypto: use base64 instead of hex for storing key
2020-04-14 19:43:15 +05:00
thecodrr
401b68f28b
ui: fix login/signup dialogs
2020-04-14 11:08:56 +05:00
thecodrr
28cf586c26
feat: add libsodium for crypto
2020-04-13 16:06:54 +05:00
thecodrr
8912c35509
feat: remove crypto apis from frontend
2020-04-11 17:06:17 +05:00