-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
View switched to Daily view after duplicating event (related to #4) #5
Comments
This seems to happen only if the system language is not English. google-calendar-quick-duplicate/app.js Line 116 in 4923239
|
Hi Fabio, I've also just installed this extension and ran into the same problem: while in Week-view duplicating an event, it switches to Day-view. In your last comment you said it's due to an exception. I do have my system language set to English, and if I look at the code in your comment you deliberately click the day from the cloned event. If I manually click on the day-number in week-view (my default), I also get the day-view which I get after quick-duplicating an event. So perhaps the fix is not clicking the day at all, if that's possible? |
Hi @Wefabric-Kevin, thank you for the interest. Unfortunately clicking the day is needed to navigate the view back to the week where the event is, since otherwise the user would get navigated to the current week. |
Any update? |
@VoyteckPL sadly I haven't been able to pinpoint the real cause of this. Help is more than welcome 😄 |
Hi. |
Hi, Thank you for the extension, it is a great idea! However, I am very annoyed by the issue described here (switching to the Day view). I looked at the code and experimented a little, but couldn't find a solution either. Would it be possible to make this function optional? I would be much less annoyed switching to Today but keeping my Week view, as I mostly duplicate events inside current week. Thank you again! |
Hi, your extension is very handy, i'd like to help with this bug. I've tried to simply remove the click on the mini calendar after the duplication and that worked for me, maybe Google fixed that problem you were mentioning here? If not, I think it's possible to simply redirect the user to the previous page with the help of a service worker. I'll open a pull request soon. |
I think I have found a workaround: The calendar seems to want to return to the last loaded view, i.e. the view used when the page was last reloaded. I'll try doing this in the next couple of days and let you know if it does not work. |
Posted by Christopher Toh
Posted by Tim Dean-Myrda
The text was updated successfully, but these errors were encountered: