Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c55e34bc1 |
@@ -1,3 +1,6 @@
|
|||||||
|
## v1.3.2 (2026-02-19)
|
||||||
|
- **Fix**: Falsche Anzahl an Highlight-Menüs im "Nächste Woche"-Badge korrigiert (zählte alle Menüs statt nur Highlights). 🐛
|
||||||
|
|
||||||
## v1.3.1 (2026-02-17)
|
## v1.3.1 (2026-02-17)
|
||||||
- **Feature**: Smart Cache – API-Refresh beim Start wird übersprungen wenn Daten für die aktuelle KW vorhanden und Cache < 1h alt ist. ⚡
|
- **Feature**: Smart Cache – API-Refresh beim Start wird übersprungen wenn Daten für die aktuelle KW vorhanden und Cache < 1h alt ist. ⚡
|
||||||
|
|
||||||
|
|||||||
2
dist/bookmarklet-payload.js
vendored
2
dist/bookmarklet-payload.js
vendored
File diff suppressed because one or more lines are too long
2
dist/bookmarklet.txt
vendored
2
dist/bookmarklet.txt
vendored
File diff suppressed because one or more lines are too long
14
dist/install.html
vendored
14
dist/install.html
vendored
File diff suppressed because one or more lines are too long
12
dist/kantine-standalone.html
vendored
12
dist/kantine-standalone.html
vendored
@@ -1807,7 +1807,7 @@ body {
|
|||||||
<div class="brand">
|
<div class="brand">
|
||||||
<span class="material-icons-round logo-icon">restaurant_menu</span>
|
<span class="material-icons-round logo-icon">restaurant_menu</span>
|
||||||
<div class="header-left">
|
<div class="header-left">
|
||||||
<h1>Kantinen Übersicht <small class="version-tag" style="font-size: 0.6em; opacity: 0.7; font-weight: 400; cursor: pointer;" title="Klick für Versionsmenü">v1.3.1</small></h1>
|
<h1>Kantinen Übersicht <small class="version-tag" style="font-size: 0.6em; opacity: 0.7; font-weight: 400; cursor: pointer;" title="Klick für Versionsmenü">v1.3.2</small></h1>
|
||||||
<div id="last-updated-subtitle" class="subtitle"></div>
|
<div id="last-updated-subtitle" class="subtitle"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1919,7 +1919,7 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div style="margin-bottom: 1rem;">
|
<div style="margin-bottom: 1rem;">
|
||||||
<strong>Aktuell:</strong> <span id="version-current">v1.3.1</span>
|
<strong>Aktuell:</strong> <span id="version-current">v1.3.2</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dev-toggle">
|
<div class="dev-toggle">
|
||||||
<label style="display:flex;align-items:center;gap:8px;cursor:pointer;">
|
<label style="display:flex;align-items:center;gap:8px;cursor:pointer;">
|
||||||
@@ -2877,7 +2877,9 @@ body {
|
|||||||
if (nextWeekData && nextWeekData.days) {
|
if (nextWeekData && nextWeekData.days) {
|
||||||
nextWeekData.days.forEach(day => {
|
nextWeekData.days.forEach(day => {
|
||||||
day.items.forEach(item => {
|
day.items.forEach(item => {
|
||||||
if (checkHighlight(item.name) || checkHighlight(item.description)) {
|
const nameMatches = checkHighlight(item.name);
|
||||||
|
const descMatches = checkHighlight(item.description);
|
||||||
|
if (nameMatches.length > 0 || descMatches.length > 0) {
|
||||||
highlightCount++;
|
highlightCount++;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -3292,7 +3294,7 @@ body {
|
|||||||
|
|
||||||
// Periodic update check (runs on init + every hour)
|
// Periodic update check (runs on init + every hour)
|
||||||
async function checkForUpdates() {
|
async function checkForUpdates() {
|
||||||
const currentVersion = 'v1.3.1';
|
const currentVersion = 'v1.3.2';
|
||||||
const devMode = localStorage.getItem('kantine_dev_mode') === 'true';
|
const devMode = localStorage.getItem('kantine_dev_mode') === 'true';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -3333,7 +3335,7 @@ body {
|
|||||||
const modal = document.getElementById('version-modal');
|
const modal = document.getElementById('version-modal');
|
||||||
const container = document.getElementById('version-list-container');
|
const container = document.getElementById('version-list-container');
|
||||||
const devToggle = document.getElementById('dev-mode-toggle');
|
const devToggle = document.getElementById('dev-mode-toggle');
|
||||||
const currentVersion = 'v1.3.1';
|
const currentVersion = 'v1.3.2';
|
||||||
|
|
||||||
if (!modal) return;
|
if (!modal) return;
|
||||||
modal.classList.remove('hidden');
|
modal.classList.remove('hidden');
|
||||||
|
|||||||
@@ -1141,7 +1141,9 @@
|
|||||||
if (nextWeekData && nextWeekData.days) {
|
if (nextWeekData && nextWeekData.days) {
|
||||||
nextWeekData.days.forEach(day => {
|
nextWeekData.days.forEach(day => {
|
||||||
day.items.forEach(item => {
|
day.items.forEach(item => {
|
||||||
if (checkHighlight(item.name) || checkHighlight(item.description)) {
|
const nameMatches = checkHighlight(item.name);
|
||||||
|
const descMatches = checkHighlight(item.description);
|
||||||
|
if (nameMatches.length > 0 || descMatches.length > 0) {
|
||||||
highlightCount++;
|
highlightCount++;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
v1.3.1
|
v1.3.2
|
||||||
|
|||||||
Reference in New Issue
Block a user