-
Notifications
You must be signed in to change notification settings - Fork 85
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 component sidebar manage tab [FC-0062] #1275
feat: add component sidebar manage tab [FC-0062] #1275
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. |
6208ded
to
e1e97c6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1275 +/- ##
=======================================
Coverage 92.33% 92.34%
=======================================
Files 1020 1023 +3
Lines 18838 18875 +37
Branches 3956 3964 +8
=======================================
+ Hits 17395 17431 +36
- Misses 1377 1378 +1
Partials 66 66 ☔ View full report in Codecov by Sentry. |
3f1b358
to
fac77e7
Compare
fac77e7
to
aa337c9
Compare
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 is working beautifully :) Thank you for making the StatusWidget a common component, and for fixing up those comments ❤️
I've requested some more tests, but once they're added, this is ready for CC review.
- I tested this on my dev stack using the PR test instructions.
- I read through the code
- I checked for accessibility issues by using my keyboard
- Includes documentation -- code comments
- User-facing strings are extracted for translation
/> | ||
{[true, 'true'].includes(getConfig().ENABLE_TAGGING_TAXONOMY_PAGES) | ||
&& ( | ||
<Collapsible |
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.
Could you add a test that enables tagging to verify this code path? It's enough to just check for the presence + absence of "Tags" title, until we get that feature implemented.
Would be great if you could check for the Collections title too
expect(await screen.findByText('Draft')).toBeInTheDocument(); | ||
expect(screen.queryByText('Draft(Never Published)')).not.toBeInTheDocument(); | ||
expect(screen.queryByText('Draft saved on June 20, 2024 at 13:54 UTC.)')).not.toBeInTheDocument(); | ||
}); |
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.
Could you add a test for the component published state too?
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.
Done: 98ebc92
)} | ||
className="border-0" | ||
> | ||
Collections placeholder |
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.
Is showing the component's Collections out of scope here? Thanks to your suggestions, we should have data available once edx-platform#35469 merges.
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 will create a follow up tasks to handle the collections.
1101155
to
99428bc
Compare
Description
This PR adds the
Manage
tab in the Component Sidebar.More information
Part of:
Depends on:
Testing Instructions
Manage
tabManag
tabPrivate ref: FAL-3802