Skip to content
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

Pulls in PL Course Offerings to new table, updates styling, tests #50664

Merged
merged 6 commits into from Mar 10, 2023

Conversation

hannahbergam
Copy link
Contributor

@hannahbergam hannahbergam commented Mar 9, 2023

This PR adds the PL functionality by querying the url param for participant type.
Screenshot 2023-03-09 at 11 07 12 AM

It also updates the styling of the labels so that the course offerings are left aligned and there is a right margin to keep appropriate space on the right edge of the table.
Screenshot 2023-03-08 at 5 45 56 PM

Links

Testing story

I added tests to the hocPl component to verify that the table renders as expected.

I will plan to add more tests for this area once I do the followup work to ensure only users with a facilitator permission can see this table

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@hannahbergam hannahbergam requested review from bethanyaconnor and a team March 9, 2023 19:08
@hannahbergam hannahbergam changed the title Plugs in PL value, updates styling Pulls in PL Course Offerings to new table, updates styling, tests Mar 9, 2023
@@ -68,7 +68,7 @@ export default function CurriculumQuickAssignTopRow({
<Button
id={'uitest-hoc-button'}
className={moduleStyles.buttonStyle}
text={i18n.courseOfferingHOC()}
text={i18n.teacherCourseHoc()}
Copy link
Contributor

Choose a reason for hiding this comment

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

When did this string change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

HA I think I just realized that I was in the UK version of english which has this string as "The Hour of Code" (en_gb). Looks like I didn't need to change it (but now find it weird to have duplicate "Hour of Code" strings)

@hannahbergam hannahbergam merged commit e59e405 into staging Mar 10, 2023
@hannahbergam hannahbergam deleted the hbergam/pl-table branch March 10, 2023 17:28
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.

None yet

2 participants