Abdullah Atta
b3ea6523ae
global: set license prop of all package.json files to GPL-3.0-or-later
2022-09-26 15:30:16 +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
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
Abdullah Atta
47ac190a66
editor: use full date/time format instead of ISO8601
2022-09-19 20:40:20 +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
ammarahm-ed
275d2be5ac
Merge branch 'master' into feat-launcher-shortcut-actions
2022-09-19 12:33:26 +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
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
b549f39e1a
editor: focus editor with tap & create nodes
2022-09-16 16:01:45 +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
f87d66f47a
mobile: add quick note actions
2022-09-14 13:28:07 +05:00
Abdullah Atta
c954590585
core: look into topics when searching notebooks
2022-09-14 11:44:04 +05:00
ammarahm-ed
df50ece50d
editor: don't open already opened popup again
2022-09-13 11:54:33 +05:00
ammarahm-ed
881771a14f
editor: fix clicking on link resets editor on mobile
2022-09-13 09:11:36 +05:00
ammarahm-ed
797670f2ef
editor: fix popups not opening
2022-09-13 09:10:35 +05:00
ammarahm-ed
4ac1d4a20c
mobile: fix share extension crash on ios
2022-09-09 19:09:22 +05:00
Abdullah Atta
a7901b0323
core: sku property in pricing test should be generic
2022-09-09 01:17:27 +05:00
Abdullah Atta
3f73b47121
core: use generic snapshot for pricing test
...
this is because the pricing response data contains location based data like
country, countryCode, pricing etc. Running it on different
computers will generate different data. To avoid this we
should test only the types of each property using `jest`'s
propertyMatchers
2022-09-09 01:12:45 +05:00
Abdullah Atta
78c1df8723
core: add pricing test snapshot
2022-09-09 00:56:43 +05:00
Abdullah Atta
42c745088a
ci: add @notesnook/core test workflow
2022-09-09 00:14:21 +05:00
Abdullah Atta
4c1070af56
web: content overlaps on switching notes very fast
2022-09-08 23:57:13 +05:00
ammarahm-ed
c8dc5207b4
core: fix auto sync does not send sync complete event
2022-09-08 18:30:49 +05:00
ammarahm-ed
79d492e186
core: fix shortcut not removed
2022-09-08 14:16:25 +05:00
ammarahm-ed
56f26f3c95
core: this.find > this.shortcut
2022-09-08 14:08:44 +05:00
Abdullah Atta
201366b39e
core: get rid of noteIds in notebook topics
...
This is a BREAKING change in the core & will require updating the
clients. The way it works is instead of keeping noteIds of all the
notes in the topic, it keeps an in-memory cache. This in-memory
cache `topicReferences` lives in the notes collection & decouples
notes from notebooks/topics. This also simplifies all the different
actions where references would persist after the note was deleted.
Since the note acts as the source of truth for where it currently is,
there is nothing else to do except rebuild the `topicReferences`
cache.
2022-09-08 13:39:06 +05:00
Abdullah Atta
ab38d89314
setup: use zx for cross-platform scripting
2022-09-07 23:04:40 +05:00
Abdullah Atta
f8d94bc12a
core: allow removing shortcuts by item.id
2022-09-07 14:18:48 +05:00
Abdullah Atta
ac7aad93b3
core: shorcuts -> shortcuts
2022-09-07 14:13:26 +05:00
Abdullah Atta
1e99d7732c
core: add new collection for shortcuts
2022-09-07 12:47:02 +05:00
Abdullah Atta
ef552f8b38
core: remove pins from settings
2022-09-07 12:46:49 +05:00
ammarahm-ed
0a3ef4bc0a
editor: fix date is off by one month
2022-09-06 17:17:48 +05:00
ammarahm-ed
1f96b29f0a
Merge branch 'master' of https://github.com/streetwriters/notesnook
2022-09-06 17:12:44 +05:00
ammarahm-ed
396757abe9
editor: fix pro permission handler always return false
2022-09-06 17:12:33 +05:00
Abdullah Atta
289e6eefb3
core: move pricing test to e2e tests
2022-09-05 18:00:33 +05:00
ammarahm-ed
d25be38928
config: add test builds to targetDefaults nx
2022-09-01 15:23:21 +05:00
Abdullah Atta
fae3757be9
misc: remove .DS_STORE files
2022-08-31 22:35:51 +05:00
Abdullah Atta
39ff1aebb1
misc: lock file updates
2022-08-31 20:06:49 +05:00
Abdullah Atta
184236f01d
docs: add README for @notesnook/core
2022-08-31 20:04:15 +05:00
Abdullah Atta
8fa4e2184f
config: streamline running core tests
...
by default running `npm run test:core` will only run unit tests.
E2E tests require setting up credentials in the .env file.
Until we figure out a way to streamline this whole process,
this is how the tests will be run.
2022-08-31 20:03:58 +05:00