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
ammarahm-ed
c47c6409c9
mobile: add check before before opening publish note sheet
2022-09-16 10:54:03 +05:00
Abdullah Atta
3880fd9053
web: increase overall test timeout to 30s
2022-09-16 09:34:40 +05:00
Abdullah Atta
060c17505a
web: patch react-scripts to handle multi react versions error
2022-09-16 09:32:24 +05:00
Abdullah Atta
fd8e14e9ff
web: check logged out status using its locator
2022-09-16 09:32:07 +05:00
Abdullah Atta
b83aab3c3b
web: increase user.test timeout to 45s
2022-09-16 09:31:36 +05:00
Abdullah Atta
446bec83e7
web: revert "make checkout tests run in parallel"
2022-09-16 09:31:20 +05:00
Abdullah Atta
53ed42b028
ci: do not wrap user_password in single quotes
2022-09-16 09:04:20 +05:00
Abdullah Atta
6110080877
web: turn tracing on for tests & increase timeout to 20s
2022-09-16 08:27:20 +05:00
Abdullah Atta
296b4031af
web: upload firefox/webkit snapshots for checkout tests
2022-09-16 08:08:15 +05:00
Abdullah Atta
f149d6c523
web: add test for login & sync
2022-09-16 08:07:45 +05:00
Abdullah Atta
6f2c00b090
web: do not wait for sync complete in login test
2022-09-16 08:07:27 +05:00
Abdullah Atta
555f848ab0
web: convert playwright config to typescript
2022-09-16 08:06:31 +05:00
Abdullah Atta
e4720c4ca9
web: make checkout tests run in parallel
2022-09-16 08:06:13 +05:00
Abdullah Atta
0ae2c6cc17
ci: provide correct path for test-results dir
2022-09-16 00:31:03 +05:00
Abdullah Atta
78a5715757
ci: upload test results on failure for web.tests
2022-09-16 00:12:25 +05:00
Abdullah Atta
926043d222
web: set icons' stroke width to 0
2022-09-15 13:51:23 +05:00
ammarahm-ed
10e154bfa3
mobile: patch react-native-actions-shortcuts
2022-09-14 14:47:22 +05:00
ammarahm-ed
c08cde9f4b
mobile: open app from quick-note widget ios
2022-09-14 14:24:51 +05:00
ammarahm-ed
2ca7d76895
mobile: cleanup
2022-09-14 13:31:56 +05:00
ammarahm-ed
f87d66f47a
mobile: add quick note actions
2022-09-14 13:28:07 +05:00
Abdullah Atta
dba1fe41e5
misc: add serve package for running web tests
2022-09-14 12:05:53 +05:00
Abdullah Atta
554e9758ed
ci: update web.tests workflow to run the new test suite
2022-09-14 11:50:24 +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
Abdullah Atta
a6c3aeac84
web: editor doesn't detect focus mode
2022-09-14 11:44:04 +05:00
Abdullah Atta
5fb91d9229
web: restoring locked session doesn't update content
2022-09-14 11:44:04 +05:00
Abdullah Atta
0e9d2dcd5e
web: allow changing plans when claiming an offer via url
2022-09-14 11:44:04 +05:00
Abdullah Atta
9a77d2e93d
web: migrate editor footer to typescript
2022-09-14 11:44:04 +05:00
Abdullah Atta
9638b55f02
web: migrate move note dialog to typescript
2022-09-14 11:44:04 +05:00
Abdullah Atta
c8423333f1
web: migrate icon component to typescript
2022-09-14 11:44:04 +05:00
Abdullah Atta
84417c496f
web: migrate navigation menu to typescript
2022-09-14 11:44:04 +05:00
Abdullah Atta
ab5d4fcbb1
web: refresh notes on tag deletion
...
this is required so any referenced note in the deleted tag get updated.
2022-09-14 11:44:04 +05:00
Abdullah Atta
5e886dc7b5
web: use correct plural/singular form in toasts
...
e.g. before it was "1 notes deleted" and now it is "1 note deleted"
2022-09-14 11:44:04 +05:00
Abdullah Atta
c954590585
core: look into topics when searching notebooks
2022-09-14 11:44:04 +05:00
ammarahm-ed
f83737ec20
mobile: show notice to buy from web app
2022-09-14 09:49:49 +05:00
ammarahm-ed
df50ece50d
editor: don't open already opened popup again
2022-09-13 11:54:33 +05:00