Skip to content

Settings: Add a sortable priority list #2556

@philipptrenz

Description

@philipptrenz
Image

Link to Figma

  • Via the arrow up and down buttons, the list can be rearranged.
  • Arrow up of first element and arrow down of last element is disabled and grayed out for obvious reasons.
  • By tapping the element itself, it leads to a new settings page for this device – content of it is to be specified.

Source of the list will be in dbus-systemcalc, it's structure is to be discussed. As an initial idea, I would suggest a D-Bus path with a JSON array, containing service mappings:

[
    {"service": "com.victronenergy.acload.device_1"},
    {"service": "com.victronenergy.ev_charger.1234567"},
    {"service": "com.victronenergy.acload.device_3"},
    {"service": "com.victronenergy.dcload.abcd"}
]

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions