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

feat(wallet): rebrand hidden assets #2012

Merged
merged 14 commits into from
Aug 27, 2024
Merged

Conversation

evavirseda
Copy link
Contributor

Description of change

Please write a summary of your changes and why you made them.

Links to any relevant issues

NESTED PR ⚠️ merge first #1989
fixes #1796

Type of change

Choose a type of change, and delete any options that are not relevant.

  • Bug fix (a non-breaking change which fixes an issue)
  • Enhancement (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Fix

How the change has been tested

Describe the tests that you ran to verify your changes.

Make sure to provide instructions for the maintainer as well as any relevant configurations.

Change checklist

Tick the boxes that are relevant to your changes, and delete any items that are not.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

@evavirseda evavirseda requested review from a team as code owners August 23, 2024 10:42
@evavirseda evavirseda self-assigned this Aug 23, 2024
@evavirseda evavirseda added the tooling Issues related to the Tooling team label Aug 23, 2024
Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: aa2eead

✅ Preview: https://apps-ui-gn32w03qx-iota1.vercel.app

@evavirseda evavirseda linked an issue Aug 26, 2024 that may be closed by this pull request
Comment on lines 17 to 20
const handleActionCardActionClick = (event: React.MouseEvent) => {
event?.stopPropagation();
onClick?.();
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const handleActionCardActionClick = (event: React.MouseEvent) => {
event?.stopPropagation();
onClick?.();
};
function handleActionClick (event: React.MouseEvent) {
event?.stopPropagation();
onClick?.();
};
  1. I know that in another file we are using an arrow function, but I’ve noticed that in many other places we use function declarations. It might be better to use the same approach for consistency.

  2. I think CardAction we can remove from name, as it's inside CardAction component by default. I'd suggest to use handleActionClick

Comment on lines 56 to 70
onClick={() => {
navigate(
isKioskOwnerToken(kioskClient.network, item.data)
? `/kiosk?${new URLSearchParams({
kioskId: getKioskIdFromOwnerCap(item.data!),
})}`
: `/nft-details?${new URLSearchParams({
objectId,
}).toString()}`,
);
ampli.clickedCollectibleCard({
objectId,
collectibleType: type!,
});
}}
Copy link
Contributor

Choose a reason for hiding this comment

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

Please, move it to separate function

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: eac77e4

✅ Preview: https://apps-ui-6hnrj2f1c-iota1.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: d377fea

✅ Preview: https://apps-ui-oo2q3vkjb-iota1.vercel.app

Base automatically changed from tooling-wallet/rebrand-assets-page-kickoff to develop August 27, 2024 11:39
apps/wallet/src/ui/app/shared/page-main-layout/PageMainLayout.tsx
Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: 5e3968a

✅ Preview: https://apps-ui-79z4bjrg4-iota1.vercel.app

Copy link
Member

@VmMad VmMad left a comment

Choose a reason for hiding this comment

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

Purrrfect 🐱

@VmMad VmMad merged commit 2c716c0 into develop Aug 27, 2024
24 checks passed
@VmMad VmMad deleted the tooling-wallet/rebrand-hidden-assets branch August 27, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Issues related to the Tooling team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task (tooling/wallet)]: rebrand hidden assets
3 participants