Skip to content

feat: warn before losing timetable changes - #129

Merged
condyl merged 1 commit into
masterfrom
cb/warn-before-losing-timetable
Sep 29, 2026
Merged

condyl merged 1 commit into
masterfrom
cb/warn-before-losing-timetable

Conversation

@condyl

@condyl condyl commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Warn before leaving the page while a populated timetable has not been copied as a link.
  • After a successful copy, compare the copied s snapshot with the current URL state so later timetable changes restore the warning.
  • Keep browser-native prompt wording and do not treat calendar export as copying a share link.

Verification

  • Pre-commit formatting passed.
  • ESLint passed.
  • Vitest passed: 12 files, 33 tests.

@condyl
condyl merged commit ba398fa into master Sep 29, 2026
5 checks passed
@condyl
condyl deleted the cb/warn-before-losing-timetable branch September 29, 2026 02:34

This branch was successfully deployed

1 active deployment
Preview — c6d84acb Deployed Sep 29, 2026 by vercel[bot]
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.

1 participant