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] Create space from resource #8730

Merged
merged 25 commits into from
Apr 5, 2023
Merged

Conversation

AlexAndBear
Copy link
Contributor

@AlexAndBear AlexAndBear commented Mar 28, 2023

Description

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

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 Mar 28, 2023

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.

@AlexAndBear
Copy link
Contributor Author

AlexAndBear commented Mar 28, 2023

Base implementation is done, TBD:

  • e2e tests
  • Fix and add unit tests

@lookacat
Copy link
Contributor

Only seems to work as admin, with other users the option in the context menu is missing

@kulmann
Copy link
Member

kulmann commented Mar 29, 2023

Only seems to work as admin, with other users the option in the context menu is missing

expected, because you need the permission to create spaces. otherwise the feature doesn't make sense.

@lookacat
Copy link
Contributor

yes right, sorry didn't notice other users didn't have the permission

@lookacat lookacat changed the title Create space from resource [full-ci] Create space from resource Mar 30, 2023
@JammingBen JammingBen force-pushed the create-space-from-resource branch from 2208f13 to e7c6b0e Compare April 4, 2023 08:50
@AlexAndBear AlexAndBear requested review from kulmann and dschmidt April 4, 2023 08:56
store.dispatch('showMessage', {
title: $gettext('Creating space failed…'),
status: 'danger'
})
Copy link
Member

Choose a reason for hiding this comment

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

Hm, what if the space was created partially?
Like 3 out of 5 files were copied: do we want to keep the broken space or would it potentially make sense to delete it?
I would really like to avoid that users somehow miss the error message, see the space was created and then delete the source files because they think their data is in the space now.

@tbsbdr what do you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

I created #8775 to follow up on this (very valid!) point. However, IMO that's not a merge blocker for now as we're heading towards the finish line for this sprint.

@sonarcloud
Copy link

sonarcloud bot commented Apr 5, 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 0 Code Smells

64.0% 64.0% Coverage
0.0% 0.0% Duplication

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.

[Web] Create Space from resource(s)
6 participants