-
Notifications
You must be signed in to change notification settings - Fork 4.2k
FED Cleanup of Studio Outline page #1896
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
Conversation
|
@frrrances, I'm still going through - but I noticed I can't cancel out of creating a new subsection (cancel button doesn't fire any events). |
|
@frrrances, also, it looks like the modal depths visuals are applied backwards (the modal window has the blur filter applied and the background is clear). See this screengrab: |
|
@frrrances, the padding of the "New Section" UI looks like it was increased with this work (see screengrab). Can you tighten this up? |
|
@frrrances, also, looks like the "Collapse/Expand All Sections" visually toggles something (height or padding) with the "New Section" UI - not sure if this was happening before or not. |
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.
We already have elements/_modal.scss. While the Sass in there is part of the older base we want to refactor, should the contents of this file be included there for future maintenance rather than another file?
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.
Good catch. This is meant to be part of the subset of modals for form actions, so I wanted to use the _uploads.scss file but it isn't named well, so I made a new one and we should merge them into a single _modal-forms.scss file. For now is it okay to leave this as is?
cms/static/sass/views/_outline.scss
Outdated
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.
any way to clean up this value so we don't have to use a hard-coded hex value and an !important rule?
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.
yes. updated.
|
@frrrances, very nice work cleaning up this view visually and technically. This makes a huge difference and sets us up really well to continue to make this part of Studio even better. I've looked through things and all of my comments, suggestions, and questions are inline. Let me know if you want to talk anything over or have any concerns. I'll take a spin through once you're done making any revisions for a final review. |
|
Thanks for all of the attention to detail, @frrrances. This looks good - please ship this enormous improvement ASAP. 👍 |
cms/static/js/views/overview.js
Outdated
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.
Delete commented out code and file dependency on ModalUtils.
|
Three things:
|
|
Another thing-- you have lost the indications of private and public on the subsection page. Every unit shows up as a blue hyperlink. Since this PR is a pretty big change (and it's gone through several iterations), I would recommend that you have Raees do some manual testing on it. This just means creating a wiki testing page, talking to Jay, and then coordinating with Raees. |
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.
Don't think you need data-parent and data-id here. Was there a reason you added these?
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.
I was imitating the HTML... Jay said it probably didn't matter but it was nice to have it be as close as possible so i added it.
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.
data-id should no longer be in the HTML. data-parent may be. Can you check on both? And if you are keeping data-parent, fix the typo.
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.
ah. excellent. unfortunately my branch was before and after some of don's work so i tried to untangle those. i'll make sure data-id is gone and ask don about data-parent.
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.
I'm the one who did the work to remove data-id. I guess data-parent should stay here (though it really doesn't matter).
Bug fix for dragging past last element in list. STUD-879
|
👍 |
FED Cleanup of Studio Outline page


This is a FED cleanup of the Studio Outline page. @talbs and @cahrens can you review?