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
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
465fd62283
mobile: fix bottom safe area margins
2022-09-19 09:21:59 +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
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
Ammar Ahmed
686b38ca87
editor: expose link opening logic to clients ( #969 )
2022-09-16 12:10:06 +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
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
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
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
ammarahm-ed
f83737ec20
mobile: show notice to buy from web app
2022-09-14 09:49:49 +05:00
ammarahm-ed
881e1a02c0
mobile: save to files crashes when open from share sheet
2022-09-12 18:52:51 +05:00