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 💄(llm): change add accounts button logic #8859

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LucasWerey
Copy link
Contributor

@LucasWerey LucasWerey commented Jan 9, 2025

✅ Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • new accounts list add account

📝 Description

Change add account button apparition on portfolio screen with the new accounts list
Update inte test in consequence

No button on assets list if less than 5 assets
See all assets if equal or more than 5 assets
Add account button on accounts list
See all accounts button if equal or more than 5 accounts
If nothing default add account button

❓ 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)

@LucasWerey LucasWerey requested a review from a team as a code owner January 9, 2025 17:19
Copy link

vercel bot commented Jan 9, 2025

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 Jan 9, 2025 5:21pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 9, 2025 5:21pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 9, 2025 5:21pm
web-tools ⬜️ Ignored (Inspect) Visit Preview Jan 9, 2025 5:21pm

@live-github-bot live-github-bot bot added the mobile Has changes in LLM label Jan 9, 2025
@@ -71,7 +71,6 @@ describe("portfolioAssets", () => {

expect(await screen.getByTestId("AssetsList")).toBeVisible();
expect(screen.queryByText(/see all assets/i)).toBeNull();
expect(screen.getByText(/add account/i)).toBeVisible();
Copy link
Contributor

Choose a reason for hiding this comment

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

can you add a test case where the button add account is visible ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Has changes in LLM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants