Giter Club home page Giter Club logo

calendar's Introduction

Calendar

The calendar is created to help users keep track of their daily schedule

Features Of This App:

  • The Calendar app allow users to create events using the top right button create ๐Ÿ’ซ. They can create, edit, and delete an event.
  • Each event would have the following spesc: title, description, start time and end time to show infomation that would help user to allocate acitivities in their busy schedule. The user can modify the event accordingly
  • User can select an event to move it the any loccation on the page

To Start

npm install && npm run start

App View

  • Completed CRUD APP

Folder Structure

ADA Compliance

note: This is a basic ada compliance requirement. There isn't ada compliance for the popup form yet.

Redux Store

Calculate Date

Form

My Process

  • Built out Static calendar first and then implement the data flow
  • Currently the events would be automatically arrange with a helper function calculatePosition from "helper/eventTimeline". See the comment there for explanation (2hours)
  • Spent a lot of time trying to solve the drag and drop issue without libraries
  • Refactor(Folder structure, component names, css naming, handler naming)
  • Wrote Test cases using enzyme for components

Implementation

- Clean Folder structure with straight forward naming convention.
- Using Redux for state management - seperate of concerns. It will be easily to scale in a team
- Clean code with good naming convention(function, component,css name)
- Events are editable and has a popup form.
- I wrote a function to sort out positions using function calculatePosition from helper/eventTimeline
- I use redux since it will be easy for state management
- I calculated the days' difference and apply to the new day by doing ```javascript ${zoomWidth * (diff)}px ``` when I move the event to a new line

To Do

  • Improve Drag and Drop for moving event across the calendar

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.