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

fix: NoSuchAppProvider exception learn more link management #8465

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

themooneer
Copy link
Contributor

@themooneer themooneer commented Nov 25, 2024

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

Make the learn more link rendering on NoSuchAppProvider related UI dynamic per appName.

syncOK.mov

❓ Context


🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@themooneer themooneer requested a review from a team as a code owner November 25, 2024 14:55
Copy link

vercel bot commented Nov 25, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 3:12pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 3:12pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 3:12pm
web-tools ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 3:12pm

@live-github-bot live-github-bot bot added the desktop Has changes in LLD label Nov 25, 2024
@themooneer themooneer force-pushed the fix/NSAPLearnMoreManagement branch from 9417a0c to d389153 Compare November 25, 2024 14:56
>
<Trans i18nKey="errors.NoSuchAppOnProvider.learnMoreCTA" />
</StyledLinkLearnMoreButton>
{learnMoreLink && (
Copy link
Contributor

Choose a reason for hiding this comment

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

as learnMoreTextKey is optional, needs to be checked no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why not ! done

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mcayuelas-ledger can you take a look please ?

@themooneer themooneer force-pushed the fix/NSAPLearnMoreManagement branch from d389153 to d69961c Compare November 25, 2024 15:09
learnMoreTextKey: "errors.NoSuchAppOnProvider.learnMoreCTA",
};
default:
return {};
Copy link
Contributor

Choose a reason for hiding this comment

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

we don't provide anything for default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mcayuelas-ledger we don't as learnMoreLink depends on apps context

Copy link
Contributor Author

Choose a reason for hiding this comment

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

for example ACRE there is no learnMoreLink, if they want to add it, they should implement it here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Okey :)

@themooneer themooneer merged commit fc95133 into develop Nov 27, 2024
48 of 50 checks passed
@themooneer themooneer deleted the fix/NSAPLearnMoreManagement branch November 27, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Has changes in LLD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants