Náhled na uplynulý týden místo "užívejte víkend" #30

Closed
opened 2026-02-04 14:28:11 +01:00 by batmanisko · 0 comments
Member

Feature: Show Past Week Instead of "Enjoy the Weekend"

FeatureRequest enum: NO_WEEKENDS
Description: Zrušení "užívejte víkend", místo toho umožnit zpětně náhled na uplynulý týden

Implementation Notes

Currently on weekends, the app shows a "enjoy the weekend" message. Instead, show the previous week's menu data for review.

Key files to modify:

  • client/src/App.tsx – Remove/replace weekend detection logic that shows the idle message; instead load and display the last working week's data
  • server/src/service.ts – Ensure the API can serve historical menu data for past dates

Approach:

  1. Modify the weekend detection in the client to fetch Friday's (or the last weekday's) data instead of showing a static message
  2. Allow browsing the full previous week using the existing day navigation arrows
  3. Ensure the server returns cached/stored menu data for past dates
  4. Optionally show a subtle banner indicating the user is viewing past data
## Feature: Show Past Week Instead of "Enjoy the Weekend" **FeatureRequest enum:** `NO_WEEKENDS` **Description:** Zrušení "užívejte víkend", místo toho umožnit zpětně náhled na uplynulý týden ### Implementation Notes Currently on weekends, the app shows a "enjoy the weekend" message. Instead, show the previous week's menu data for review. **Key files to modify:** - `client/src/App.tsx` – Remove/replace weekend detection logic that shows the idle message; instead load and display the last working week's data - `server/src/service.ts` – Ensure the API can serve historical menu data for past dates **Approach:** 1. Modify the weekend detection in the client to fetch Friday's (or the last weekday's) data instead of showing a static message 2. Allow browsing the full previous week using the existing day navigation arrows 3. Ensure the server returns cached/stored menu data for past dates 4. Optionally show a subtle banner indicating the user is viewing past data
batmanisko added the Vylepšení label 2026-02-04 14:30:09 +01:00
mates closed this issue 2026-02-05 09:57:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Marbes/Luncher#30