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

Disable autosave on Devfile editor page #14913

Merged
merged 3 commits into from
Oct 29, 2019
Merged

Disable autosave on Devfile editor page #14913

merged 3 commits into from
Oct 29, 2019

Conversation

akurinnoy
Copy link
Contributor

@akurinnoy akurinnoy commented Oct 17, 2019

Signed-off-by: Oleksii Kurinnyi okurinny@redhat.com

What does this PR do?

This PR disables autosave feature on devfile editor page.

Initially, autosave was added in order not to lose unsaved workspace configuration changes, mainly because of going to another Dashboard page. Now, if workspace has unsaved changes, user is not able to go to another Dashboard page nor start/stop workspace.

Demo

Screen Recording 2019-10-17 at 11 28 58 2019-10-17 12_06_13

What issues does this PR fix or reference?

fixes #13982

@akurinnoy akurinnoy self-assigned this Oct 17, 2019
@che-bot che-bot added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/bug Outline of a bug - must adhere to the bug report template. labels Oct 17, 2019
@akurinnoy
Copy link
Contributor Author

@slemeur
could you have a look at the demo and give your feedback?

@SkorikSergey
Copy link
Contributor

crw-ci-test

@SkorikSergey
Copy link
Contributor

ci-build

@akurinnoy akurinnoy force-pushed the disable-autosave branch 2 times, most recently from f0e9f31 to 0b275e8 Compare October 21, 2019 11:40
@SkorikSergey
Copy link
Contributor

Selenium tests execution on Eclipse Che Multiuser on OCP (https://ci.codenvycorp.com/job/che-pullrequests-test-ocp/2747//Selenium_20tests_20report/) doesn't show any regression against this Pull request. Failed RenameWorkspaceTest selenium test will be adapted according to autosave disabling.

@akurinnoy
Copy link
Contributor Author

ci-build

@che-bot
Copy link
Contributor

che-bot commented Oct 22, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:

@che-bot
Copy link
Contributor

che-bot commented Oct 22, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@akurinnoy
Copy link
Contributor Author

crw-ci-test

@che-bot
Copy link
Contributor

che-bot commented Oct 23, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

@akurinnoy
Copy link
Contributor Author

ci-build

@akurinnoy
Copy link
Contributor Author

ci-test

@che-bot
Copy link
Contributor

che-bot commented Oct 23, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@SkorikSergey
Copy link
Contributor

ci-test

@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
@eclipse-che eclipse-che deleted a comment from che-bot Oct 25, 2019
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Dialog window can have now only one button.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Oct 29, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

@che-bot
Copy link
Contributor

che-bot commented Oct 29, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@akurinnoy akurinnoy merged commit 1c5c921 into master Oct 29, 2019
@akurinnoy akurinnoy deleted the disable-autosave branch October 29, 2019 15:24
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Oct 29, 2019
@che-bot che-bot added this to the 7.4.0 milestone Oct 29, 2019
skabashnyuk pushed a commit that referenced this pull request Jan 3, 2020
* Remove autosave on Devfile editor page

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* update ConfirmDialogService

Dialog window can have now only one button.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* fix applying changes to running workspace

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dashboard: While editing a devfile of a workspace, user is constantly interrupted by the auto save
5 participants