Skip to content
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] feat: move custom permissions to a drop #5647

Merged
merged 17 commits into from
Oct 1, 2021

Conversation

LukasHirt
Copy link
Contributor

@LukasHirt LukasHirt commented Aug 8, 2021

Description

Move custom permissions to a dropdown

Screenshots

image

Open tasks:

@LukasHirt LukasHirt added the Category:Enhancement Add new functionality label Aug 8, 2021
@LukasHirt LukasHirt self-assigned this Aug 8, 2021
@update-docs

This comment has been minimized.

@LukasHirt LukasHirt changed the title feat: re-design recipient roles select [full-ci] feat: move custom permissions to a drop Aug 8, 2021
@ownclouders

This comment has been minimized.

@fschade
Copy link
Collaborator

fschade commented Aug 17, 2021

@LukasHirt i added keyboard navigation to the pr

@LukasHirt LukasHirt force-pushed the feat/advanced-role-drop branch 2 times, most recently from 08f723b to 2f3f6e5 Compare September 7, 2021 13:00
@LukasHirt LukasHirt marked this pull request as ready for review September 7, 2021 13:07
@ownclouders

This comment has been minimized.

@ownclouders

This comment has been minimized.

@ownclouders
Copy link
Contributor

Results for oC10Files1 https://drone.owncloud.com/owncloud/web/18937/12/1
The following scenarios passed on retry:

  • webUIFilesActionMenu/versions.feature:36

@ownclouders
Copy link
Contributor

Results for oC10SharingPublicManagement https://drone.owncloud.com/owncloud/web/18956/34/1
The following scenarios passed on retry:

  • webUISharingPublicManagement/publicLinkIndicator.feature:27

@ownclouders
Copy link
Contributor

Results for oC10SharingPublicManagement https://drone.owncloud.com/owncloud/web/18958/34/1
The following scenarios passed on retry:

  • webUISharingPublicManagement/publicLinkIndicator.feature:27

@ownclouders
Copy link
Contributor

Results for oC10SharingInternalUsersSharingIndicator https://drone.owncloud.com/owncloud/web/18962/28/1
The following scenarios passed on retry:

  • webUISharingInternalUsersToRootSharingIndicator/shareWithUsers.feature:98

@ownclouders
Copy link
Contributor

Results for oC10Files1 https://drone.owncloud.com/owncloud/web/18995/12/1
The following scenarios passed on retry:

  • webUIFilesActionMenu/versions.feature:36

@kulmann
Copy link
Member

kulmann commented Sep 9, 2021

Could you give the OcDrop for the custom permissions an auto width? It looks a bit weird with so much whitespace on the right side.

@LukasHirt
Copy link
Contributor Author

Could you give the OcDrop for the custom permissions an auto width? It looks a bit weird with so much whitespace on the right side.

TBH I find it quite odd looking when using the auto width 🙈

image

@LukasHirt
Copy link
Contributor Author

Maybe a bit better with the different title?

image

@ownclouders
Copy link
Contributor

Results for oC10Files1 https://drone.owncloud.com/owncloud/web/19003/12/1
The following scenarios passed on retry:

  • webUIFilesActionMenu/versions.feature:36
  • webUIFilesActionMenu/versions.feature:15

@kulmann
Copy link
Member

kulmann commented Sep 9, 2021

@tbsbdr do you have an opinion here? Regarding a) title of the custom permissions drop and b) the width (more whitespace or less whitespace)?

I'd say the most recent version is fine (Custom permissions as title and the auto-width).

Primary button could say something like Apply instead of Ok IMO.

@tbsbdr
Copy link
Contributor

tbsbdr commented Sep 9, 2021

Yep, "apply" is better than "ok" - more precise and makes the button bigger. Ideally both buttons would have the same width. But apply works for now, thx!

@LukasHirt
Copy link
Contributor Author

@kulmann updated the label and screenshot in the desc

@saw-jan
Copy link
Member

saw-jan commented Sep 30, 2021

@paulcod3 I'm sorry that I couldn't inform you in ocChat (cannot find you). I am looking at the webui tests that are failing.
webUISharingInternalUsersToRootCollaborator/shareWithUsers.feature tests are failing because share role cannot be changed from Custom Permissions to other roles from dropdown. But reverse will work.

@kiranparajuli589
Copy link
Contributor

kiranparajuli589 commented Sep 30, 2021

are these expected?

  • create a share with all checkboxes selected from custom permissions, the share is displayed with the Editor role and if we see permissions list from drop: only read is checked`
  • create a share with read & edit selected from custom permissions drop, the share is displayed with the Custom permissions role and if we see permissions list from drop: only read is checked`

@kiranparajuli589
Copy link
Contributor

also, hovering items in invite drop makes item text invisible.

@saw-jan
Copy link
Member

saw-jan commented Sep 30, 2021

also, hovering items in invite drop makes item text invisible.
Screenshot from 2021-09-30 16-11-53

@lookacat
Copy link
Contributor

@saw-jan @kiranparajuli589 thanks for the hint, the first problem could indeed be the reason for the tests to fail. The other error when hovering is just styling which we ignored for now.

@ownclouders
Copy link
Contributor

Results for oC10SharingExternal https://drone.owncloud.com/owncloud/web/19315/39/1
The following scenarios passed on retry:

  • webUISharingExternal/federationSharing.feature:106

@kiranparajuli589
Copy link
Contributor

kiranparajuli589 commented Oct 1, 2021

very few failures this time.

  • webUIFilesActionMenu/versions.feature:36 (pass locally)

    fails due to version count doesn't match, maybe disabling previews will solve this

  • ocisSharingPermissions1-chrome
    webUISharingPermissionsUsers/sharePermissionsUsers.feature:178
    webUISharingPermissionsUsers/sharePermissionsUsers.feature:169
    webUISharingPermissionsUsers/sharePermissionsUsers.feature:243
    webUISharingPermissionsUsers/sharePermissionsUsers.feature:125

    Screenshot from 2021-10-01 11-22-20 API failure (pass locally)

@sonarcloud
Copy link

sonarcloud bot commented Oct 1, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

68.0% 68.0% Coverage
0.0% 0.0% Duplication

@kulmann kulmann merged commit 7539f85 into master Oct 1, 2021
@delete-merged-branch delete-merged-branch bot deleted the feat/advanced-role-drop branch October 1, 2021 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Enhancement Add new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants