Giter VIP home page Giter VIP logo

gcal-leave-scraper's People

Contributors

bleegard avatar davija avatar jonmclean avatar natoverse avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bmathews

gcal-leave-scraper's Issues

Fix CSS issues in calendar summary view

The new react-calendar-render has been added and is functional. However, some of the CSS that was brought over doesn't quite work as it should inside of the material-ui view area. The CSS needs to be fixed to display the actual days in the calendar as a proper grid and make sure the tables properly fill the space in the calendar view.

Add exclusion mapping

This would be a hash that allows us to remove/hide some contacts from the Google API that are not relevant, such as admin accounts and conference rooms.

Add custom groups

Requires mongo database to store custom
UI updates
New service endbpoint

Write a method to determine the number of working days in a date range

We need to be able to determine the number of working days in a date range. Write a method to do this.

Parameters

  • startDate - date to start the calculation (inclusive)
  • endDate - date to end the calculation (inclusive)
  • targetMonth / targetYear - Month and year to limit the date range by.

We need to trim the date range down to a specific month because some leave events will span month boundaries. We need to be able to isolate leave requests on a per-month basis.

Examples:
Friday Dec 4 2015-Monday Dec 7 2015 => 2 working days
Monday Nov 30 2015-Friday Dec 4 2015 with month set to November => 1 working day
Monday Nov 30 2015-Friday Dec 4 2015 with month set to December => 4 working days

Create heat-map renderer for the calendar plugin

One of the current plans is to have a high-level heat map view of the year at a glance view (default view). Once the react calendar plugin has been pulled in, this should be a simple renderer that we can add to do this.

Create new service to return summary data

Currently the mock UI has summary information for each month. A service should be created that returns this summary information for a specific date range (inclusive). This will allow a user to drill down and get more specific data. This is needed for #1.

Calendars can be moved around in summary view

In the calendar summary view that is displayed when logging in, the calendars can still be moved. Flags have been passed to the react grid layout component to disable this, but for some reason they don't seem to be honored.

This should be investigated and corrected as we don't need these calendars to be movable.

Add custom filters

Requires mongo database to store custom
UI updates
New service endbpoint

Migrate groups structure to be a mapping

Right now, the groups are actual lists of contact data. If 'all' is selected, the Google Contacts API is correctly queried and used to provide the list of users. Otherwise, the group data stored in JSON files is returned directly. This JSON data should only be used to map into and subset fresh Google Contacts data. Beyond that, this data should be db-driven so the project is applicable to other organizations outside of ATS that might like a tool such as this.

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.