-
Notifications
You must be signed in to change notification settings - Fork 241
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
Don't make the window disappear when the user clicks outside of this window #899
Comments
Jep - this happens for me nearly every time creating an event via the web interface. Sometimes it doesn't happen intentionally. It's more like I didn't hit the create button and clicked out of the window → everything is gone :/ I could imagine it working like this:
What do you think @nextcloud/calendar @nextcloud/designers (I hope designers is right here - somehow for me the group targets usability, too) |
@weeman1337 Hey, since you seem to be looking into this issue: Please note that we are currently migrating the app to Vue.js: #926 |
To answer your actual question ... 😉
I like this idea 👍
We could also just keep the dialog open and only close it when the user actually clicks the cancel button / the x or presses the escape key. |
We have 2 requirements:
So clicking outside of the dialog should close it, but also save changes. Changes only don’t get saved when you click the x button (should get a "Cancel" tooltip). |
So you are saying clicking outside the dialog should have the same effect as clicking the Update / Save button? |
Just to be clear about the original issue: When the date-time-picker is open, clicking outside the window should only close the date-time-picker, not the window. |
Yes. Do you disagree? What’s happening in macOS Calendar? |
I planned to wait for
But that still seems to be some time in the future. I've looked into the code today (for hours) and couldn't figure out how the event flow is working. So I gave it up. Regarding the issue I think it is intended to keep the event data if another day is clicked, see: https://github.com/nextcloud/calendar/blob/master/js/app/service/eventseditordialogservice.js#L123 Maybe someone who is firm with the code could have a look at this. |
Since the last update, the escape key isn't working to close the window anymore. Will this come back the the resolution of this issue? |
Steps to reproduce
Expected behaviour
Don't make the event's popup disappear when the user clicks outside of this window : it may results in crisis when you just entered for the third time all informations about the event you want to create in your planning.
Maybe the event could be saved as draft... or even created
Actual behaviour
When an user click outside of the event's window, this window just disappear, while the user had already fill some fields.
Calendar version: (see the apps page)
1.6.1
Client configuration
Firefox / Chrome
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: