Skip to content

Comments

feat: make it PWA (progressive web app)#87

Merged
peckz merged 3 commits intojamdotdev:mainfrom
jucktnich:feature/pwa
Aug 1, 2025
Merged

feat: make it PWA (progressive web app)#87
peckz merged 3 commits intojamdotdev:mainfrom
jucktnich:feature/pwa

Conversation

@jucktnich
Copy link
Contributor

@jucktnich jucktnich commented Apr 25, 2025

Hey,

I made the site a progressive web app by adding a manifest.json, icons, and linking the manifest.json in the meta-tags. This PR solves issue #58. I'd love to get feedback on this, and if you determine it useful, I'd love to see it being merged into the main branch.

@peckz peckz requested a review from Copilot July 31, 2025 18:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements Progressive Web App (PWA) functionality by adding a web app manifest and linking it in the HTML head, addressing issue #58.

  • Added a complete PWA manifest with app metadata and icon definitions
  • Integrated the manifest into the site's meta tags for PWA recognition

Reviewed Changes

Copilot reviewed 2 out of 8 changed files in this pull request and generated 1 comment.

File Description
public/manifest.json Defines PWA configuration including app name, theme colors, icons, and display settings
components/Meta.tsx Links the manifest file in the HTML head for PWA functionality

{props.keywords && <meta name="keywords" content={props.keywords} />}
{props.author && <meta name="author" content={props.author} />}
{props.ogUrl && <meta property="og:url" content={props.ogUrl} />}
<link rel="manifest" href="../manifest.json" />
Copy link

Copilot AI Jul 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The manifest path '../manifest.json' is incorrect. Since the manifest is in the public directory, it should be '/manifest.json' to reference it from the root of the public folder.

Suggested change
<link rel="manifest" href="../manifest.json" />
<link rel="manifest" href="/manifest.json" />

Copilot uses AI. Check for mistakes.
@peckz
Copy link
Collaborator

peckz commented Aug 1, 2025

@jucktnich Thank you! Welcome to the contributors list! I updated logo assets!

@peckz peckz merged commit 0541ecb into jamdotdev:main Aug 1, 2025
1 check passed
@jucktnich
Copy link
Contributor Author

@peckz Thanks for merging. Sadly the pwa-manifest is wrongly linked by me; do you want to link the manifest correctly, or should i provide a fix?

@peckz
Copy link
Collaborator

peckz commented Aug 1, 2025

@jucktnich actually manifest is good, we have a very complex proxy setup. If you wish to install this as PWA, please use this link https://jam-dev-utilities.pages.dev

Also, it's probably worth adding this info to readme file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants