-
Notifications
You must be signed in to change notification settings - Fork 25
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
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.
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"
public/javascripts/Gallery/src/displays/ValidationInfoDisplay.js
Outdated
Show resolved
Hide resolved
I implemented the comments you left in new commit |
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.
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) { |
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.
Oh, didn't notice this last time: naming convention for parameters is camelCase, not PascalCase
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.
Looks good now, thank you!!
Resolves #3221
Refactored Gallery code to replace 'Modal' with 'ExpandedView'.
Testing instructions
Things to check before submitting the PR