feat(pwa): add an apple-touch-icon to analytics.flisk.si so iOS home-screen shortcuts show the Flisk icon
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- html, javascript
- Domain
- frontend
Research direction
Start by finding where the Cloudflare Worker renders the analytics home page head and how static assets are routed. Add a test asserting GET / includes a <link rel="apple-touch-icon"> tag pointing at a 180x180 PNG, then add the tag and serve the PNG as a static asset with long Cache-Control. Done means both new tests pass, the icon URL returns 200 image/png, and existing tests still pass.
Written by the indexing model from the issue text.
Description
Problem
https://analytics.flisk.si/ has no <link rel="apple-touch-icon">. When someone on iPhone or iPad uses Share, Add to Home Screen, or bookmarks the page, iOS shows a blank tile or a screenshot of the page instead of the Flisk icon. tools, readme and inference already set one.
Reproduce: curl -s https://analytics.flisk.si/ | grep -c apple-touch-icon prints 0.
Root Cause Analysis
The page head declares no touch icon, and no /apple-touch-icon.png is served at the default path either, so iOS has nothing to use. A single 180x180 PNG from the Flisk icon set and one link tag fixes it.
TDD Fix Plan
- RED: Add a test that GET / has a
link rel="apple-touch-icon"tag.
GREEN: Add the tag pointing at a 180x180 PNG. - RED: Add a test that the icon URL returns 200 with
image/pngand a long Cache-Control.
GREEN: Serve the PNG as a static asset.
REFACTOR: Reuse the icon from the flisk-emoji repo for every site.
Acceptance Criteria
- The home page declares an apple-touch-icon
- The icon URL returns a 180x180 PNG with caching
- All new tests pass
- Existing tests still pass
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 2
- Avg merge
- 1h 33m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flisk-sh/analytics
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
All issues in flisk-sh/analytics
Similar issues
-
chore cloudflare-workers consistency d1 difficulty: easy documentation dx enhancement good first issue help wanted hygiene javascript maintenance priority: P3 seo
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Link Checker ReportOpenautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
MattiaPARRINELLO/backstage#70 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
untemps/svelte-palette#298 ·