Skip to content

Toggle Default Sitemap by long pressing on it in the ☰ menu #4021

Description

@dilyanpalauzov

The hamburger menu ☰ in openHAB-Andoid 3.20.4 beta shows all available sitemaps.

  • It should somehow highlight, emphasize the Default sitemap.
  • Long pressing on a different sitemap should make that sitemap the default one.

The current procedure to change the default sitemap, going over ☰ → ⚙ Settings → (particular) Server → “Clear default Sitemap”, then pressing ◀ back to really clear the sitemap, then answering a question which - out of the list of available sitemaps - should be the new Default sitemap, if effective, but not efficient.

However at the same time I agree that changing the default sitemap is an operation which isn't done that often. Except one makes a spelling mistake in the grammar of the Default .sitemap file, in which case the Default sitemap disappears, openHAB-Android selects the only other sitemap as Default, and the user has to go over the above steps, after the .sitemap file is polished.

At the same time, emphasizing the Default sitemap is not necessary, when there is only one sitemap. In this case the “Clear default Sitemap” option should not be shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIndicates new feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions