-
Notifications
You must be signed in to change notification settings - Fork 48
Enhanced PWA #188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhanced PWA #188
Conversation
- Introduced multiple icon files in WEBP format with various sizes (192x192, 196x196, 228x228, 256x256, 384x384, 512x512). - Added new screenshot files in AVIF format for the web app manifest, including hero and prepare screenshots in both standard and wide formats. - Updated the manifest.ts file to include the new icons and screenshots, adjusting background and theme colors.
Synced my codebase
|
Delete package-lock, we are using pnpm |
| background_color: "#ffffff", | ||
| theme_color: "#000000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if a user uses and prefers light mode? In that case, doesn't #ffffff make more sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The background color by default is dark right...
Additionally, by matching with the app's icons's background color, during loading the icon doesnt stick out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool
|
LGTM |
|
well done |
This pull request updates the
manifest.tsfile to enhance the web application's manifest configuration. Key changes include the addition of a newExtendedScreenshotinterface, updates to theme and background colors, expanded metadata categories, new shortcut definitions, and a more comprehensive set of icons and screenshots.Manifest Enhancements:
Added
ExtendedScreenshotInterface: Introduced a new interface to support additional metadata for screenshots, such asform_factor. (src/app/manifest.ts, src/app/manifest.tsR3-R9)Updated Theme and Background Colors: Changed
background_colorandtheme_colorfrom#ffffffand#000000to#070114for a unified dark theme. (src/app/manifest.ts, src/app/manifest.tsL11-R83)Expanded Metadata:
categoriesfield with values such as "education" and "technology".shortcutsfor quick access to features like "Upload", including associated icons. (src/app/manifest.ts, src/app/manifest.tsL11-R83)Enhanced Icons: Replaced existing icons with a broader set of
webpicons in various sizes, includingmaskableoptions for better adaptability. (src/app/manifest.ts, src/app/manifest.tsL11-R83)Improved Screenshots: Updated screenshots to use
avifformat, added wide-format screenshots, and incorporated theform_factorproperty for better device-specific rendering. (src/app/manifest.ts, src/app/manifest.tsL11-R83)