Open
Bug 2059730
Opened 1 month ago
Updated 28 days ago
Add a tabGroup mention type to the Smart Window mention data model
Categories
(Core :: Machine Learning: Frontend, task, P1)
Core
Machine Learning: Frontend
Tracking
()
NEW
People
(Reporter: flozia, Unassigned)
References
(Blocks 6 open bugs)
Details
(Whiteboard: [aiasst])
Summary
The Smart Window mention data model is keyed by URL, but a tab group has no URL. ContextWebsite requires a url, MentionData.id is the URL, and deduplication is done on URL in multiple places. Referencing a tab group as context requires a mention type that is identified by group id instead.
Acceptance Criteria
ContextWebsitesupportstype: "tabGroup"variant withgroupIdandcolorand can be identified with nourl.MentionData.idaccepts agroup:<groupId>value for tab group mentions.- Deduplication in
SmartbarInputUtils.getMentionSuggestions(),SmartbarInput.getResolvedContextWebsites()andai-window.#calculateCurrentMentions()has tab group entries keyed bygroupId. removeContextMention()accepts a URL orgroupId.- Unit test coverage
Updated•1 month ago
|
| Reporter | ||
Updated•28 days ago
|
Points: --- → 3
Priority: -- → P1
You need to log in
before you can comment on or make changes to this bug.
Description
•