fix(tags): show no tooltip on a tag badge without a description

The badge bound its tooltip to the description directly, so a tag with an
empty description popped up an empty tooltip.
This commit is contained in:
doyaGu committed 2026-10-03 22:49:48 -04:00
1 parent 7fd54fe84a
commit a7b07db034
3 files changed
+14 -1

No files matched your search

@@ -456,6 +456,13 @@ public class BoardViewModelTests
Assert.AreEqual(1, fixture.Repository.GetTags().Count);
}
[TestMethod]
public void TagBadgeShowsNoTooltipForAnEmptyDescription()
{
Assert.IsNull(new TagBadgeViewModel(new TagModel(1, "bug", new RgbColor(1, 2, 3), "")).ToolTip);
Assert.AreEqual("why", new TagBadgeViewModel(new TagModel(1, "bug", new RgbColor(1, 2, 3), "why")).ToolTip);
}
[TestMethod]
public void TagPickerHidesAssignedTagsAndFiltersCaseInsensitively()
{