-
Notifications
You must be signed in to change notification settings - Fork 32
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
Allow filtering by role on Team page #111
base: gh-pages
Are you sure you want to change the base?
Conversation
JordanMussi
commented
Jun 20, 2020
Live example on my fork: https://jordanmussi.github.io/mybb.com/about/team/ |
I think the selected filter could do with some more distinction - perhaps apply a background using the border colour to the button? At the moment, I can barely tell that it's selected on my external monitor. |
@euantorano I didn't want to confuse with the team leader styling which has the team's colour as a solid background. I've put some concepts in my fork:
|
Would be good to get some thoughts from @justinsoltesz too 😄 |
Wouldn't that create a shift of the role buttons when changing? Edit: I suppose if using two spans the outside could have a transparent border of 1px and then change colour to then give appearance of 2px?
That's quite far down the page and on mobile would definitely be out of view. |
You can adjust the margin as well (
If you hide the other roles, the active role would be in view on desktop. Just a thought. |
It may be too hard to notice. How about displaying the member count (if not 0) in the legend that points to the filter (instead of repeating roles above the list)? Language can be corrected for consistency ( As noted earlier, a JS solution would likely be more clear, and the CSS would be static so we could move it to CSS files. |
Was aiming for a more discoverable and "tabbed" feel but a link to show members from the roles legend would be fine too.
Happy to make that change - intention was eg "team members with role development" not "development team members"
Will possibly be better but was trying to avoid JS. |
This actually doesn't feel as good on mobile as the controls are far from where the changes are happening. |
Doesn't the auto-scroll help? Should role members be browseable like tabs when they can appear in multiple places? |
In my opinion https://jordanmussi.github.io/mybb.com/about/team-background/#team-members-editorial is th most obvious as to which is selected. |
To switch between teams you have to scroll to the legend each time which feels clunky. |