Figure out a way to implement hasChildren on tags

NEW
Unassigned

Status

()

enhancement
P3
normal
11 months ago
11 months ago

People

(Reporter: mak, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fxsearch])

Reporter

Description

11 months ago
This used to be a synchronous check done through a cached hasTags API, but we can't do synchronous querying here. Thus, bug 1477930 broke the open glyph on the tags root.

A possibility may be to pass hasChildren as an argument when we create a container, and then keep it up-to-date using notifications. This may even be cheaper for other cases, and it's usually easy to query for children when we query for the other container information.
You need to log in before you can comment on or make changes to this bug.