-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add in progress computation #125
Conversation
before degree-status compute, we check compute_in_progress flag and change courses statuses if needed.
Change "in progress" to be the default state for new courses
- refactor progress bar to hold 2 colors (one for only complete courses and complete+in progress courses) - change `Chip`s to be 'in-progress` when needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to make a different color theme if the user clicks the toggle? @liadaram1 @benny-n @liadaram1
packages/sogrim-app/src/components/Banner/BannerCards/DegreeMainStatus.tsx
Outdated
Show resolved
Hide resolved
packages/sogrim-app/src/components/Banner/BannerCards/DegreeMainStatus.tsx
Show resolved
Hide resolved
packages/sogrim-app/src/components/Banner/BannerCards/DegreeStatusBar.tsx
Outdated
Show resolved
Hide resolved
packages/sogrim-app/src/components/Banner/BannerCards/DegreeStatusBar.tsx
Outdated
Show resolved
Hide resolved
packages/sogrim-app/src/components/Banner/BannerCards/DegreeStatusBar.tsx
Outdated
Show resolved
Hide resolved
packages/sogrim-app/src/components/Pages/SemestersPage/SemesterTable/CourseValidator.ts
Show resolved
Hide resolved
@NissanOhana not sure all of the color theme should change, but we do get a nice progress bar with 3 colors (complete, in-progress, not complete) when the user clicks the toggle |
If so, yalla. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
all the remaining issues (spaghetti code in some component) are because of me 🤤
@liadaram1 - if you checked all cases in the UI - we can merge :)
packages/sogrim-app/src/components/Banner/BannerCards/ComputeInProgressToggle.tsx
Show resolved
Hide resolved
IMO we can merge. |
Create a full flow to compute degree status with regard to courses in progress.