-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat: add library component sidebar [FC-0062] #1217
feat: add library component sidebar [FC-0062] #1217
Conversation
Thanks for the pull request, @rpenido! What's next?Please work through the following steps to get your changes ready for engineering review: 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Let us know that your PR is ready for review:Who will review my changes?This repository is currently maintained by Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:
When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
6d314f9
to
bdfb949
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1217 +/- ##
==========================================
+ Coverage 93.06% 93.08% +0.02%
==========================================
Files 756 760 +4
Lines 13777 13890 +113
Branches 2984 3007 +23
==========================================
+ Hits 12822 12930 +108
- Misses 919 923 +4
- Partials 36 37 +1 ☔ View full report in Codecov by Sentry. |
52365b0
to
ec72c02
Compare
ec72c02
to
dfb46e4
Compare
Sandbox deployment successful 🚀 |
ac61c9a
to
fe2295c
Compare
Sandbox deployment failed 💥 |
Sandbox deployment failed 💥 |
Sandbox deployment failed 💥 |
Sandbox deployment failed 💥 |
Sandbox deployment successful 🚀 |
Sandbox deployment failed 💥 |
Sandbox deployment failed 💥 |
Sandbox deployment failed 💥 |
Sandbox deployment failed 💥 |
04f3a80
to
3c7007e
Compare
Yes.. I was trying to make it wider in the 1200-1320 range. I added a maximum width now to prevent it from going wider now: 3c7007e
Yes. I changed it to match the Figma design.
Added a max width 3c7007e
Fixed
I also changed this I still need to fix the responsiveness for small resolutions, but I will wait for the design team before tinkering with it. |
Sandbox deployment successful 🚀 |
Sandbox deployment successful 🚀 |
Sandbox deployment successful 🚀 |
@rpenido @bradenmacdonald thanks for checking in about these UX issues.
In the screenshot, the sidebar looks far too wide. @lizc577 may have more specific constraints, but I think something around 1000px as a maximum size makes sense. Maybe even smaller?
Is it possible to make the header full width and vertically aligned with the rest of the page, e.g. place the right page header elements vertically in line with the right sidebar elements? This is an example from Figma with lots of placeholder elements, let me know if a more accurate example with the real header elements would be helpful.
Agreed. This is inverted from the designs in Figma, but it provides the intended slight visual separation.
Agreed, looks too wide to me. Thanks for fixing this @rpenido.
Agreed, I think full width buttons make sense. That wrapping makes sense to me rather than showing multiple lines of text in one button, when possible to avoid that. The overflow menu ... icon position is a bit strange, but I think it's okay for now. |
@rpenido That looks much better - thanks! |
Sandbox deployment successful 🚀 |
Sandbox deployment successful 🚀 |
Thanks @rpenido the buttons look better.
@rpenido I saw the same problems, Is there anything that can be done? |
Now I'm using the
It is possible, but we should try to be consistent throughout the app. Currently, all pages (with some minor padding/margin issues 😅 ) have a maximum width in the Library Home (WITHOUT sidebar) The Library Home (WITH sidebar) is currently breaking this rule, hence, it looks not aligned Staying inside the @sdaitzman, is it possible to tweak the sidebar to make it look bet,ter following the max |
Thanks @rpenido! I can propose some sidebar design variants to avoid the staggered right vertical, but I would personally support slightly modifying the header within content libraries to fix the alignment issue. The header's contents would stay the same, just positioned to fill the screen and line up with the content libraries layout. I think this potentially also interacts with #1221. Currently, components and collections are limited to four columns with wide gutters on large viewports. I think that users will benefit from using their full screen area when managing content libraries, and that it will look strange if the header is extremely narrow once the cards take up the full space. |
@rpenido @sdaitzman Feel free to design whatever you'd like as a long-term solution, but I'd like to keep any changes to the header outside of the scope of our MVP. For now, having the sidebar as it already is on the sandbox (see below) avoids any issues - the header stays aligned with the content outside of the sidebar, and the sidebar has maximum real estate. |
Sandbox deployment failed 💥 |
@rpenido That looks good to me - nice work! And thanks for the animation, that's helpful :) |
@ChrisChV @sdaitzman Do you agree to move forward with the current version? |
Sandbox deployment failed 💥 |
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.
@rpenido Looks good!
@rpenido 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Description
This PR adds the library components sidebar
More information
Testing instructions
Private ref: FAL-3800
Settings
Tutor requirements