-
Notifications
You must be signed in to change notification settings - Fork 156
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
[full-ci] Admin settings add group members panel #8826
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.
Hmmm I'm honestly not the biggest fan of combining space- and group-members in one and the same panel. Especially when we extend the functionality in the future to search/filter by specific attributes or make it possible to add/remove members.
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.
Yes, I was about to write the same. We did this already with the Quota Modal which looks super cluttery.
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.
so some code duplication is better in this case, right? would be fine with me 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.
It's always a fine line between making components generic & reusable and duplicating code. Here I'd say a separate component with a bit of duplication is better. I suspect at least the group member panel will be expanded by some edit functionality in the future. That's the point where it definitely will get messy.
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
packages/web-app-admin-settings/src/components/Groups/SideBar/MembersPanel.vue
Outdated
Show resolved
Hide resolved
packages/web-app-admin-settings/src/components/Groups/SideBar/MembersRoleSection.vue
Outdated
Show resolved
Hide resolved
packages/web-app-admin-settings/src/components/Spaces/SideBar/MembersPanel.vue
Outdated
Show resolved
Hide resolved
packages/web-app-admin-settings/src/components/Spaces/SideBar/MembersRoleSection.vue
Outdated
Show resolved
Hide resolved
Code looks good to me! But searching gives me weird results 🤔 Does it happen for you as well @lookacat ? |
no actually not :/ what did you do? |
should now work fine |
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.
👍
@@ -0,0 +1,47 @@ | |||
import MembersPanel from '../../../../../src/components/Groups/SideBar/MembersPanel.vue' |
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.
the import looks wrong (or at least weird 😆 )
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.
nice 👍
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.
As discussed in chat: Highlighting the filter term does not work yet :(
Oh true... and now found that having marie in a group e.g. filter term |
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 now 👍
On a side note: the Fuse search in general is SUPER buggy though. I constantly get no results where there should definitely be some. Not only here, but basically everywhere we use it.
Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/34908/23/1 |
Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/34908/71/1 |
Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/34908/26/1 |
Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/34908/25/1 |
b878c2c
to
9ffddfe
Compare
Kudos, SonarCloud Quality Gate passed! |
Description
We've added the members panel to the groups page in admin settings.
For more details: #8596
Related Issue
Types of changes
Checklist: