about summary refs log tree commit diff
path: root/src/state/persisted/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* Add kawaii mode (#3773)Samuel Newman2024-05-011-4/+4
|
* Scale back sentry logs for trivial events (#2997)Hailey2024-02-261-3/+3
| | | | | * scale back sentry logs * update migrate log tests
* Clean up some sentry logs (#2630)Eric Bailey2024-01-251-3/+3
| | | | | | | * Change prop name for sentry ingestion * Fix test * Add default object
* Improvements to persisted state migration (#2098)Eric Bailey2023-12-051-1/+4
| | | | | | | | | | | * Fix session email/emailConfirmed types, update usage for safer access * Handle fallback better, better errors * Better handling, add test * Add test for default data * Remove fallback, not needed, update logs
* Raise levels of some logs during pre-release (#1994)Eric Bailey2023-11-261-2/+3
|
* Refactor notifications to use react-query (#1878)Paul Frazee2023-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Move broadcast channel to lib * Refactor view/com/post/Post and remove temporary 2 components * Add useModerationOpts hook * Refactor notifications to use react-query * Fix: only trigger updates in useModerationOpts when the values have changed * Implement unread notification tracking * Add moderation filtering to notifications * Handle native/push notifications * Remove dead code --------- Co-authored-by: Eric Bailey <git@esb.lol>
* First pass at a session handler (#1850)Eric Bailey2023-11-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First pass at a session handler * TODOs * Fix recursion * Couple more things * Add back resume session concept * Handle ready * Cleanup of initial loading states * Handle init failure * Cleanup * Remove account * Add updateCurrentAccount * Remove log * Cleanup * Integrate removeAccount * Add hasSession * Add to App.native, harden migration * Use effect to persist data
* Move require alt-text to new persistence + context (#1839)Paul Frazee2023-11-081-1/+1
|
* Add persistent state provider (#1830)Eric Bailey2023-11-071-0/+91
* Add persistent state provider * Catch write error * Handle read errors, update error msgs * Fix lint * Don't provide initial state to loader * Remove colorMode from shell state * Idea: hook into persisted context from other files * Migrate settings to new hook * Rework persisted state to split individual contexts * Tweak persisted schema and validation --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>