Skip to content

fix: fontWeight and fullWidth for Wallet manager screen#1473

Merged
WaDadidou merged 4 commits intomainfrom
fix/font-weight-wallet-manager-screen
Jan 13, 2025
Merged

fix: fontWeight and fullWidth for Wallet manager screen#1473
WaDadidou merged 4 commits intomainfrom
fix/font-weight-wallet-manager-screen

Conversation

@clegirar
Copy link
Collaborator

@clegirar clegirar commented Jan 3, 2025

Fixed fontWeight and fullWidth for Wallet manager screen

For the fullWidth screen, we are obligate to do that for the moment.
But at the end, it would be great to move that in the future ScreenContainer refacto, and just pass fullWidth to ScreenContainer, and will handle it in his scope.

Else there is the changes for the entire screen 👍
Before:
Screenshot 2025-01-03 at 11 33 52

After:
Screenshot 2025-01-03 at 11 33 58

Signed-off-by: clegirar <clemntgirard@gmail.com>
@clegirar clegirar self-assigned this Jan 3, 2025
@netlify
Copy link

netlify bot commented Jan 3, 2025

Deploy Preview for gno-dapp ready!

Name Link
🔨 Latest commit a9b4492
🔍 Latest deploy log https://app.netlify.com/sites/gno-dapp/deploys/677ba6b8ae494700081e19ae
😎 Deploy Preview https://deploy-preview-1473--gno-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Jan 3, 2025

Deploy Preview for teritori-dapp ready!

Name Link
🔨 Latest commit a9b4492
🔍 Latest deploy log https://app.netlify.com/sites/teritori-dapp/deploys/677ba6b8d5f1db000802622c
😎 Deploy Preview https://deploy-preview-1473--teritori-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@WaDadidou WaDadidou left a comment

Choose a reason for hiding this comment

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

Some changes that are not fully in scope, but are easy to fix and to review in this kind of "text refacto" PR:

  • Remove StyleSheet usages
  • Remove style array usage if not needed (if present in your changes) (Ex: style={[fontMedium13]}

Comment on lines +65 to +66
<BrandText style={[fontRegular12]}>{title}</BrandText>
<BrandText style={[fontRegular16]}>{data}</BrandText>
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's a smaaaall detail, but we can remove the arrays usage is styles (I forgot too sometimes lol)

Suggested change
<BrandText style={[fontRegular12]}>{title}</BrandText>
<BrandText style={[fontRegular16]}>{data}</BrandText>
<BrandText style={fontRegular12}>{title}</BrandText>
<BrandText style={fontRegular16}>{data}</BrandText>

<NetworkIcon networkId={networkId} size={32} />
<SpacerRow size={3} />
<BrandText>
<BrandText style={[fontRegular16]}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
<BrandText style={[fontRegular16]}>
<BrandText style={fontRegular16}>

Copy link
Collaborator

Choose a reason for hiding this comment

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

StyleSheet usage in this file

<View style={{ marginLeft: 16 }}>
<View>
<BrandText>{item.provider}</BrandText>
<BrandText style={[fontRegular18]}>{item.provider}</BrandText>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
<BrandText style={[fontRegular18]}>{item.provider}</BrandText>
<BrandText style={fontRegular18}>{item.provider}</BrandText>

>
{item.address}
</BrandText>
<BrandText style={[fontRegular12]}>{item.address}</BrandText>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
<BrandText style={[fontRegular12]}>{item.address}</BrandText>
<BrandText style={fontRegular12}>{item.address}</BrandText>

fontSize: 14,
}}
>
<BrandText style={[fontRegular14]}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
<BrandText style={[fontRegular14]}>
<BrandText style={fontRegular14}>

fontSize: 14,
}}
>
<BrandText style={[fontRegular14]}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
<BrandText style={[fontRegular14]}>
<BrandText style={fontRegular14}>

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remove StyleSheet usages when you see that in your changed files

Copy link
Collaborator

Choose a reason for hiding this comment

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

StyleSheet usage in this file (pretty big)

Signed-off-by: clegirar <clemntgirard@gmail.com>
@clegirar
Copy link
Collaborator Author

clegirar commented Jan 6, 2025

Yeah it's out of scope, but we can do some PR to remove Stylesheet usage if you want. But everywhere.
And for the array i don't have opinion.

Copy link
Member

@MikaelVallenet MikaelVallenet left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@WaDadidou WaDadidou left a comment

Choose a reason for hiding this comment

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

LGTM

@WaDadidou WaDadidou added this pull request to the merge queue Jan 13, 2025
Merged via the queue into main with commit eb8745e Jan 13, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants