Re: [w3c/manifest] Add optional Transition Screen member (#478)

@seksenov, I'm really really sorry, I know we are going in circles a little bit (this is not deliberate on my part and I feel terrible). But what is being proposed still doesn't make sense to me - so I'm going to see if I can clarify what is being asked. 

You state that:

> What we'd like is to show and focus on is a platform chosen loading indicator.

This is different from the OP - which wanted the UA to choose an image to be displayed in between navigations. Let's put that aside and focus on your request. 

We currently have these scenarios:

1. The application starts up and performs the first navigation (/index.html) - some kind of splashscreen is shown. Right now, for instance, Chrome on Android uses an icon and "background_color" to compose a splash screen on first navigation. Are you proposing that instead, if this is present, a platform-specific loading indicator would be shown? 
1. When user navigates from index.html to page2.html. The developer can do one of the following: 

  2.1 speculative request that the browser prerender page2.html.
  2.2 Have page2.html stored and served from the service worker cache. 
  2.3 Load the page from network (which can take time in, for example, "Lie-Fi").

In the case that 2.3 occurs (or 2.1 and 2.2 don't complete in a timely manner - say, 1 second), and the developer has set this flag, the user agent would compose a "background_color" + a platform-specific spinner and show that until first paint. 

Did I get that right? 

If so: I'm not a huge fan of this, to be honest. I'd prefer if developers just fix their apps to show something quickly on their page (specially because they have the capability to do that via 2.1 or 2.2 above). However, I'd like to hear other opinions.  

@mounirlamouri or @jakearchibald, can you kindly please chime in? 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/478#issuecomment-247240661

Received on Thursday, 15 September 2016 05:46:53 UTC