Commit Graph

8564 Commits

Author SHA1 Message Date
Abdullah Atta
6d75476e7c web: optimize tests by ~120% (#1018)
This is mainly done via sharding, caching & reducing total work:
1. `terser` is turned off when generating test build
2. `nx` distributed cache allows reusing build outputs
3. `playwright` sharding allows running tests in parallel

This can further be improved by using `swc` & `esbuild` during build
2022-09-21 14:01:32 +05:00
Abdullah Atta
e347922be9 web: show correct toast when removing notes from topic 2022-09-21 13:48:14 +05:00
Abdullah Atta
4f08f1aa5e web: fix crash on shortcut removal 2022-09-21 13:47:54 +05:00
Abdullah Atta
7c99c3acb9 core: add migrations for notebooks & settings (#1020) 2022-09-21 11:47:09 +05:00
Abdullah Atta
6c613c6f1e Merge branch 'move-pins-out' 2022-09-21 10:45:58 +05:00
ammarahm-ed
47204d6dee Merge branch 'master' of https://github.com/streetwriters/notesnook 2022-09-21 09:30:20 +05:00
ammarahm-ed
6879dbcdf8 ci: add gh & playstore release 2022-09-21 09:30:08 +05:00
Ammar Ahmed
e5e965415d feat: realtime & auto sync for all users (#944) 2022-09-20 18:33:55 +05:00
ammarahm-ed
0774326941 editor: fix editor warnings 2022-09-20 16:05:59 +05:00
ammarahm-ed
fb1b71475e ci: use scripts for build 2022-09-20 15:07:33 +05:00
ammarahm-ed
85a3b5f016 ci: add release commands 2022-09-20 14:45:41 +05:00
ammarahm-ed
8e2b7c4565 ci: rename workflow 2022-09-20 14:04:37 +05:00
ammarahm-ed
f2393b7f9a mobile: add publish workflow file 2022-09-20 13:59:26 +05:00
ammarahm-ed
286a4063b5 mobile: fix border radius of items in settings list 2022-09-20 09:43:25 +05:00
Abdullah Atta
47ac190a66 editor: use full date/time format instead of ISO8601 2022-09-19 20:40:20 +05:00
ammarahm-ed
41039cd0fb Merge branch 'master' of https://github.com/streetwriters/notesnook 2022-09-19 18:20:26 +05:00
ammarahm-ed
1ea966bf38 mobile: use forked version of fingerprint scanner 2022-09-19 18:19:19 +05:00
Abdullah Atta
a0b8262fb6 web: can't add a tag that's a substring of another tag (fixes #1002) 2022-09-19 17:02:16 +05:00
Abdullah Atta
0f44ca49a9 web: refactor sync logic 2022-09-19 16:20:44 +05:00
Abdullah Atta
ca0d746966 core: fail fast if sync connection fails
this adds reslience to the sync logic in cases where network
isn't responding or is very slow to respond. Previously there were
cases where the sync would get stuck in Connecting state.
This will no longer happen.
2022-09-19 16:20:12 +05:00
Ammar Ahmed
9668b304da Merge pull request #980 from streetwriters/feat-launcher-shortcut-actions
add quick note actions on ios & android
2022-09-19 12:35:22 +05:00
ammarahm-ed
275d2be5ac Merge branch 'master' into feat-launcher-shortcut-actions 2022-09-19 12:33:26 +05:00
Abdullah Atta
f98a9e1142 web: increase keyboard-list-nav tests timeout 2022-09-19 12:25:31 +05:00
Ammar Ahmed
371feed894 Merge pull request #964 from streetwriters/degoogle-github-release
remove google libs for github release
2022-09-19 12:21:54 +05:00
Ammar Ahmed
3a73380acf Merge pull request #920 from streetwriters/mobile-bug-fixes
Mobile bug fixes
2022-09-19 12:20:47 +05:00
ammarahm-ed
5ddc2630e3 mobile: add splashscreen for day/night mode 2022-09-19 12:19:52 +05:00
ammarahm-ed
8206b7c4cd mobile: fix typo in trial sheet 2022-09-19 10:43:59 +05:00
ammarahm-ed
ec898ae932 mobile: constraint area for scroll to top 2022-09-19 09:30:42 +05:00
ammarahm-ed
470e54a31f mobile: scroll to top on tapping empty area in header 2022-09-19 09:28:24 +05:00
ammarahm-ed
465fd62283 mobile: fix bottom safe area margins 2022-09-19 09:21:59 +05:00
Abdullah Atta
0af7fa463d ci: use paths to all package-lock files for caching 2022-09-18 17:44:41 +05:00
Abdullah Atta
508d1c46f2 web: add tests for keyboard list navigation 2022-09-18 17:36:15 +05:00
Abdullah Atta
21ac825359 web: use keyboard list navigation hook for all selection logic 2022-09-18 17:35:55 +05:00
Abdullah Atta
7924ffbce9 web: implement a generic keyboard list nav react hook 2022-09-18 17:35:55 +05:00
Abdullah Atta
836be5e4f4 web: take keymap plugin from prosemirror-keymap
we'll be using this later on for everything keyboard related.
it is simple implementation that normalizes key codes across platforms
2022-09-18 17:35:55 +05:00
Abdullah Atta
02a0ccebee web: fix failing tests 2022-09-18 16:37:33 +05:00
Abdullah Atta
7cc8b74a7a web: add more waitFors for failing tests 2022-09-17 00:45:29 +05:00
Abdullah Atta
bd3b5a4b98 web: redirect if logged in user navigates to unauthorized routes (fixes #907) 2022-09-17 00:11:48 +05:00
ammarahm-ed
8df4b26f5b mobile: fix exporter 2022-09-16 16:02:40 +05:00
ammarahm-ed
b549f39e1a editor: focus editor with tap & create nodes 2022-09-16 16:01:45 +05:00
Abdullah Atta
06dd760325 editor: insert new p at end of document on click
This addresses issue #947 on web/desktop.
2022-09-16 15:26:39 +05:00
Abdullah Atta
0f99391205 editor: add p tag above the 1st node list on ArrowUp (fixes #970) 2022-09-16 15:01:49 +05:00
Abdullah Atta
9ed291102b editor: lift empty first list item on backspace
This provides a way to create a paragraph before a list so it works like this:
1. Place cursor at the start of the first list item
2. Press enter to create a new item
3. Press backspace to turn it into a paragraph

This is actually how Google Docs works as well. Emtpy list item
becomes a paragraph on backspace.
2022-09-16 14:57:31 +05:00
Abdullah Atta
72b21139ce editor: only count direct task list child for stats 2022-09-16 12:35:15 +05:00
Abdullah Atta
2a5005135c editor: show list collapse toggle on hover in task list (fixes #842) 2022-09-16 12:32:05 +05:00
Abdullah Atta
8be748f62e editor: update @tiptap/* packages 2022-09-16 12:15:39 +05:00
Ammar Ahmed
686b38ca87 editor: expose link opening logic to clients (#969) 2022-09-16 12:10:06 +05:00
Abdullah Atta
99b9dda47d editor: make hr bigger & easily selectable (fixes #847) 2022-09-16 12:08:29 +05:00
Abdullah Atta
09130394de editor: don't insert empty p tag before hr (fixes #867) 2022-09-16 12:07:29 +05:00
Abdullah Atta
df06881eee core: lowercase email before login/signup 2022-09-16 11:16:16 +05:00