-
Notifications
You must be signed in to change notification settings - Fork 76
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: [FC-0044] Course unit page - Modal windows for course unit page components #845
feat: [FC-0044] Course unit page - Modal windows for course unit page components #845
Conversation
Thanks for the pull request, @PKulkoRaccoonGang! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #845 +/- ##
=======================================
Coverage 90.39% 90.39%
=======================================
Files 554 554
Lines 9826 9826
Branches 2110 2110
=======================================
Hits 8882 8882
Misses 910 910
Partials 34 34 ☔ View full report in Codecov by Sentry. |
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.
Just a couple of minor nits in the code. But it works perfectly in a local Tutor environment, even though the sandbox failed to fire up.
return ( | ||
<Form.Radio | ||
key={componentTemplate.displayName} | ||
className="add-component-modal-radio mb-2.5" | ||
value={value} | ||
> | ||
{componentTemplate.displayName} | ||
</Form.Radio> | ||
); |
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.
This part also needs to include the support status (full, partial, not supported). This is dependent on if show_legend
is true
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.
This functionality will be added in one of the next pull requests. Can I somehow reproduce this behavior on legacy?
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.
Ok! From my brief exploration, it is controlled in component.py
. I am not sure how to change the value of XBlockStudioConfigurationFlag
.
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.
Thanks! 👍
Sandbox deployment successful 🚀 |
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.
Approved as far as I'm concerned, though still pending resolution of @KristinAoki's comment above.
The base PR was merged, so this requires conflict resolution. |
7f586f7
to
5ba4a07
Compare
@arbrandes Most likely, during my force push, one commit from this PR was included in the previous PR. I cleared the history and left only the missing commit with refactoring. Please take a look |
@PKulkoRaccoonGang I think the forced push overwrote some of the changes in this PR. The change log is now showing that you only made changes in the test file. |
@KristinAoki I deleted commits that were already in the master |
Sandbox deployment failed 💥 |
Oh, so the changes here got merged on the other PR? Should've taken a closer look. Anyway, good thing this is technically approved, then. :) |
@PKulkoRaccoonGang 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
Settings
Description
This pull request adds functionality to display modal windows for the Add component block.
The primary features were implemented:
Issue: openedx/platform-roadmap#321
Developer notes
Design
Figma design
Testing instructions
contentstore.new_studio_mfe.use_new_unit_page
in the CMS admin panel.ENABLE_UNIT_PAGE=true
is enabled.