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

3221 refactor gallery modal naming #3673

Merged
merged 4 commits into from
Oct 3, 2024

Conversation

LeeJoh22
Copy link
Collaborator

Resolves #3221

Refactored Gallery code to replace 'Modal' with 'ExpandedView'.

Testing instructions
  1. Start local instance
  2. Checked functionality and UI of 'Gallery' to ensure consistency before and after changes.
Things to check before submitting the PR
  • I've written a descriptive PR title.
  • I've added/updated comments for large or confusing blocks of code.

Copy link
Member

@misaugstad misaugstad left a comment

Choose a reason for hiding this comment

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

Nothing seems to be broken, just a few more changes to make!

  • The filename was changed from "Modal.js" to "ExpandedView.js", but the dir it's in is still called "modal".
  • Still a reference to "modal" in a comment in "GalleryPanorama.js"
  • Still a reference to "modal" in a comment in "ValidationMenu.js"

@LeeJoh22
Copy link
Collaborator Author

I implemented the comments you left in new commit

Copy link
Member

@misaugstad misaugstad left a comment

Choose a reason for hiding this comment

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

Almost there, just a couple little things to do! I'll get your next task or two ready as well. Thanks for going through some of the tedium of refactoring! Just note how important attention to detail is, given how many comments I ended up leaving!

* @constructor
*/
function Keyboard(modal) {
function Keyboard(ExpandedView) {
Copy link
Member

Choose a reason for hiding this comment

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

Oh, didn't notice this last time: naming convention for parameters is camelCase, not PascalCase

Copy link
Member

@misaugstad misaugstad left a comment

Choose a reason for hiding this comment

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

Looks good now, thank you!!

@misaugstad misaugstad merged commit d502236 into develop Oct 3, 2024
@misaugstad misaugstad deleted the 3221-Refactor-Gallery-Modal-Naming branch October 3, 2024 20:38
@misaugstad misaugstad mentioned this pull request Oct 9, 2024
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.

Gallery code refactor: replace the word 'modal'
2 participants