about summary refs log tree commit diff
path: root/src/state/session/index.tsx
Commit message (Collapse)AuthorAgeFilesLines
...
* PWI: Profile (#1982)dan2023-11-231-1/+4
| | | | | | | * PWI: Profile * Show replies conditionally * Dismiss modals on auth action
* PWI Base (#1964)Eric Bailey2023-11-211-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Base work for public view * Make default moderation settings more restrictive * Fix type * Handle showing sign-in on authed actions * Fix hoc logic * Simplify prefs logic * Remove duplicate method * Add todo * Clean up RepostButton.web * Fix x button color * Add todo * Retain existing label prefs for now, use separate logged out settings * Clean up useAuthedMethod, rename to useRequireAuth * Add todos * Move dismiss logic to withAuthRequired * Ooops add web * Block public view in prod * Add todo * Fix bad import
* Move the current agent to a global and reset RQ queries on agent change (#1946)Paul Frazee2023-11-161-11/+20
|
* Refactor ChangeHandle modal (#1929)Eric Bailey2023-11-161-12/+27
| | | | | | | | | | | | | * Refactor ChangeHandle to use new methods * Better telemetry * Remove unused logic * Remove caching * Add error message * Persist service changes, don't fall back on change handle
* Shell behaviors update (react-query refactor) (#1915)Paul Frazee2023-11-151-2/+7
| | | | | | | | | | | * Move tick-every-minute into a hook/context * Move soft-reset event out of the shell model * Update soft-reset listener on new search page * Implement session-loaded and session-dropped events * Update analytics and push-notifications to use new session system
* Update clear account behavior, ensure agent is set (#1881)Eric Bailey2023-11-131-2/+8
|
* Pare down session as much as possibleEric Bailey2023-11-101-15/+21
|
* Clean up isDirty handlingEric Bailey2023-11-101-15/+18
|
* Swap orderEric Bailey2023-11-101-1/+1
|
* Follow conventions for query, use isDirty flag in session store to avoid ↵Eric Bailey2023-11-101-6/+14
| | | | unneccessary writes
* Cleanup getProfileEric Bailey2023-11-091-4/+1
|
* Web login/signup and shellEric Bailey2023-11-091-48/+130
|
* Refactor post threads to use react query (#1851)Paul Frazee2023-11-091-0/+2
| | | | | | | | | | | | | | | | | | | * Add post and post-thread queries * Update PostThread components to use new queries * Move from normalized cache to shadow cache model * Merge post shadow into the post automatically * Remove dead code * Remove old temporary session * Fix: set agent on session creation * Temporarily double-login * Handle post-thread uri resolution errors
* First pass at a session handler (#1850)Eric Bailey2023-11-091-0/+384
* 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