Slice 3: Move toolbar icon badges for background script errors under env flag
https://www.notion.so/pixiebrix/Phase-2-Add-Brick-for-Setting-Badge-in-Toolbar-04b12e551113443b9218317744dd864f?pvs=4#ec0aedbd082049a78079754432d3dcff
I'd vote to use system notifications instead, it'd be quite useful.
The change would probably just be:
- in
manifest.mjs: addnotificationpermissionsif !isProduction - in
errorsBadge.ts: usechrome.notifications.create()instead ofbrowserAction.*calls (it'd make the file much simpler rather than longer)
I'd vote to use system notifications instead, it'd be quite useful.
I'm OK with giving it a try. FWIW, I have Chrome system notifications off. Not sure if other developers do to. I prefer the badge based approach, but I'm not the one working with it as much
Yeah I'm ok either way. I think I have notifications enabled but I only use chrome for development
I'd vote to use system notifications instead, it'd be quite useful.
I like the idea; also on board with giving it a try