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

Add up footer layout object and tip-box object #727

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

nroggeman-ledger
Copy link
Contributor

Description

The original goal of this PR is to support Tip-Box, as on the attached picture (from https://www.figma.com/design/k9Q6hP0XWAw00AiT6GDb0O/02.-App-SDK?node-id=94-69834&t=ZUjo31oi2l0Y5sc1-4)
image

To do so, it's necessary to add a up-footer object (and container) in layout layer. This addition enable to regroup other "similar" objects in this up-footer object, like long-press button, horizontal buttons and simple button (in case of button in bottom)

Moreover, to link the content of the tip-box to the centered info), an extended centered info has to be created.

Finally, an nbgl_useCaseAdvancedReview() API is created to be able to use this tip-box in the case illustrated by the attached picture

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • [*] New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)
  • Tests
  • Documentation
  • Other (for changes that might not fit in any category)

@codecov-commenter
Copy link

codecov-commenter commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.20%. Comparing base (5066446) to head (fa3dac6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #727   +/-   ##
=======================================
  Coverage   60.20%   60.20%           
=======================================
  Files          12       12           
  Lines        1729     1729           
=======================================
  Hits         1041     1041           
  Misses        688      688           
Flag Coverage Δ
unittests 60.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nroggeman-ledger nroggeman-ledger merged commit de5b995 into master Aug 9, 2024
196 checks passed
@nroggeman-ledger nroggeman-ledger deleted the add-up-footer-layout-object branch August 9, 2024 09:41
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