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

B2CA-1942: nbgl on nano #736

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

cedelavergne-ledger
Copy link
Contributor

@cedelavergne-ledger cedelavergne-ledger commented Feb 20, 2025

Description

Update the app to use NBGL for NanoX and NanoSP.

  • Add chain glyphs in 14px
  • Update code for Nano on NBGL
  • Add support for Nano icons in Dynamic Networks
  • Adapt client (settings) to Nano navigation, and update after SDK change for Stax/Flex
  • Adapt existing tests (mainly Navigation)
  • Update snapshots

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)

@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1942_nbgl-on-nano branch 2 times, most recently from 075b79c to e9558a1 Compare February 21, 2025 09:12

Choose a reason for hiding this comment

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

Copilot reviewed 1341 out of 1358 changed files in this pull request and generated no comments.

Files not reviewed (17)
  • Makefile: Language not supported
  • glyphs/chain_108_14px.gif: Language not supported
  • glyphs/chain_1284_14px.gif: Language not supported
  • glyphs/chain_1285_14px.gif: Language not supported
  • glyphs/chain_1313114_14px.gif: Language not supported
  • glyphs/chain_1620_14px.gif: Language not supported
  • glyphs/chain_1666600000_14px.gif: Language not supported
  • glyphs/chain_1987_14px.gif: Language not supported
  • glyphs/chain_19_14px.gif: Language not supported
  • glyphs/chain_1_14px.gif: Language not supported
  • glyphs/chain_200625_14px.gif: Language not supported
  • glyphs/chain_20531812_14px.gif: Language not supported
  • glyphs/chain_237_14px.gif: Language not supported
  • glyphs/chain_24484_14px.gif: Language not supported
  • glyphs/chain_246529_14px.gif: Language not supported
  • glyphs/chain_246_14px.gif: Language not supported
  • glyphs/chain_248_14px.gif: Language not supported
Comments suppressed due to low confidence (1)

client/src/ledger_app_clients/ethereum/settings.py:31

  • Ensure that the new logic for x and y coordinates in get_setting_position is covered by tests.
def get_setting_position(firmware: Firmware, setting_idx: int) -> tuple[int, int]:
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1942_nbgl-on-nano branch 2 times, most recently from 3ddb072 to 996571c Compare February 21, 2025 15:19
- Disable Network Icons
- Piezzo not available
- Remove 'SCREEN_SIZE_WALLET' for 'get_ui_pairs_buffer' in eip712
- Update strings to fit in Nano screen
- No skip on Nano for eip712
- Do not send big network icons on nano
- Fix navigation
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.

1 participant