359 we should have a way to show and easily switch between accounts on wallet page (#515)

* fixing seed phrase page style

* uncommenting rn

* adding nextAccountDerivationIndex to masterInfoObject

* adding derive index constants

* adding emoji assets

* creating standardized account card

* creating account profile image to handle main account, NWC, and custom accounts

* simplifying accounts page

* fixing transfer page to work with new system

* handling both derive and imported accounts

* creating edit account name page

* creating edit account homepage

* creating select account type page

* creating account image selection screen

* creating accouts derive functions

* creating handle emoji functions

* adding uuids to main wallet and nwc

* using accounts profile image to handle account switcing

* using accont profile image to handle account switching

* fixing no profile cache bug

* adding screens

* adding new accounts functions for derived and imported account handling

* creating new page between settings and homescreen

* adding translations

* capitalizing account type

* fixing android styles

* fixing text align issue

* fixing translation

* fix theme issue

* creating seed phrase warning page

* fix dark mode style

* adding seed phrase warning page

* removing old slider overlay from seed page

* making back button work

* fixing trash icon

* popping back to main screen after removing account

* adding recover account page

* adding pin ability to account page

* adding error toast message

* creating settings profile card

* creating accounts preview card

* creating pos bannar

* creating pools preview

* creating settings row and section cards for settings

* creating hook to standardize account switching logic

* building new settings page

* fixing account cards component between settings and accounts page

* standardizing accounts list and active account

* adding pinnedAccounts to local storage

* removing ManageAccountsPoolsScreen from use

* deleting ManageAccountsPoolsScreen

* fixing no pinned account bug

* fix translation

* improve accounts touch ux

* adding translations

* fixed settings not updating after soft reset

* remove uneeded amount of emojis

* fixed showing account 3 that doesnt exist

* fixed string for previously created accounts on blitz

* small theme fixes

* updating reset page style

* updating translations

* remove techical wording

* fixing pool contributors page
This commit is contained in:
Blake Kaufman
2026-02-12 15:59:00 -05:00
committed by GitHub
parent 5c9c0947b1
commit 81d4a5fddf
54 changed files with 5278 additions and 1103 deletions
+17 -1
View File
@@ -44,7 +44,14 @@ import {
} from '../app/components/admin/homeComponents/settingsContent';
import AccountPaymentPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/accountPaymentPage';
import CreateCustodyAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/createAccountPage';
import SelectCreateAccountType from '../app/components/admin/homeComponents/settingsContent/accountComponents/selectCreateAccountType';
import EditAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/editAccountPage';
import EditAccountName from '../app/components/admin/homeComponents/settingsContent/accountComponents/editAccountName';
import EmojiAvatarSelector from '../app/components/admin/homeComponents/settingsContent/accountComponents/selectProfileImage';
import RemoveAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/removeAccountPage';
import RestoreDerivedAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/restoreDerivedAccountPage';
import ViewCustodyAccountPage from '../app/components/admin/homeComponents/settingsContent/accountComponents/viewAccountPage';
import SeedPhraseWarning from '../app/components/admin/homeComponents/settingsContent/seedPhraseWarning';
import ConfirmPinForLoginMode from '../app/components/admin/homeComponents/settingsContent/loginSecurity/enterPinPage';
import Nip5VerificationPage from '../app/components/admin/homeComponents/settingsContent/nip5/nip5Account';
import CreateNostrConnectAccount from '../app/components/admin/homeComponents/settingsContent/nwc/createNWCAccount';
@@ -83,6 +90,7 @@ import {
TechnicalTransactionDetails,
ViewAllTxPage,
SwapsPage,
SettingsHub,
} from '../app/screens/inAccount';
import ConversionHistory from '../app/components/admin/homeComponents/swaps/swapHistory';
@@ -115,7 +123,8 @@ const SLIDE_FROM_RIGHT_SCREENS = [
component: CreateAccountHome,
options: { gestureEnabled: true },
},
{ name: 'SettingsHome', component: SettingsIndex },
{ name: 'SettingsHome', component: SettingsHub },
{ name: 'ShowProfileQrSlideRight', component: ShowProfileQr },
// {name: 'HistoricalOnChainPayments', component: HistoricalOnChainPayments},
{ name: 'ChooseContactHalfModal', component: ChooseContactHalfModal },
{ name: 'SettingsContentHome', component: SettingsContentIndex },
@@ -153,7 +162,14 @@ const SLIDE_FROM_RIGHT_SCREENS = [
// {name: 'EcashSettings', component: EcashSettings},
{ name: 'AddPOSItemsPage', component: AddPOSItemsPage },
{ name: 'CreateCustodyAccount', component: CreateCustodyAccountPage },
{ name: 'SelectCreateAccountType', component: SelectCreateAccountType },
{ name: 'RestoreDerivedAccount', component: RestoreDerivedAccountPage },
{ name: 'EditAccountName', component: EditAccountName },
{ name: 'ViewCustodyAccount', component: ViewCustodyAccountPage },
{ name: 'EditAccountPage', component: EditAccountPage },
{ name: 'RemoveAccountPage', component: RemoveAccountPage },
{ name: 'SeedPhraseWarning', component: SeedPhraseWarning },
{ name: 'EmojiAvatarSelector', component: EmojiAvatarSelector },
{ name: 'CustodyAccountPaymentPage', component: AccountPaymentPage },
{ name: 'NosterWalletConnect', component: NosterWalletConnect },
{ name: 'CreateNostrConnectAccount', component: CreateNostrConnectAccount },