-
Notifications
You must be signed in to change notification settings - Fork 710
Add notification action for 'Erase + Start from Home View' #870
Comments
@pocmo how hard would this be? @mheubusch this is going to be a bit more complicated than 'Open'. Do you have thoughts on this? |
Stop. No new features in 1.1 (I removed the label and added the triage label). I wonder if this could be something for a shortcut action? Anyhow: I think that's doable. And after #832 this will be "just" switching to the app and erase. Immediately being able to type a new URL / search will be the default for all. |
Shortcuts from the Home screen? Would it be something like "Erase" and "Erase and start a new search"? that could work!... 🤔 |
Final reco: |
I'll add the string to the repo (and export) today. @antlam We also need to decide what icon we want to show in the notification on older devices. The firefox like for open - or the trash can? or something else? |
@pocmo is it ok if we dont supply an icon? |
@antlam The API for adding an action to a notification requires supplying an icon. On my Z3C it works if I do not specifiy a valid icon resource id (see screenshot below). However it's not mentioned in the docs that this is supported. So this could be fragile. We would need to test on a variety of devices and (older) Android versions to be sure. |
@pocmo can we use the material rubbish bin? the same one on the FAB |
@antlam I just noticed that it suddenly does not fit on the small Z3C (in portrait only) when adding the icon. |
I merged the patch so that we can try it on multiple devices. Regarding the problem mentioned above, we could:
|
I'm fine with this as is actually. I'm not too worried about it. But something like "Reset" or "Restart" might work? I'll let @mheubusch make the call if she wants to change it. |
Definitely not a blocker for this release, and bullet one seems fine for me. |
Alright. I'll close this issue and we can file a new one for one of the upcoming releases if we decide to change something. |
From @bbinto (and I'm paraphrasing obvs)
The text was updated successfully, but these errors were encountered: