Coder Social home page Coder Social logo

google-calendar's Introduction

google-calendar's People

Contributors

addyosmani avatar atotic avatar benhjt avatar devnook avatar ebidel avatar robdodson avatar scarygami avatar sgomes avatar wibblymat avatar zoramite avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-calendar's Issues

Paths to bower components?

Is there a main docs page that describes how to test these out? After doing bower install while in the directory I then have to change all the paths to fit where the components are and then I'm still getting errors.

Uncaught ReferenceError: Platform is not defined | polymer-expressions.js:57

Calendar API problems

I've ported this from Polymer 0.5 to 1.0, and was never unable to get the API to work reliably. Signing in and out would cause gapi errors in google-calendar-list, and I never got google-calendar-busy-now to work correctly.

I suspect the problem is client library, and its interaction with the way we load libraries. This bug is just a remainter that this code remains alpha-quality

Split components

Is there any reason why google-calendar-list and google-calendar-busy-now are in the same HTML file and should these be split into two separate files?

I'm happy to do a pull request on this.

google-signin should probably be external

In order to reduce friction to the user, we want to show a single authorization dialog, requesting access to all APIs a site uses. As we implement more API components, the only way of achieving that is by having a single google-signin element for the whole page (which requests all scopes), rather than having individual components request it.

Should we refactor google-calendar to rely on an external google-signin, rather than contain one?

Not working => No Display on Page Refresh/Reload...?

I am testing this out for a web application.... yet results are not promising.

google-calendar-busy-now & google-calendar-list both work (once) on fresh [Sign in], yet when the page is reloaded the default output is displayed.

A <google-calendar-list> looks like this:
What I'm up to..?
A <google-calendar-busy> looks like this:
n/a

If I want the correct output to be displayed after [Sign in] and page refresh/reload, then [Sign out] and page reload/refresh, and [Sign in] are required (again).

My best guess is that it requires a fresh auth token...? If so, suggest onload checkAuth function?

google-calendar-busy-now shows 'n/a'

I have set up the google-calendar-busy-now element to point to a calendar. If there are no items in the calendar that day it shows 'n/a' rather than 'I'm free'.

This is because the query that is executed does not return any busyTimes and does not override the 'n/a' label which is set before the user is authorised. In this case, I would have expected it to display 'I'm free' as there are no events within the query time frame.

I'm happy to try a pull-request for this if this behaviour is agreed.

Styling for google-calendar-busy-now

Would it be possible to add some custom properties and mixins to style the contents of the google-calendar-busy-now element?

I was thinking --google-calendar-busy-now-busy-background-color, --google-calendar-busy-now-free-background-color, --google-calendar-busy-now-na-background-color, --google-calendar-busy-now-text-color and a mixin of --google-calendar-busy-now.

I'm happy to do a pull request on this if you agree on these changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.