Closed Fleker closed 12 months ago
Hey @Fleker, apologies for not getting to this sooner. I really appreciate you taking the time to work on this.
Recently, I did a major overhaul of this repo to upgrade all the packages, switch to TypeScript, organize the files better, etc., so it would've been rough to rebase it, so I carried your changes over to a separate PR, and I merged and deployed that, so Pokedex Tracker should now be installable as a PWA. I'm not well-versed in PWAs, but it was a lot easier to understand with your PR as a base, so once again, I appreciate the work that you did.
One change I wanted to note was that instead of adding a /u/me
that rendered your profile, I ended up adding a /profile
route that just redirected to the correct location. I chose /profile
over /u/me
because that route would prevent anyone from viewing the user me
's profile which is unfortunate. And the redirect seemed like a cleaner approach so that we could send the user to the login page if they weren't logged in.
The 2 things that I didn't copy over were:
screenshots
property of the manifest. It seems likes just for promotional purposes, not functionality purposes, so I opted to leave it off for now.Thanks again for putting up this PR, and sorry I didn't get to it sooner!
Addresses #456 by adding a
manifest.json
and a barebonessw.js
service workerThe PWA jumps by default to your profile page using
/u/me
as a new route that uses the session user details.Include additional PWA polish such as screenshots and shortcuts.