-
Notifications
You must be signed in to change notification settings - Fork 72
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
[BB-9101] Set active courses as default in studio home #1249
base: master
Are you sure you want to change the base?
[BB-9101] Set active courses as default in studio home #1249
Conversation
Thanks for the pull request, @pkulkark! 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. |
5969060
to
8b159f2
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1249 +/- ##
==========================================
+ Coverage 92.34% 92.35% +0.01%
==========================================
Files 1023 1023
Lines 18877 18877
Branches 4023 4025 +2
==========================================
+ Hits 17432 17434 +2
- Misses 1376 1377 +1
+ Partials 69 66 -3 ☔ View full report in Codecov by Sentry. |
8b159f2
to
f76ac07
Compare
@pkulkark Was there any product discussion about this change? If not, I think we'll want the product WG to confirm this default is better. |
@bradenmacdonald I'm not sure if there was. How do I bring it to the product WG? |
f76ac07
to
85d498d
Compare
@bradenmacdonald I created the proposal in the wiki but I don't seem to have access to create the corresponding github ticket in https://github.com/openedx/platform-roadmap/issues/new?assignees=&labels=&projects=&template=01-roadmap-issue.yml&title=Put+Initiative+Name+Here. Do I need to request access somewhere? |
@pkulkark As this is such a small change, I think you can just use this PR as the github ticket. You can probably skip the wiki proposal too TBH, and just ping the WG on Slack #wg-product-core. |
Thanks @bradenmacdonald. Posted on the slack channel. |
@pkulkark Thanks for this work. It seems like a definite improvement to me, so gets my vote! You'll see that I've pinged a few product people on Slack for their review. Hopefully we can move this forward soon. |
On first blush, this change makes sense to me. However, I've got 2-3 questions:
|
@crathbun428 I'll try to answer to the best of my knowledge.
I'm not sure about how common it is but if you create a re-run, I think that would have an active status and show up in the list.
The filter is maintained for search results i.e it will only return active courses if the active filter is applied. The dropdown shows "Active" by default so there shouldn't be much confusion around what is being showed. And users can still choose "All courses" option in the dropdown if they want to search through all courses.
I believe it just reflects the API behaviour. With no params specified, the API returns all results. Previously there were separate tabs for active and archived courses, and each would apply the corresponding param to the API request. |
Thank you for responding to my questions, @pkulkark! In digging into the Studio Home facelift further, it looks like there are some designs for the Studio Home facelift that have yet to be implemented to the Studio that may change how we want this filter to behave. See how designers imagined we might further improve this page, below: Although there are designs, we need a team to finish implementing them - there is currently not a team in place to deliver these improvements to Studio Home. Depending on how this gets implemented - the change you propose may be reversed in favor of showing all courses by default and allowing the user to collapse/ expand each course to hide/show archived runs. Because of this, it may make sense to table this improvement with the idea that a slightly different approach may be needed by the attached design. Definitely open to chatting more if this is work your team would be interested in delivering. |
Description
This PR sets active courses as the default option in dropdown, instead of all courses, in the studio home page.
Supporting information
OpenCraft's Internal Jira task: BB-9101
Testing instructions