-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add scoping tabs to activity list pages to improve usability #4203
Conversation
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.
Feedback from a quick functional test on naos:
My first reaction was a bit of confusion. Part of this might be because exercises/activities is not repeated in the tab name for all tabs (as we do on the courses page), part of this is because I wasn't expecting a tab with "Universiteit Gent" or "Scriptingtalen" as name.
Some suggestions:
- Include "activities" in the name for all tabs
- For the institution, use the short name (as with the courses page)
- There should be a little help text explaining what is shown: or as a (bootstrap) tooltip on the tab name or as a small help text above the table
- Even with a help text, the course specific exercises are hard to explain. Wouldn't it make more sense (and easier to explain) to add this category as a search filter private/public instead?
- Suggestions for other names for "featured" are welcome. It's ok, but to me featured indicated a limited number but this section will contains hundreds of exercises. "curated" might be an alternative, but I'm also not sure about that. If we don't find a better name, featured is ok.
- The active tab isn't stored in local storage (as is done with the filters) which causes reloading (with filters selected) to fail
- Popularity of an exercise is definitely a strong indicator of interestingness of the exercise so if possible we should surface that information in the table. I don't think we want to list the exact number of courses where an exercises is used, but maybe we can use an icon with different states: low, medium, high, featured. We will then have to pick sensible threshold values. I don't know what the best strategy is for fetching this information: calculate it on demand, store it in the DB or store it in cache. In addition, we could add a filter for it. (Split of in its own issue Order activities by popularity #4208)
Course activities and my activities have been merged |
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.
👍
- Did you try a bootstrap popover instead of the title attribute for the info text? It's a bit hidden right now.
- What's the workflow to "feature" a repository? I couldn't see a checkbox on the repo edit page on naos.
- I'm not a fan of "recommended exercises", this gives the impression that the list is tailored towards this course/user/series. For the lack of a better name, I guess we can use featured?
- I noticed that the list of labels always ends with a
,
(not strictly related to this PR) Moved to it's own issue Activity labels always end on a,
#4220
Co-authored-by: Charlotte Van Petegem <charlotte.vanpetegem@ugent.be>
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.
Besides one minor formatting nitpick, I noticed some weird behaviour when using the back button:
- Go to the activities (or course) page
- Press the browser back button
All params are now removed from the URL, which results in a state where no tab is selected, although they are unchanged:
(this is also what happens after you have done a few searches)
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 a good first step in solving our exercise discovery problem 👍
This pull request adds tabs when selecting activities. This should make it easier to find relevant exercises.
They all have a tooltip to explain their content
I created a generic filter-tabs component which also replaces the existing course tabs. I will also replace the course members tabs with this component in a future pr.
I also added a field
featured
to repositories, making it possible for us to put certain sets of decent activities in the spotlight. This field can only be edited by zeus.Sorting of activities is also improved, with activities without a name in your language now being sorted last instead of first. This could be further improved in future work by allowing user to sort by every column (Eg to sort by how often an activity is used to find the most popular, see #4208 )
Closes #4175 .