Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(wallet-mobile): Dapp explorer UI #3189

Merged
merged 31 commits into from
Apr 11, 2024
Merged

Conversation

stackchain
Copy link
Member

No description provided.

@stackchain stackchain marked this pull request as ready for review April 11, 2024 08:28
import {useHasWallets} from './yoroi-wallets/hooks'

const Tab = createBottomTabNavigator<WalletTabRoutes>()
const WalletTabNavigator = () => {
const strings = useStrings()
const {colors} = useStyles()
const wallet = useSelectedWallet()
const initialRoute = isHaskellShelley(wallet.walletImplementationId) ? 'staking-dashboard' : 'history'
const initialRoute = /* isHaskellShelley(wallet.walletImplementationId) ? 'staking-dashboard' :*/ 'history'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be dropped

@@ -117,7 +115,7 @@ const WalletTabNavigator = () => {
)}
</Tab.Screen>

{isHaskellShelley(wallet.walletImplementationId) && (
{/* {isHaskellShelley(wallet.walletImplementationId) && (
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check the feature flag

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing these icons are mocked for now, later they will come from the configuration manageR?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@@ -0,0 +1,16 @@
import React from 'react'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import * React... for all screens

...initialState,
})

useEffect(() => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React.useEffect

@stackchain
Copy link
Member Author

@michaeljscript looks solid, basically some adjust to import react, and consume react hooks with React.use bringing it in, please adjust the feature flag.

@stackchain stackchain merged commit ae701dc into develop Apr 11, 2024
3 checks passed
@stackchain stackchain deleted the feature/dapp-explorer-ui branch April 11, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants