Coder Social home page Coder Social logo

reflectcal / reflectcal Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 0.0 66.88 MB

Fast and simple web-calendar. https://reflectcal.com

Home Page: http://reflectcal.com/

License: MIT License

JavaScript 66.93% HTML 30.56% Python 0.41% CSS 0.68% Batchfile 0.01% Shell 0.01% Pug 0.03% Less 1.06% Closure Templates 0.33%
calendar web-calendar closure closure-compiler

reflectcal's Introduction

Reflectcal

Reflect calendar is web calendar, aimed to be fast, minimalistic and functional.

Demo https://www.reflectcal.com/.

Installation and run

  1. Clone this repository locally.
mkdir reflectcal
cd reflectcal
git clone https://github.com/alexeykomov/reflectcal.git
  1. Runtimes - Install Java, Python and Node.js. Node.js must be at least of version v0.12.2.

  2. Install MongoDB. Create storage folder for it, may as well start an instance.

mkdir mongostorage
mongod --dbpath mongostorage
  1. Globally install following node modules - Express, Grunt, Less, Bunyan.
npm install express -g
npm install less -g
npm install grunt-cli -g
npm install bunyan -g
  1. Locally to project, install all needed node modules.
cd reflectcal
npm install
  1. Go to Google developers console and:

a. Create project for this particular app instance. Name it like something that reflects both app and particular machine from where app is launched, like "Reflect calendar on Alex's iMac".

b. Under API and auth/Credentials menu, create new Client ID with Web application bullet point.

c. In field "Authorized JavaScript origins" put http://localhost:3000/.

d. In field "Authorized redirect URIs" put http://localhost:3000/auth/google/callback. Note that you may insert your own part instead of http://localhost:3000.

e. Dowload JSON file and put it in your application root, near app.js.

  1. Compile from sources.
grunt compile-all
  1. Launch an application.
node --harmony app
  1. Go to http://localhost:3000/

reflectcal's People

Contributors

alexeykomov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

reflectcal's Issues

Make mask more precise using mask layer.

We could introduce mask-layer div and add/remove mask as element inside of it using appendChild/removeChild, which are very performant on new browser engines. Hopefully this will also make mask more precise, without pixel errors like now, say, in Chrome.
screen shot 2014-07-11 at 10 00 41

Use js momentum scroller only on iOS, use native scrolling elsewhere.

Mobile browsers are affected.

Chrome is just fine using native scrolling. It's smoother than js one.
Firefox OS native scrolling is considerably faster than js one. But then we will trade scrolling speed for slower tap - Firefox OS has tap delay, which we now won't be able to suppress, since preventDefault on touchstart will prevent native scrolling.
Windows phone is yet to be tested, but js scrolling is slow.
Firefox Android is yet to be tested.

But iOS native scrolling has a problem - it not always starts right after touch, sometimes it needs a 'focus' tap before. Basically it means that sometimes you need to tap several times for scrolling to start. In this case, js scrolling is better, and it's very fast on iOS, too. Yet one reason to make js scrolling in iOS is tap delay.

Momentum scroller transition bug.

When starting fast TO_BOUNDS transition and stop it with touchstart, it stops where it is.
But then, when trying to scroll, element's position jumps to start (if we scrolled to start) or to end (if we scrolled to end).

Refactor public decorateInternal to new setElement method.

We have some call which use protected decorateInternal method - it is vaque and against protected visibility. From what I can see those calls just set this.element_ in component, so we can introduce new setElement method exactly for this purpose.

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.