-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat: add core curriculum chips to injected popup #372
feat: add core curriculum chips to injected popup #372
Conversation
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.
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.
src/views/components/injected/CourseCatalogInjectedPopup/HeadingAndActions.tsx
Outdated
Show resolved
Hide resolved
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.
Two things need fixing:
1: The gap between flag chips and core chips is too big (should be the same value as the gap between two flag chips)
2: It appears that the core chips looks like it has a bigger gap with the course instructor name whereas flag chips don't have an unusually bigger gap.
Also, not sure why, but I had to manually re-add my saved calendar courses from the course schedule to get the flag chip to appear. If the extension were to update, peeps who have an existing schedule wouldn't be able to see core chips unless they re-added the course from the course schedule page.
that is acceptable behavior for now. In the future, we need a way to rescrape all the data when the extension updates (if we changed something about the Course schema or how data is scrapes), but that is complicated and out of scope for this PR. If you would like, we could block this PR on those other changes, but I don't think that's necessary. |
src/views/components/injected/CourseCatalogInjectedPopup/HeadingAndActions.tsx
Outdated
Show resolved
Hide resolved
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, sorry for the longer review process but this change is significantly larger than most of the other "simple" tasks by its nature
just a few simplification comments to ensure consistent code quality
src/views/components/injected/CourseCatalogInjectedPopup/HeadingAndActions.tsx
Outdated
Show resolved
Hide resolved
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.
LGTM
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.
LGTM yayy
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
resolves #337
image:
Huly®: UTRP-356
This change is