Skip to content

Conversation

@vicksey
Copy link
Contributor

@vicksey vicksey commented Nov 15, 2025

Summary

When a user adds Async sections to their schedule, a collapsible dialogue is now added to the bottom right of their calendar.
Alternative to #1310 that's less blaring to the user.
image

When screenshotted:
image

Test Plan

  • Add/remove TBA time sections
  • Add to multiple schedules and switch through them aimlessly

Issues

  • Could argue that its going to block an event on Friday night but tbh no one has anything there anyways

Closes #1181

@alexespejo alexespejo self-requested a review November 17, 2025 23:44
Copy link
Collaborator

@alexespejo alexespejo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty cool 😄

@vicksey
Copy link
Contributor Author

vicksey commented Nov 26, 2025

@alexespejo I resolved all your comments, lmk if theres anything else !

@vicksey vicksey requested a review from alexespejo November 26, 2025 23:42
@vicksey vicksey requested a review from alexespejo December 1, 2025 00:29
AppStore.off('clearSchedule', handleUpdate);
AppStore.off('currentScheduleIndexChange', handleUpdate);
};
}, []);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: Why do we have a flag that forces a rerender when courses change? My interpretation here is that we want tbaSections to be reactive to the value of AppStore.schedule.getCurrentCourses().

If so, we shouldn't "pipe" reactive events across multiple hooks.

suggestion: we can have this useEffect update the value of tbaSections stored in a useState (this means we don't have to go from "course updated" -> "update trigger" -> "update tbaSections" and instead just say "course updated" -> "update tbaSections"

Co-authored-by: Kevin Wu <kevinwu098@gmail.com>
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.

AA Calendar Should Indicate Async

4 participants