-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[dashboard] Improve team members page #4571
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
Conversation
cc92bde
to
4c98804
Compare
Seems like Werft fell asleep 😴: /werft run 👍 started the job as gitpod-build-jx-improve-team-members.4 |
Reposting here two more functionalities that didn't make it in #4421 in case these could fit into the scope of this PR:
|
Good catch, thanks!
Personally, I'd be more comfortable leaving out extra complexity, and waiting for user feature requests before implementing these. I'm a bit wary of premature optimization. To me, a super-simple system is always much better than a slightly-more-complicated system, and I generally prefer leaving out as many bells and whistles from our product as possible until it becomes obvious that a particular bell or whistle is an absolute must-have. (E.g. I would have even left out the expiring team invite system, until a user requested that such a thing be implemented, but maybe I'm a bit too dogmatic about this.) However, I'd understand if you consider that a members list without search/filter isn't up to our quality standards. So, I'm happy to have them in-scope for this PR. 😇 💯 |
639bca0
to
47301c8
Compare
@jankeromnes all valid points! Keeping these two functionalities out of the scope of this PR until further demand, sounds good! Posting a friendly reminder to remove these non-functional elements! 🎗️ |
94cc1aa
to
e03f524
Compare
e03f524
to
e1094bc
Compare
Looks like a random Werft network flake:
/werft run 👍 started the job as gitpod-build-jx-improve-team-members.10 |
c618b83
to
a961299
Compare
Ok, this is rebased and works as intended! 🚀 Please take a look @AlexTugarev / @gtsiolis / @svenefftinge 👀 |
a961299
to
e9e741b
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.
Works nicely! 🎉
Looking at this now! 👀 |
/werft run 👍 started the job as gitpod-build-jx-improve-team-members.14 |
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.
Exciting new stuff! Thanks for adding this and also implementing the search and membership filter despite #4571 (comment), @jankeromnes! Hopefully, these (search and filter) were worth adding. 🔮
Left some comments that we could split into follow-up issues.
One last question: Somewhere we split the team dropdown into two distinct elements. Could we restore this as one component? See relevant discussion (internal). ❓
</div> | ||
<div className="flex-1" /> | ||
<div className="py-3 pl-3"> | ||
<DropDown prefix="Role: " contextMenuWidth="w-32" activeEntry={'All'} entries={[{ | ||
<DropDown prefix="Role: " contextMenuWidth="w-32" activeEntry={roleFilter === 'owner' ? 'Owner' : (roleFilter === 'member' ? 'Member' : 'All')} entries={[{ |
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.
praise: Works like a charm! 🔮
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! I'm quite proud of the clean and minimal solution I found. 😁
@@ -78,19 +110,19 @@ export default function() { | |||
<div className="py-4"> | |||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" width="16" height="16"><path fill="#A8A29E" d="M6 2a4 4 0 100 8 4 4 0 000-8zM0 6a6 6 0 1110.89 3.477l4.817 4.816a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 010 6z"/></svg> | |||
</div> | |||
<input type="search" placeholder="Search Members" onChange={() => { /* TODO */ }} /> | |||
<input type="search" placeholder="Search Members" onChange={e => setSearchText(e.target.value)} /> |
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.
praise: Flawless! 🌟
e9e741b
to
516b133
Compare
f6e0b47
to
e9fb3ba
Compare
Codecov Report
@@ Coverage Diff @@
## main #4571 +/- ##
=========================================
+ Coverage 0 35.74% +35.74%
=========================================
Files 0 14 +14
Lines 0 3858 +3858
=========================================
+ Hits 0 1379 +1379
- Misses 0 2361 +2361
- Partials 0 118 +118
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
e9fb3ba
to
fd76058
Compare
fd76058
to
522a66f
Compare
- Fix memberSince date - Replace paths /{new,join}-team with /teams/{new,join} - Implement minimal top menu layout for full-page forms (e.g. new team/project) - Implement removing members & leaving teams - Implement member search & role filter - Implement changing team member roles
Follow-up to #4589
522a66f
to
c476bef
Compare
Follow-up to #4490
/new-team
and/join-team
with/teams/new
and/teams/join
respectively