Skip to content

fix: handle calendar sync without a batch#6

Open
Anay0305 wants to merge 2 commits into
MicrosoftStudentChapter:mainfrom
Anay0305:final-v1
Open

fix: handle calendar sync without a batch#6
Anay0305 wants to merge 2 commits into
MicrosoftStudentChapter:mainfrom
Anay0305:final-v1

Conversation

@Anay0305

Copy link
Copy Markdown
Collaborator

Summary

  • prevent calendar enable/resync requests when no batch is selected
  • show a clear batch-selection message instead of sending an empty batch
  • safely parse JSON API errors without trying to parse HTML error pages as JSON

Verification

  • npm run build
  • git diff --check

Anay0305 added 2 commits July 10, 2026 00:17
… disconnect

- calendar_api: fix openOAuthPopup race — popup.closed poll now waits 600ms
  before rejecting so any in-flight postMessage can arrive first
- calendar_api: disconnectCalendar(getTokenFn, clear=true) — pass clear=false
  to revoke token without deleting calendar events
- ProfilePage: ConfirmModal gains secondaryLabel/onSecondary for two-action dialogs;
  Disconnect now shows 'Remove events & disconnect' vs 'Disconnect only' choice
- ContentPage: TermStartDateRow alongside TermEndDateRow in calendar overrides card
- admin.js: applyCalendarPlan accepts termStartDates and forwards to backend
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