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

chore: rename HeaderButton into IconButton #1273

Merged

Conversation

tom11-nguyen
Copy link
Contributor

@tom11-nguyen tom11-nguyen commented Oct 3, 2024

Summary of Changes

This change renames the HeaderButton component in core/App/components to name: IconButton, including file names and usages.

Related Issues

bcgov/bc-wallet-mobile#1807

Pull Request Checklist

Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

  • All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
  • Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
  • Updated documentation as needed for changed code and new or modified features;
  • Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

Pro Tip 🤓

  • Read our contribution guide at least once; it will save you a few review cycles!
  • Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Copy link
Contributor

@bryce-mcmath bryce-mcmath left a comment

Choose a reason for hiding this comment

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

This is a bit nitpicky but could we name it IconButton? Just because our standard Button can also come with an icon alongside its text (for example, a loading spinner), but this component is specifically only an icon.

jleach
jleach previously approved these changes Oct 4, 2024
@jleach
Copy link
Contributor

jleach commented Oct 4, 2024

If you want to specify the ticket number and it's not in this repo you need to use the format bcgov/bc-wallet-mobile#1093. Just adding #nnnn will reference the wrong ticket.

@tom11-nguyen tom11-nguyen changed the title chore: rename HeaderButton into ButtonWithIcon chore: rename HeaderButton into IconButton Oct 8, 2024
@bryce-mcmath bryce-mcmath self-requested a review October 10, 2024 16:04
Copy link
Contributor

@bryce-mcmath bryce-mcmath left a comment

Choose a reason for hiding this comment

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

Looks good

Nguyen, Tom CITZ:EX added 2 commits October 10, 2024 09:42
Copy link

sonarcloud bot commented Oct 10, 2024

@bryce-mcmath bryce-mcmath merged commit 2a5e376 into openwallet-foundation:main Oct 10, 2024
7 checks passed
al-rosenthal pushed a commit to al-rosenthal/bifold-wallet that referenced this pull request Oct 10, 2024
Signed-off-by: Nguyen, Tom CITZ:EX <[email protected]>
Co-authored-by: Nguyen, Tom CITZ:EX <[email protected]>
Signed-off-by: al-rosenthal <[email protected]>
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