Skip to content
Draft
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
89268d2
feat: add security data section in token details page
sahar-fehri Mar 5, 2026
718b600
fix: nit designs
sahar-fehri Mar 9, 2026
db641b1
fix: add row for new token icon below header
sahar-fehri Mar 10, 2026
173a2fe
fix: update badge color
sahar-fehri Mar 10, 2026
40f9c9f
fix: ut
sahar-fehri Mar 10, 2026
b96dd4f
fix: lint
sahar-fehri Mar 10, 2026
0e803d6
fix: localization
sahar-fehri Mar 10, 2026
df13f39
fix: cleanup
sahar-fehri Mar 10, 2026
f068cfb
fix: cleanup
sahar-fehri Mar 10, 2026
70bbe3f
Merge branch 'main' into feat/security-data-in-token-details-page
sahar-fehri Mar 11, 2026
0971b43
fix: update designs and add sticky footer
sahar-fehri Mar 12, 2026
8028d5c
Merge branch 'main' into feat/security-data-in-token-details-page
sahar-fehri Mar 12, 2026
0372784
fix: fix after conflicts
sahar-fehri Mar 12, 2026
202c9ac
fix: cleanup
sahar-fehri Mar 12, 2026
50ce71c
fix: cleanup
sahar-fehri Mar 12, 2026
a813b6d
fix: cleanup
sahar-fehri Mar 12, 2026
bd299ec
fix: cleanup utility file
sahar-fehri Mar 12, 2026
41536cd
fix: refactor and cleanup
sahar-fehri Mar 12, 2026
182692a
fix: cleanup
sahar-fehri Mar 12, 2026
135e8e9
fix: cleanup
sahar-fehri Mar 12, 2026
ea791db
fix: cleanup
sahar-fehri Mar 12, 2026
08b0e48
fix: update market insights and security section chevron and remove a…
sahar-fehri Mar 12, 2026
f17e5e0
fix: add severity to token Details opened event
sahar-fehri Mar 12, 2026
10f50f5
fix: add metrics
sahar-fehri Mar 12, 2026
7b8f69d
fix: for native tokens show only description
sahar-fehri Mar 12, 2026
5d13494
fix: fix QA feedback 1
sahar-fehri Mar 12, 2026
ec9d051
fix: fix QA feedback 2
sahar-fehri Mar 13, 2026
079bdfa
fix: fix unit test
sahar-fehri Mar 13, 2026
68f0198
fix: fix polling on new api and fix e2e
sahar-fehri Mar 13, 2026
4ae2de5
fix: ut
sahar-fehri Mar 13, 2026
e0def82
fix: design feedback
sahar-fehri Mar 13, 2026
9945468
fix: design feedback and unit test
sahar-fehri Mar 13, 2026
512e8c7
fix: design feedback
sahar-fehri Mar 13, 2026
61a1118
fix: unit test
sahar-fehri Mar 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/components/Nav/Main/MainNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import Contacts from '../../Views/Settings/Contacts';
import FeatureFlagOverride from '../../Views/FeatureFlagOverride';
import Wallet from '../../Views/Wallet';
import AssetDetails from '../../Views/AssetDetails';
import SecurityTrustScreen from '../../UI/SecurityTrust/Views/SecurityTrustScreen';
import AddAsset from '../../Views/AddAsset/AddAsset';
import NftFullView from '../../Views/NftFullView';
import TokensFullView from '../../Views/TokensFullView';
Expand Down Expand Up @@ -202,6 +203,10 @@ const AssetStackFlow = (props) => (
component={AssetDetails}
initialParams={{ address: props.route.params?.address }}
/>
<Stack.Screen
name={Routes.SECURITY_TRUST}
component={SecurityTrustScreen}
/>
<Stack.Screen
name={Routes.TRANSACTION_DETAILS}
component={TransactionDetails}
Expand Down
4 changes: 0 additions & 4 deletions app/components/UI/AssetOverview/Price/Price.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ describe('Price Component', () => {

const { getByText } = render(<Price {...props} />);

// Name and symbol are rendered together when ticker is not provided
// Format: "name (symbol)"
expect(
getByText(`${mockProps.asset.name} (${mockProps.asset.symbol})`),
).toBeTruthy();
Expand All @@ -102,8 +100,6 @@ describe('Price Component', () => {
it('renders header correctly when name and ticker are provided', () => {
const { getByText } = render(<Price {...mockProps} />);

// Name and ticker are rendered together
// Format: "name (ticker)"
expect(
getByText(`${mockProps.asset.name} (${mockProps.asset.ticker})`),
).toBeTruthy();
Expand Down
1 change: 1 addition & 0 deletions app/components/UI/AssetOverview/Price/Price.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
return (
<>
<View style={styles.wrapper}>
{/* TODO: remove this once we have have the new row confirmed from design */}

Check warning on line 100 in app/components/UI/AssetOverview/Price/Price.tsx

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=metamask-mobile&issues=AZzYbOLxOMqD6b9y4VPe&open=AZzYbOLxOMqD6b9y4VPe&pullRequest=27073
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be removed

{asset.name ? (
stockTokenBadge ? (
<View>
Expand Down
Loading
Loading