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] Space group members #8161

Merged
merged 14 commits into from
Jan 3, 2023
Merged

[full-ci] Space group members #8161

merged 14 commits into from
Jan 3, 2023

Conversation

fschade
Copy link
Contributor

@fschade fschade commented Dec 28, 2022

Description

This pr allows to select groups int the space member sharing dialogue.
So far it was only possible to select users.

Related Issue

Motivation and Context

be able to share resources to groups instead of user only.

How Has This Been Tested?

  • e2e tests
  • unit tests
  • local environment

Screenshots (if appropriate):

Bildschirm­foto 2023-01-02 um 19 52 40
Bildschirm­foto 2023-01-02 um 19 52 32
Bildschirm­foto 2023-01-02 um 19 52 09
Bildschirm­foto 2023-01-02 um 19 52 02
Bildschirm­foto 2023-01-02 um 19 51 55
Bildschirm­foto 2023-01-02 um 19 51 38
Bildschirm­foto 2023-01-02 um 19 51 32

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • E2E tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • Basic implementation
  • Changelog
  • Add e2e tests (can be done in follow-up PR)
  • Add more unit-tests (can be done in follow-up PR)
  • fix unit tests

lookacat and others added 3 commits December 30, 2022 19:25
introduce isMember check to detect if a user is a direct or indirect member of a space
@fschade fschade force-pushed the spaces-add-invite-group branch from 2695e80 to 37e77eb Compare December 30, 2022 18:30
@fschade fschade changed the title Group share recipients [full-ci] Group share recipients Jan 2, 2023
@fschade fschade changed the title [full-ci] Group share recipients [full-ci] Space group Members Jan 2, 2023
@fschade fschade changed the title [full-ci] Space group Members [full-ci] Space group bembers Jan 2, 2023
@fschade fschade changed the title [full-ci] Space group bembers [full-ci] Space group members Jan 2, 2023
@ownclouders
Copy link
Contributor

ownclouders commented Jan 2, 2023

Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/31076/66/1

💥 The acceptance tests failed on retry. Please find the screenshots inside ...

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L54.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L54.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L55.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L55.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L56.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L56.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L57.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L57.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L58.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L58.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L59.png

webUISharingFolderPermissionsGroups-sharePermissionsGroup_feature-L59.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L100.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L100.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L101.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L101.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L102.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L102.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L103.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L103.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L122.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L122.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L123.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L123.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L126.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L126.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L156.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L156.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L157.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L157.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L158.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L158.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L161.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L161.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L170.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L170.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L21.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L21.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L36.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L36.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L52.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L52.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L68.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L68.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L99.png

webUISharingPermissionsUsers-sharePermissionsUsers_feature-L99.png

@ownclouders
Copy link
Contributor

ownclouders commented Jan 2, 2023

Results for e2e-tests oC10 https://drone.owncloud.com/owncloud/web/31108/11/1

💥 To see the trace, please open the link in the console ...

npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/31108/tracing/upload-resources-in-personal-space-alice-2023-1-3-10-26-22.zip

lookacat and others added 2 commits January 2, 2023 16:43
fix FileShares snapshots
fix failing FileShares acceptance tests
@fschade fschade force-pushed the spaces-add-invite-group branch from 3813cf8 to a705861 Compare January 2, 2023 18:47
@fschade fschade marked this pull request as ready for review January 2, 2023 19:41
@fschade fschade requested review from JammingBen, dschmidt and kulmann and removed request for JammingBen and dschmidt January 2, 2023 19:43
@individual-it
Copy link
Member

should we create an e2e user story for that or integrate it in a existing story?

@fschade
Copy link
Contributor Author

fschade commented Jan 3, 2023

should we create an e2e user story for that or integrate it in a existing story?

That would be nice, can you talk to @lookacat , he planned to create one today. But please as separate pr, we need to get this merged today.

thank you 😘

@individual-it
Copy link
Member

@fschade we will not be able to do it anyway soon, but I've added the issue to our project #8160 and will pick it

@JammingBen
Copy link
Contributor

Also, loading my personal space gives me console errors:
image

Does it work for you @fschade ?

@fschade
Copy link
Contributor Author

fschade commented Jan 3, 2023

Also, loading my personal space gives me console errors: image

Does it work for you @fschade ?

It needs the latest master ocis, which version is in use?

@JammingBen
Copy link
Contributor

@fschade Ahhh sorry, now it works 🙈 Thanks!

I found another nitpick though:

  1. Invite group physics-lovers
  2. Search for physics-lovers again -> it should not be in the autocomplete result, but it is. You can even select it:

image

@fschade
Copy link
Contributor Author

fschade commented Jan 3, 2023

I found another nitpick though:

fixed in 53e94f8

Copy link
Contributor

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 🚀

@sonarcloud
Copy link

sonarcloud bot commented Jan 3, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

46.6% 46.6% Coverage
0.0% 0.0% Duplication

@fschade fschade merged commit 0eee3ce into master Jan 3, 2023
@delete-merged-branch delete-merged-branch bot deleted the spaces-add-invite-group branch January 3, 2023 11:45
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants