zachfeldman / card_to_calendar Goto Github PK
View Code? Open in Web Editor NEWA Chrome extension to add a Google Now flight card to Google Calendar.
A Chrome extension to add a Google Now flight card to Google Calendar.
It may not be feasible (at least easily), but it would be really nice that the "Add to calendar" link displays automatically rather than after a click on the Card to calendar button.
I consistently get January 1, 2015 (which is incorrect).
Great plugin, though!! Saves me a lot of time - thanks for the effort.
I updated the extension, which required some more permissions (which I granted).
Now, the "card to calendar" button is permanently visible and active, even on pages that do not contain any flight information, and even when all tabs containing flight information are closed.
On Gmail, in the flight information card, the "add to calendar" link displays only after I click the "card to calendar" button. I don't know whether this is a technical limitation, but it would be more convenient if the link displayed directly, without any additional action, in my opinion.
The problem occurs when I click on the "add to calendar" link: this action opens a new calendar tab, but no event is added to the calendar (although the flight information seems to be included in the URL).
I tried with 3 different flights of 2 different airlines, which gave me the same result.
I can provide the URLs, if necessary.
My version of Chrome is up to date (36.0.1985.143 m).
I am logged in on several gmail accounts at once, and I tried the extension on data which is in the first account (id=0 in the gmail URL).
When I use this extension, I save the new event with no modification to the default data.
It would save a click to directly add the event to the calendar, and display the calendar (maybe with the GCal confirmation message) on that day, with no need of a validation.
There are two issues regarding the handling of times and dates:
From looking at the Gmail card HTML, there seems to be no easy way to fix this: The date/timezone is not specified in the HTML card at all. So basically this is just an FYI so you are aware of these shortcomings/pitfalls with the Gmail cards. Also this means that implementing issue #3 is probably not a good idea at least for flights.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.