Skip to content

In Highlight items, hide icons for empty fields (message, sender)

Test case

Steps

  1. Connect to core
  2. Go to overflow menu → Core SettingsHighlights
  3. Add an entirely blank highlight rule
    • Set Name, Sender to empty strings, then specify something for Channel
    • Setting all three to blank results in a seemingly empty rule that highlights everything - still technically valid, someone might want this
  4. Save the new rule

Expected

Quasseldroid hides the icons for empty fields.

Example mockup of icon hiding

Screenshot of Quasseldroid's "Highlights" page showing highlight rules without sender or message entries, resulting in hiding the icons

Alternatively, Quasseldroid could provide a template message, e.g. Matches any message in italics.

Actual

Quasseldroid shows icons without any text beside them.

Example screenshot of icons with no text

Screenshot of Quasseldroid's "Highlights" page showing highlight rules without sender or message entries, resulting in icons without any text to go with them

Additional

Hiding the icons can be done without changing strings. Adding template strings would break translations, so it probably should be postponed for after the %v1.0.0 release.

Edited by Shane Synan