this bug is basically frontend interactions with about:addons model management. there's existing events for various management that sends back addon_id ml model addon id is currently a hash of name and version but maybe it could have some plaintext to simplify figuring out what model it is instead of tracking a reverse mapping back to model https://searchfox.org/mozilla-central/rev/4c065f1df299065c305fb48b36cdae571a43d97c/toolkit/mozapps/extensions/internal/ModelHubProvider.sys.mjs#137-141 here's an example uninstalling i believe a smart tab model: ``` { "timestamp": 0, "category": "addons_manager", "name": "uninstall_other", "extra": { "value": "b41fad6009295d6508e09b998502aa18ffb6cddd...5f61f0a435f59370@modelhub.mozilla.org", "glean_timestamp": "1746466232877", "blocklist_state": "undefined" } }, { "timestamp": 0, "category": "addons_manager", "name": "manage", "extra": { "blocklist_state": "undefined", "glean_timestamp": "1746466232877", "addon_id": "b41fad6009295d6508e09b998502aa18ffb6cddd...5f61f0a435f59370@modelhub.mozilla.org", "addon_type": "other", "method": "uninstall" } } ``` where there's both metrics_legacy for that uninstall_other https://searchfox.org/mozilla-central/rev/4c065f1df299065c305fb48b36cdae571a43d97c/toolkit/mozapps/extensions/metrics_legacy.yaml#1031 and metrics for manage https://searchfox.org/mozilla-central/rev/4c065f1df299065c305fb48b36cdae571a43d97c/toolkit/mozapps/extensions/metrics.yaml#338 when this bug was originally filed, there were other model management UI like dropdown, so whatever is left of what's been prioritized should have events if they don't exist
Bug 1947256 Comment 2 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
this bug is basically frontend interactions with about:addons model management (vs bug 1947258 backend). there's existing events for various management that sends back addon_id ml model addon id is currently a hash of name and version but maybe it could have some plaintext to simplify figuring out what model it is instead of tracking a reverse mapping back to model https://searchfox.org/mozilla-central/rev/4c065f1df299065c305fb48b36cdae571a43d97c/toolkit/mozapps/extensions/internal/ModelHubProvider.sys.mjs#137-141 here's an example uninstalling i believe a smart tab model: ``` { "timestamp": 0, "category": "addons_manager", "name": "uninstall_other", "extra": { "value": "b41fad6009295d6508e09b998502aa18ffb6cddd...5f61f0a435f59370@modelhub.mozilla.org", "glean_timestamp": "1746466232877", "blocklist_state": "undefined" } }, { "timestamp": 0, "category": "addons_manager", "name": "manage", "extra": { "blocklist_state": "undefined", "glean_timestamp": "1746466232877", "addon_id": "b41fad6009295d6508e09b998502aa18ffb6cddd...5f61f0a435f59370@modelhub.mozilla.org", "addon_type": "other", "method": "uninstall" } } ``` where there's both metrics_legacy for that uninstall_other https://searchfox.org/mozilla-central/rev/4c065f1df299065c305fb48b36cdae571a43d97c/toolkit/mozapps/extensions/metrics_legacy.yaml#1031 and metrics for manage https://searchfox.org/mozilla-central/rev/4c065f1df299065c305fb48b36cdae571a43d97c/toolkit/mozapps/extensions/metrics.yaml#338 when this bug was originally filed, there were other model management UI like dropdown, so whatever is left of what's been prioritized should have events if they don't exist