Skip to content

Create schedules use case completed - #72

Merged
rootcats merged 14 commits into
mainfrom
CreateSchedules
Dec 2, 2025
Merged

Create schedules use case completed#72
rootcats merged 14 commits into
mainfrom
CreateSchedules

Conversation

@ingrid534

Copy link
Copy Markdown
Owner
  • users can select the time slots they are available
  • if multiple users in the group, schedule grid colors will vary depending on how many people are available
  • if application closes, the schedule will stay saved (stored in db and loaded in)
  • tested with other use cases and everything is functional

@rootcats rootcats left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Other than the minor issue of javadoc, I think everything seems to work

* retrieve members for a specific group and update the People tab UI.
*
* @param viewModel the view model that will be updated with retrieved member data
* @return a new RemoveMemberController wired to the appropriate interactor and presenter

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

minor issue: CreateScheduleController not RemoveMemberController

* @return the color to fill the time slot with
*/
private static Color pickColor(int num, int groupSize) {
int percent = (num * 100) / groupSize;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Since our groupSize is always > 0, I think this is okay

@rootcats
rootcats merged commit 2190bb7 into main Dec 2, 2025
1 check passed
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.

2 participants