Skip to content

feat: optimize PWA icons and events page loading performance - #27

Merged
MARCO-K merged 10 commits into
masterfrom
feature/optimize-loading-and-icons
Jun 17, 2026
Merged

MARCO-K merged 10 commits into
masterfrom
feature/optimize-loading-and-icons

Conversation

@MARCO-K

@MARCO-K MARCO-K commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Consolidates event loading, shows next meeting in upcoming list, and adds square PWA icon.

Copilot AI review requested due to automatic review settings June 17, 2026 06:54

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the site’s PWA icon setup (switching to a new square icon) and refactors events.html to fetch event JSON once at page level, then initialize the calendar and event lists from the preloaded data.

Changes:

  • Updated site.webmanifest and multiple pages’ <link rel="apple-touch-icon"> to use img/psugh-icon.webp.
  • Refactored events.html to consolidate fetch() calls and to include “next meeting” in the “Kommende Treffen” list.
  • Updated CHANGELOG.md to document the icon and events-page refactor.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
site.webmanifest Switches manifest icons/shortcuts to psugh-icon.webp and adds maskable entries.
scripts/_template.html Updates apple-touch-icon reference to psugh-icon.webp.
ressourcen/try-catch.html Updates apple-touch-icon reference to psugh-icon.webp.
ressourcen/throw-write-error.html Updates apple-touch-icon reference to psugh-icon.webp.
ressourcen/terminating-errors.html Updates apple-touch-icon reference; minor formatting change at EOF.
ressourcen/select-object.html Updates apple-touch-icon reference to psugh-icon.webp.
ressourcen/invoke-webrequest.html Updates apple-touch-icon reference to psugh-icon.webp.
ressourcen/index.html Updates apple-touch-icon reference to psugh-icon.webp.
ressourcen/erroractionpreference.html Updates apple-touch-icon reference; minor formatting change at EOF.
ressourcen/convertfrom-json.html Updates apple-touch-icon reference to psugh-icon.webp.
index.html Updates apple-touch-icon reference to psugh-icon.webp.
impressum.html Updates apple-touch-icon reference to psugh-icon.webp.
events.html Consolidates event loading, passes preloaded events into calendar, and merges “next meeting” into upcoming list.
CHANGELOG.md Documents the new icon and events page refactor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread events.html
Comment on lines +302 to +308
pastEvents.forEach(event => {
calendarEvents.push({
date: new Date(event.date),
title: event.title,
type: 'past'
});
});
Comment thread events.html
Comment on lines +327 to +335
if (currentMeeting) {
allUpcomingEvents.push({
date: currentMeeting.date,
dateDisplay: currentMeeting.date,
title: currentMeeting.description || 'Nächstes Treffen',
description: currentMeeting.description,
topics: currentMeeting.topics
});
}
Comment thread events.html Outdated
@MARCO-K
MARCO-K merged commit e558f39 into master Jun 17, 2026
2 checks passed
@MARCO-K
MARCO-K deleted the feature/optimize-loading-and-icons branch June 17, 2026 07:57
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