LedgerHQ / LedgerHQ/vanadium

Add support for icons in the UX SDK

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

UX
Dominant language
Rust
Stars
44
Forks
7
Avg merge
17h 58m
Merged PRs (30d)
3

Description

Currently, while there is an Icon type used in some of the Page descriptions, it only supports a couple of standard icons.

We might want to generalize this to support arbitrary icons.

To be decided if the Icon should be serialized as part of the page, or separate ECALLs should be used to load an icon in the VM's memory, later referring to it with a handle.

For example, the Icon type could be a u8, where values 0..=127 are reserved for standard icons, and handles above 127 refers to slots in the VM's memory.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Icon type and the Page descriptions that use it. Resolve whether arbitrary icons should be serialized with the page or loaded into VM memory through separate ECALLs, then define the standard-icon range and handle behavior; the work is done when that design is implemented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.