Commit Graph

47 Commits

Author SHA1 Message Date
Abdullah Atta
e426d9d160 web: bump version to v2.4.0 2023-01-14 13:17:06 +05:00
Abdullah Atta
7a40db9a36 web: remove data-test-id attr in production 2023-01-14 11:51:22 +05:00
Abdullah Atta
4daca499d6 editor: remove prosemirror-utils lib as it's incompatible with windows 2023-01-11 12:11:23 +05:00
Abdullah Atta
21bd6ffbd9 web: replace localforage-getitems git package with @notesnook/localforage-getitems 2023-01-11 10:20:44 +05:00
Abdullah Atta
fa24565e25 web: update @notesnook-importer/core to v1.5.2 2023-01-09 12:49:18 +05:00
Abdullah Atta
eb526063c3 web: update package-lock.json & add otplib 2023-01-07 12:30:00 +05:00
Abdullah Atta
c37aec07bb global: update package lock files 2023-01-06 17:44:07 +05:00
Abdullah Atta
e43ee80fdb web: update login tests 2023-01-06 17:44:07 +05:00
Abdullah Atta
4ac9bb2d9b web: bump version to v2.3.0 2022-12-06 10:55:59 +05:00
Abdullah Atta
2fdbc9cb1d web: connect with web clipper & save web clips 2022-12-05 15:20:54 +05:00
Abdullah Atta
3c378809d0 web: bump version to 2.2.4 2022-11-23 17:23:03 +05:00
Abdullah Atta
8af8b69cbf web: add streaming support for importing huge zips 2022-11-23 12:19:32 +05:00
Abdullah Atta
b11387b385 web: install @aws-sdk/util-base64-browser for base64 encode/decode 2022-11-11 17:05:57 +05:00
Abdullah Atta
8ae4ad6126 web: implement native compression 2022-11-11 16:57:55 +05:00
Abdullah Atta
b7d51a6144 web: bump version to v2.2.3 2022-10-26 15:31:29 +05:00
Abdullah Atta
cded505ec6 web: schedule automatic backups
This will increase backup reliability since before backups happened either
at app startup or after successful sync. This could create the issue where
backups would not be created regularly. This new scheduler based
implementation fixes this by scheduling automatic backups
according to user's settings.
2022-10-26 14:43:16 +05:00
Abdullah Atta
555442aa57 web: bump version to 2.2.2 2022-10-19 15:32:42 +05:00
Abdullah Atta
e25d4a3039 global: update qclone to 1.2.0 2022-10-19 12:10:31 +05:00
Abdullah Atta
d42f617d0f core: fix md export for notes with codeblocks 2022-10-18 17:31:31 +05:00
Abdullah Atta
3ac3b1bcdb global: update package-lock files 2022-10-17 23:08:39 +05:00
Abdullah Atta
fdcb8f107f web: minor ui fixes 2022-10-17 19:54:20 +05:00
Abdullah Atta
bb0341ee74 web: fix custom scrollbars on firefox & other browsers 2022-10-17 10:39:22 +05:00
Abdullah Atta
ce889cf1c3 web: bump version to v2.2.1 2022-09-29 19:05:25 +05:00
Abdullah Atta
119a931312 web: install @types/marked 2022-09-29 15:55:37 +05:00
Abdullah Atta
e3d86440c1 web: open all links in release notes in a new tab/window 2022-09-29 15:55:37 +05:00
Abdullah Atta
6499af1781 web: sync package-lock.json with package.json 2022-09-22 12:08:36 +05:00
Abdullah Atta
dbc0762b35 web: bump version to v2.2.0 2022-09-22 12:08:36 +05:00
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
f98a9e1142 web: increase keyboard-list-nav tests timeout 2022-09-19 12:25:31 +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
d31a43b463 web: rewrite the whole test suite to be more resilient
**Why?**
The old test suite was a confusing mess, hard to maintain, update, and
add more tests to. It lacked a much needed layer of expressivity &
the reusable functions were all over the place.
Since it used a global `page` (by mistake), it couldn't run in parallel.
Moreover, the global `page` approach caused random flakiness.

All the above reasons led to this OM (Object Model) based approach to tests.
The tests are now much more expressive, reslient, resuable & easier to
maintain. During the rewriting process I also added a couple more
tests (about 10) so this is a net improvement.

Previously, running the tests were also quite slow (15-25s avg). This has
now been improved to (5-8s avg) by running the tests in production.
This means the app now requires to be built before running the tests:

```sh
npm run build:test:web # this is only required once
npm run test:web
```
2022-09-14 11:50:24 +05:00
ammarahm-ed
d25be38928 config: add test builds to targetDefaults nx 2022-09-01 15:23:21 +05:00
Abdullah Atta
39ff1aebb1 misc: lock file updates 2022-08-31 20:06:49 +05:00
Abdullah Atta
da58248456 web: migrate list-container to typescript 2022-08-31 15:48:51 +05:00
Abdullah Atta
d81f5dba65 refactor: migrate to theme-ui from rebass 2022-08-31 07:26:27 +05:00
Abdullah Atta
14fe6d071a mobile: move dependent packages to root package.json 2022-08-30 16:27:48 +05:00
Abdullah Atta
f6b6a0af06 refactor: rename core, theme, and logger 2022-08-29 23:30:48 +05:00
Abdullah Atta
a1834b15c1 theme: migrate to custom fork of rebass for latest changes 2022-08-29 20:03:10 +05:00
thecodrr
12b011278e refactor: use single typescript version & config 2022-08-27 17:27:46 +05:00
thecodrr
15f5fcd521 refactor: run eslint on the whole project 2022-08-27 15:23:11 +05:00
thecodrr
054c973c99 chore: setup lerna, nx & prettier 2022-08-26 16:12:58 +05:00
thecodrr
a6a0e995ee chore: move web/packages/ to packages/ 2022-08-25 16:03:57 +05:00
thecodrr
8b61db92a1 chore: bump version to 2.1.6 2022-08-17 09:38:23 +05:00
thecodrr
ab8b37aa8e chore: update editor 2022-08-17 09:30:11 +05:00
thecodrr
16bb17dcd2 chore: bump version to 2.1.5 2022-08-16 12:16:58 +05:00
thecodrr
84bdf7096c chore: update editor & core 2022-08-16 09:44:51 +05:00
thecodrr
97dfc4e146 chore: clean up the repo for public 2022-08-10 12:47:26 +05:00