Skip to content

Descriptor Rework to Master#47

Draft
odudex wants to merge 2 commits into
masterfrom
desc_rework_to_master
Draft

Descriptor Rework to Master#47
odudex wants to merge 2 commits into
masterfrom
desc_rework_to_master

Conversation

@odudex
Copy link
Copy Markdown
Owner

@odudex odudex commented May 13, 2026

Polish commits which are not interdependent from #46 and brings them to master. Making remaining #46 commits lighter to review.

The previous approach walked each PR commit sequentially via
`git rebase --exec` on a single runner, which made N-commit PRs take
N× the runtime and failed outright when the base-branch fetch was
shallow (rebase couldn't resolve merge-base → replayed the whole repo
history). Replace it with the two-job pattern already used in liana
and bwk:

  list-commits: enumerates (origin/$BASE..HEAD~] via `git log` and
                emits a JSON array of {sha, name} objects on the
                `commits` output.
  check-commit: matrix-expanded from that JSON, one parallel job per
                intermediate commit, each running the full
                ci-checks.sh suite (format + tests + wave_4b build).

Per-job timeout drops from 360 min to 60 min since each runner now
handles a single commit. fail-fast: false so one bad commit doesn't
cancel the siblings.
Three constructors for the unified [Label][Item][?] settings row
shape used by Settings → Wallet:

  settings_row_action  (parent, label, on_click)            — [>]
  settings_row_dropdown(parent, label, options, sel,
                        on_change, help_title, help_msg)    — [v][?]
  settings_row_toggle  (parent, label, initial,
                        on_change, help_title, help_msg)    — [⚪][?]

Each row is one touch-target tall (theme_get_min_touch_size); the
trailing [?] glyph opens a help modal via dialog_show_info() with the
caption that previously wrapped under each toggle inline. Action rows
get [>] (LV_SYMBOL_RIGHT). The [?] uses the existing ICON_HELP glyph
baked into icons_24/icons_36 by tools/bake_icons.py.

The helper itself has no callers yet; it's introduced ahead of
Settings → Wallet's rewrite so each subsequent commit that adds a
settings entry can use it from the start.
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.

2 participants