Skip to content

Thing- and TriggerChannel- pickers with footer text #2128

@d51x

Description

@d51x

The problem

When you have many things and some channels with only names then it is very difficult to looking for a thing / channel when creating/editing rules/scripts

My suggestion

  • modify Thing picker to show locations for things in it. It's allow simplify navigate trough list of things
  • modify TriggerChannel picker to show channels description for every channel if has. It gives me a better understanding of what kind of channel it is

But these modifications are only available with redefining of renderItem method of f7SmartSelect, because <select><option> doesn't allow any html-tags and makes a plain text from html

My PR is #2129

Thing Picker with location in footer

image

TriggerChannel picker with channel description in footer

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions