Skip to content

Configurator: draw the moving-map zoom rail in the twin and expose zoom_rail #80

Description

@billmallard

Summary

billmallard/pyEfis#205 adds a one-finger zoom rail to the moving map. It is a vertical rail under the status chip, with a thumb at the current range rung and +/- caps at the ends.

Two things are needed here:

  • The twin must draw it. The configurator's moving-map twin in configurator/public/editor.html has to reproduce what pyEfis renders (the fidelity rule).
  • The editor must expose the new zoom_rail option.

Scope

  • Render the rail in the moving-map twin. Use the same position, proportions and style as the pyEfis widget, with the thumb at the configured range_nm rung. Match it against an offscreen render of the real widget, not against a description.
  • Check the option end to end. It arrives through the schema.json exported from the pyEfis registry. Confirm it appears in the inspector and round-trips into the generated config.
  • No change to how the device pulls config.

Acceptance

Related

billmallard/pyEfis#205, billmallard/pyEfis#136.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlog-candidateWorth working; groomer has drafted a BACKLOG proposalenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions