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

View switched to Daily view after duplicating event (related to #4) #5

Open
fabiosangregorio opened this issue Aug 27, 2020 · 9 comments · May be fixed by #17
Open

View switched to Daily view after duplicating event (related to #4) #5

fabiosangregorio opened this issue Aug 27, 2020 · 9 comments · May be fixed by #17
Labels
bug Something isn't working chrome-web-store Issues generated from the Chrome Web Store help wanted Extra attention is needed

Comments

@fabiosangregorio
Copy link
Owner

Hi Fabio, just gave the extension a quick test! Thanks for creating this as it has been a timesaver. Just a small issue – after duplicating the event, I'm brought to the daily view instead of the weekly view which is the initial view I'm working out of. Is this a known limitation issue or something which can be fixed?

Posted by Christopher Toh

One more note I just found now. I tried staying in Daily to do a bunch of duplicates then switch back to Monthly to move them around at the end. But at that point it switched to Monthly instead and stably remained there. Hopefully that gives you a troubleshooting lead.
Seconded on this issue. I'm using the Monthly view, but it's the same snapping to Daily.

Posted by Tim Dean-Myrda

@fabiosangregorio fabiosangregorio added bug Something isn't working chrome-web-store Issues generated from the Chrome Web Store labels Aug 27, 2020
@fabiosangregorio
Copy link
Owner Author

fabiosangregorio commented Oct 7, 2020

This seems to happen only if the system language is not English.
Happens due to a js error caused by this line:

clonedDay.click();

@fabiosangregorio fabiosangregorio added the help wanted Extra attention is needed label Jun 28, 2021
@Wefabric-Kevin
Copy link

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?

@fabiosangregorio
Copy link
Owner Author

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.
Nonetheless, if you are willing to try out a solution and present an MVP in a PR, I'd be more than happy to discuss this there.
Happy holidays 🎄

@VoyteckPL
Copy link

Any update?

@fabiosangregorio
Copy link
Owner Author

@VoyteckPL sadly I haven't been able to pinpoint the real cause of this. Help is more than welcome 😄

@matlevo12
Copy link

Hi.
Same problem here, but I4m sorry I'm not going to be able to help :)
Thanks a lot for the extension though, it saves me a LOT of time.
I just got quickly used to type "m" to go back to the month view after my "alt+click"-"space bar" routine :)

@arseniybraslavskiy
Copy link

arseniybraslavskiy commented Feb 1, 2023

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!

@GabrieleMessina
Copy link

@fabiosangregorio

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.

@Felicis
Copy link

Felicis commented Dec 3, 2023

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.
So if the calendar opens up in daily view and I want to change to weekly, I would change to weekly AND reload the page (F5), and then the duplicate glitching seems to stop.

I'll try doing this in the next couple of days and let you know if it does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chrome-web-store Issues generated from the Chrome Web Store help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants