about summary refs log tree commit diff
path: root/src/lib/hooks/useAccountSwitcher.ts
Commit message (Collapse)AuthorAgeFilesLines
* Fixes issue with (#2119)Ansh2023-12-071-3/+3
| | | | | | | | | | | * Allow going directly to password input screen when switching accounts and password is required * Revise state handling * Handle logged out states, enable clearing requestedAccount --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Navigate Home on account switch (#2138)dan2023-12-071-12/+7
|
* Improve account switching on mobile (#2135)Eric Bailey2023-12-071-1/+9
| | | | | * Improve account switching on mobile * Clarify comment
* Close modals if switching to unauthed account (#2039)Eric Bailey2023-11-291-0/+1
|
* Show logged out view when adding accounts (#2020)Ansh2023-11-291-5/+18
| | | | | | | | | | | | | * show logged out view when adding accounts * Handle existing signed-in account * Show which account is currently logged in * Fix showing toasts --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Nav home after switch accounts (#2002)Eric Bailey2023-11-271-2/+14
|
* Close active elems (react-query refactor) (#1926)Paul Frazee2023-11-161-18/+4
| | | | | | | | | * Refactor closeAny and closeAllActiveElements * Add close lightbox * Switch to hooks * Fixes
* Web login/signup and shellEric Bailey2023-11-091-30/+27
|
* Add modal state provider, replace usage except methods (#1833)Eric Bailey2023-11-081-1/+4
| | | | | | | | | | | | | * Add modal state provider, replace usage except methods * Replace easy spots * Fix sticky spots * Replace final usages * Memorize context objects * Add more warnings
* Extract shell state into separate context (#1824)Eric Bailey2023-11-071-2/+4
| | | | | | | | | | | | | | | | | * WIP * Add shell state * Integrate new shell state for drawer and minimal shell mode * Replace isDrawerSwipeDisabled * Split shell state into separate contexts to avoid needless re-renders * Fix typo --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Account quick switch modal (#1567)Paul Frazee2023-09-281-0/+41
* quick switch menu * Some small tweaks and fixes to the account switch modal * Factor out the account switcher logic to a hook * Add haptic feedback on account switcher open * Fix bad merge --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>