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

rename one WorkshopEnrollment to WorkshopEnroll #50747

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

davidsbailey
Copy link
Member

@davidsbailey davidsbailey commented Mar 14, 2023

Today there are two react components named WorkshopEnrollment:

  1. view / edit workshop page
    Screenshot 2023-03-14 at 7 52 23 AM

  2. page to actually enroll in a workshop
    Screenshot 2023-03-14 at 7 54 40 AM

This makes it unnecessarily difficult to navigate the codebase. This PR helps resolve the ambiguity by renaming (2) to WorkshopEnroll. This was easy to change so I am open to other names too.

Testing story

There is no existing test coverage so I tested this manually. UI tests which require enrollment skip this step to save time, which is generally the right strategy except that there should still be one UI test covering the skipped step. adding a follow-up to add UI test coverage here: https://codedotorg.atlassian.net/browse/ACQ-481

@davidsbailey davidsbailey marked this pull request as ready for review March 15, 2023 12:10
@davidsbailey davidsbailey requested a review from a team March 15, 2023 12:10
Copy link
Contributor

@megcrenshaw megcrenshaw left a comment

Choose a reason for hiding this comment

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

Glad this area of the code base is getting some love!

@davidsbailey davidsbailey merged commit 77ae82a into staging Mar 15, 2023
@davidsbailey davidsbailey deleted the workshop-enroll-rename branch March 15, 2023 16:51
@dmcavoy
Copy link
Contributor

dmcavoy commented Mar 15, 2023

Wonder: Could the first one be called WorkshopEnrollmentList to help make clear its the list of enrolled people and the second one be called WorkshopEnrollmentForm to make it clear its the form. I see you already merged this so no worries if we don't want to do it now. Just a thought

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

3 participants