Skip to content

Allow referencing existing LabIcons #164

@bollwyvl

Description

@bollwyvl

elevator pitch

Provide a way to reference and inspect, but probably not change, LabIcons defined by other extensions and the client itself.

motivation

The icon_class approach is starting to not work as well as more things expect a LabIcon.

design ides

  • python
  • typescript
    • for listing
      • use LabIcon's private _instances member, which keeps an id-mapped reference to every previously instantiated icon.
  • docs
    • show a little autocompleting gallery of icons

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions