-
Notifications
You must be signed in to change notification settings - Fork 178
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
Change from JS to native Google Calendar Template system to fix bug? #51
Comments
Thanks, if you have it handy you can push a PR, thanks. |
Yes no problem - it'll probably be over the weekend |
Submitted for review @damencho - let me know if you want any changes or feel free to modify. |
What is the state of this PR?
Is this implemented? Thanks for your contribution! |
I've signed the ICLA Looking at the commit it looks like it's missing the I may be able to come back to this but current commitments and the fact I don't run it the extension currently means it may take a while |
When creating an Event in Google Calendar there is a known bug where it doesn't work / works only erratically. Fundamentally this problem is caused by trying to interact with the Calendar page with JS instead of using the native Template system. I propose moving to the native URL var based Template instead to fix this (I have it working in a private fork). Would you be open to a Pull Request for this?
Implications / how I have it working currently:
config.js
to store the constants used in the JS and share acrosspopup.js
andmeet-calendar.js
popup.html
loadconfig.js
,RandomUtil.js
andRoomnameGenerator.js
popup.html
use (e.g.) https://www.google.com/calendar/render?action=TEMPLATE&autoCreateMeeting=true&details={MEET_DESCRIPTION}&location={MEET_LOCATION}&dates={DATETIME}%2F{DATETIME} as the URLpopup.js
build vars and replace placeholdersUnfortunately since I don't think Outlook has an equivalent we still need the extid system, but only for OWA. So either popup.js switches depending on URL or
'&extid=' + chrome.runtime.id
get's injected in popup.html instead.The text was updated successfully, but these errors were encountered: