Commit Graph

12 Commits

Author SHA1 Message Date
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
d81f5dba65 refactor: migrate to theme-ui from rebass 2022-08-31 07:26:27 +05:00
Abdullah Atta
c317774c8a docs: add license header 2022-08-30 16:17:04 +05:00
thecodrr
edd9dc5de2 fix: notes not merging on sync 2021-12-29 09:34:20 +05:00
thecodrr
5c72566af2 feat: remove all totalNotes nonsense & always reflect real values 2021-02-25 20:04:16 +05:00
thecodrr
64add84e72 refactor: make everything independent 2020-04-16 02:14:53 +05:00
thecodrr
aaf566924a fix: resolve all circular dependencies (fix #9) 2020-04-12 11:04:30 +05:00
thecodrr
c1e6199cc7 sync: make it work (only upload working) 2020-03-19 15:14:29 +05:00
thecodrr
7722c9f1a5 feat: remove notebook favoriting 2020-02-25 09:08:12 +05:00
thecodrr
8bf34553cc refactor: make all private methods/properties start with an underscore 2020-02-22 21:53:56 +05:00
thecodrr
4a96a0aae2 fix: don't mutate the notebook object 2020-02-22 17:59:48 +05:00
thecodrr
90124ca43d feat: implement fluent api 2020-02-05 20:57:43 +05:00