IDK if we make this 'early' enough???"
--
You received this message because you are subscribed to the Google Groups "pwa-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pwa-dev+u...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/pwa-dev/226063e5-78af-4265-b40d-3e7321da469en%40chromium.org.
Naive possibility here is that the web install API just needs to check & make this on the initial JS call, on the browser side?
if the ml tracker isn't there, then create it and attach to the current process (forward to command?)
if it IS there, then abort the install.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/pwa-dev/095e7f6b-a220-4ed3-94d0-fbd5d70a6b31n%40chromium.org.
Hey Dan!Thanks for the patience. To answer your question, "light dismiss" means we monitor for mouse input and close the dialog if we receive any clicks outside the bounds of the dialog. This effectively handles tab switches, window losing focus, clicking the ... menu, etc. In Edge, our install dialog is a bubble dialog delegate view and it implements event_observer.h to listen for mouse events. I played around a bit trying to hack this into the WebAppDialogDelegate, but came to the conclusion that it's not very compatible with the ModalDialog model, and would likely require changing the dialog model.Your confirmation about background installs registering on the current web contents led me down a different path, and I was able to prototype a working solution with the ML tracker, that's pretty much this approach you and Howard discussed --
Naive possibility here is that the web install API just needs to check & make this on the initial JS call, on the browser side?
if the ml tracker isn't there, then create it and attach to the current process (forward to command?)
if it IS there, then abort the install.
I tagged you in a couple places that I had confirmation questions, but I'd love to get your initial thoughts! We're thinking this is a minimally disruptive change that makes sense in the context of web install, and also won't require too much updating when the tracker gets removed.Thanks!Lia
On Friday, April 25, 2025 at 9:22:21 AM UTC-7 Lia Hiscock wrote:
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/pwa-dev/cc1c49bc-c98a-4463-982a-efdacabea033n%40chromium.org.