dwyl/app

Feat: Loading Screen

nelsonic opened this issue ยท 2 comments

As noted in our mini experiment for loading screen: dwyl/flutter-phoenix-channels-demo#4
The code required to create a loading screen is minimal and does increase the bundle size.
It loads immediately because it's just HTML and gives the person viewing (waiting) some visual indication of progress while the bundle (main.dart.js) is downloading.

Let's implement it for the Flutter Web App so that we can both give people a sense of progress โณ
and give Google something to see while the app is loading ... ๐Ÿค–

Todo

image

.dwyl-bg-dark-gray {
background-color: #354046;
}
  • Vertically + Horizontally centred dwyl Logo e.g: 64 x 64 px if we have one (smaller the better to reduce load time)
    • Logo Should have transparent background
  • Centred tagline below the logo:
  • No CSS transitions or any superfluous JS (for now ...) just the simplest/fastest-loading screen possible that is replaced as soon as the main.dart.js is loaded. ๐Ÿ™
  • Please avoid importing a CSS library if you can. Borrow the styles from Tailwind if you need to. But in-line the CSS in the index.html file so that it loads as fast as possible. ๐ŸŽ

@LuchoTurtle given your recent experience with this, want to pick this one up? ๐Ÿ‘Œ
Please drop a comment to confirm that this task is clear or to seek further clarification. ๐Ÿ’ฌ
For now we only need this for the Flutter Web version. ๐Ÿ“ฑ
We can re-assess for the iOS and Android when the time comes to ship these to the respective App Stores. ๐Ÿ’ญ

yes ๐Ÿ‘ looks clear enough.

Cool. Please assign PR when ready. ๐Ÿ™