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

Add space front page & bump SDK to v2.0.0 #6287

Merged
merged 88 commits into from
Feb 9, 2022
Merged

Add space front page & bump SDK to v2.0.0 #6287

merged 88 commits into from
Feb 9, 2022

Conversation

AlexAndBear
Copy link
Contributor

@AlexAndBear AlexAndBear commented Jan 20, 2022

Description

  • Implemented the front page for spaces
  • Use the SDK v2

To create an image and a readme for a space, you have to do a few things. First, create a yaml file locally with the following content:

---
version: "1.0"
description: fooooo ooo
special:
  readme: readme.md
  image: space.png

The paths to the readme and the image are relative to the root directory of the space.
Then, run the following curls. Note that you need basic auth enabled in ocis (PROXY_ENABLE_BASIC_AUTH=true):

curl -k -X MKCOL 'https://localhost:9200/dav/spaces/fe1f3db7-d7bf-4695-b222-91875c79b2e7/.config' -u admin:admin
curl -k -X MKCOL 'https://localhost:9200/dav/spaces/fe1f3db7-d7bf-4695-b222-91875c79b2e7/.config/ocis' -u admin:admin
curl -k -X PUT 'https://localhost:9200/dav/spaces/fe1f3db7-d7bf-4695-b222-91875c79b2e7/.config/ocis/space.yaml' -u admin:admin -v -T space.yaml

Expected failures:

  • Changing the description of a space from the spaces list does not work
  • Sharing within a space does not work (maybe it shouldn't, but then we would need to hide the actions)
  • Some of the breadcrumb actions on a space itself need to be removed/hidden as they make no sense (e.g. move, copy)
  • The breadcrumbs currently show the space ID, not the space name
  • The space ID in the breadcrumb cannot be clicked when you are on the front page of the space (which would normally trigger a reload)
  • Thumbnails do not work within a space

Related Issue

Screenshots:

image

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
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@update-docs
Copy link

update-docs bot commented Jan 20, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@ownclouders
Copy link
Contributor

Results for oC10iPhone1 https://drone.owncloud.com/owncloud/web/22305/46/1
💥 The acceptance tests pipeline failed. The build has been cancelled.

@ownclouders
Copy link
Contributor

Results for oC10XGAPortrait1 https://drone.owncloud.com/owncloud/web/22317/42/1
💥 The acceptance tests pipeline failed. The build has been cancelled.

@AlexAndBear AlexAndBear requested a review from kulmann February 1, 2022 10:44
@kulmann kulmann marked this pull request as ready for review February 1, 2022 13:08
@kulmann kulmann requested a review from fschade as a code owner February 1, 2022 13:08
@ownclouders
Copy link
Contributor

Results for oC10XGAPortrait1 https://drone.owncloud.com/owncloud/web/22333/43/1
💥 The acceptance tests pipeline failed. The build has been cancelled.

@AlexAndBear AlexAndBear changed the title Add space front page [full-ci] Add space front page Feb 4, 2022
@pascalwengerter
Copy link
Contributor

pascalwengerter commented Feb 4, 2022

Some early findings

  • space id (?) instead of space name shows up in breadcrumbs
  • normal folder actions show up in breadcrumbs context menu (IIRC you can't move/download a space for example)
  • batch actions above heading seem counter-intuitive, not sure if that's part of the screendesign? I'd expect the order to be heading => batch-actions (= also can be the "New" icon) => resource-table :)

Screenshot from 2022-02-04 10-42-25

@pascalwengerter
Copy link
Contributor

{{space.description}} is empty/not being displayed for me, even after pulling the latest oCIS docker image and setting it via the UI 😰

@ownclouders
Copy link
Contributor

Results for oC10SharingAndTrashbin https://drone.owncloud.com/owncloud/web/22453/33/1

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

webUISharingInternalUsersToRootPreviews-shareWithUsers_feature-L11.png

webUISharingInternalUsersToRootPreviews-shareWithUsers_feature-L11.png

webUISharingInternalUsersToRootPreviews-shareWithUsers_feature-L25.png

webUISharingInternalUsersToRootPreviews-shareWithUsers_feature-L25.png

@ownclouders
Copy link
Contributor

Results for oC10SharingIntUsers2 https://drone.owncloud.com/owncloud/web/22453/30/1

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

webUISharingInternalUsersToRoot-shareWithUsers_feature-L179.png

webUISharingInternalUsersToRoot-shareWithUsers_feature-L179.png

webUISharingInternalUsersToRoot-shareWithUsers_feature-L193.png

webUISharingInternalUsersToRoot-shareWithUsers_feature-L193.png

webUISharingInternalUsersToRoot-shareWithUsers_feature-L258.png

webUISharingInternalUsersToRoot-shareWithUsers_feature-L258.png

@ownclouders
Copy link
Contributor

Results for oC10SharingIntGroups https://drone.owncloud.com/owncloud/web/22453/27/1

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

webUISharingInternalGroups-shareWithGroups_feature-L100.png

webUISharingInternalGroups-shareWithGroups_feature-L100.png

webUISharingInternalGroups-shareWithGroups_feature-L138.png

webUISharingInternalGroups-shareWithGroups_feature-L138.png

webUISharingInternalGroups-shareWithGroups_feature-L77.png

webUISharingInternalGroups-shareWithGroups_feature-L77.png

@ownclouders
Copy link
Contributor

Results for oCISSharingInternal1 https://drone.owncloud.com/owncloud/web/22453/59/1

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

webUISharingInternalGroups-shareWithGroups_feature-L100.png

webUISharingInternalGroups-shareWithGroups_feature-L100.png

webUISharingInternalGroups-shareWithGroups_feature-L138.png

webUISharingInternalGroups-shareWithGroups_feature-L138.png

@ownclouders
Copy link
Contributor

Results for oCISFiles3 https://drone.owncloud.com/owncloud/web/22453/57/1

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

webUIRenameFiles-renameFiles_feature-L246.png

webUIRenameFiles-renameFiles_feature-L246.png

@ownclouders
Copy link
Contributor

Results for oC10SharingIntUsers1 https://drone.owncloud.com/owncloud/web/22453/29/1

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

webUISharingInternalUsers-shareWithUsers_feature-L108.png

webUISharingInternalUsers-shareWithUsers_feature-L108.png

webUISharingInternalUsers-shareWithUsers_feature-L180.png

webUISharingInternalUsers-shareWithUsers_feature-L180.png

webUISharingInternalUsers-shareWithUsers_feature-L195.png

webUISharingInternalUsers-shareWithUsers_feature-L195.png

webUISharingInternalUsers-shareWithUsers_feature-L319.png

webUISharingInternalUsers-shareWithUsers_feature-L319.png

@ownclouders
Copy link
Contributor

Results for oCISSharingInternal2 https://drone.owncloud.com/owncloud/web/22575/60/1
The following scenarios passed on retry:

  • webUISharingInternalUsers/shareWithUsers.feature:342

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

Some more nagging on the action mixin implementation 😁 Thanks for taking care of all of this! ❤️

@sonarcloud
Copy link

sonarcloud bot commented Feb 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 14 Code Smells

49.7% 49.7% Coverage
4.7% 4.7% Duplication

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

You guys are awesome 🚀 🥇

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.

Bump ownCloud-SDK package
6 participants