Commit Graph

1570 Commits

Author SHA1 Message Date
ammarahm-ed
f87d66f47a mobile: add quick note actions 2022-09-14 13:28:07 +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
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
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
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
Abdullah Atta
da58248456 web: migrate list-container to typescript 2022-08-31 15:48:51 +05:00
Abdullah Atta
ded65ff470 editor: fix recursive updates causing hang 2022-08-31 15:48:51 +05:00
ammarahm-ed
dcd5c16514 mobile: cleanup console.log statements 2022-08-31 13:03:22 +05:00
Abdullah Atta
0080dac352 refactor: update all package-lock.jsona 2022-08-31 07:26:44 +05:00
Abdullah Atta
156a263efc refactor: remove unnecessary const _ignore; 2022-08-31 07:26:29 +05:00
Abdullah Atta
d81f5dba65 refactor: migrate to theme-ui from rebass 2022-08-31 07:26:27 +05:00
Abdullah Atta
79f8b5e95e theme: remove font scale from config 2022-08-31 07:25:04 +05:00
ammarahm-ed
2d84b79f22 Merge branch 'master' of https://github.com/streetwriters/notesnook-private 2022-08-30 17:04:23 +05:00
ammarahm-ed
d24eabf3aa mobile: add editor-mobile to deps 2022-08-30 16:59:43 +05:00
Abdullah Atta
14fe6d071a mobile: move dependent packages to root package.json 2022-08-30 16:27:48 +05:00
Abdullah Atta
c317774c8a docs: add license header 2022-08-30 16:17:04 +05:00
Abdullah Atta
24f158420c editor: fixes & refactoring for monorepo merge 2022-08-30 11:05:10 +05:00
Abdullah Atta
9a669a74e4 Merge remote-tracking branch 'packages/editor-mobile/main' 2022-08-30 10:15:18 +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
2233d478cf chore: bump version to 1.0.1 2022-08-29 20:03:10 +05:00
thecodrr
80e9f630dd fix: change accent type string 2022-08-29 20:03:10 +05:00
thecodrr
2de6a76afe chore: publish on github packages 2022-08-29 20:03:10 +05:00
thecodrr
7eac335439 feat: reduce amount of fonts in font stack 2022-08-29 20:03:10 +05:00
thecodrr
f11ef7368f feat: better fallback font stacks 2022-08-29 20:03:10 +05:00
thecodrr
c4998945dd chore: export as CommonJS 2022-08-29 20:03:10 +05:00
thecodrr
96763c9a61 feat: add bgSecondaryHover color 2022-08-29 20:03:10 +05:00
thecodrr
ca49c36228 feat: add code block colors & fonts 2022-08-29 20:03:10 +05:00
thecodrr
98f7cc8007 types: make theme types more strict 2022-08-29 20:03:10 +05:00
thecodrr
72826ff828 feat: add iconSizes to theme 2022-08-29 20:03:10 +05:00
thecodrr
525cf5f833 overhaul 2022-08-29 20:03:10 +05:00
thecodrr
53f4b43f36 feat: updates to theme 2022-08-29 20:03:10 +05:00
thecodrr
a04e293ff9 feat: make proper react library 2022-08-29 20:03:10 +05:00
thecodrr
3545e082c5 initial commit 2022-08-29 20:03:10 +05:00