Giter Site home page Giter Site logo

harsh-dev-066 / happyfox-employee-taxonomy Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 535 KB

This is a project based on a HappyFox assessment for Frontend Engineer position. In this application a user can visualize and update an employee organization chart interactively with filtering and drag & drop functionality.

Home Page: https://happyfox-employee-taxonomy.netlify.app/

JavaScript 5.83% HTML 1.25% SCSS 21.30% TypeScript 71.62%
jest react redux-toolkit scss typescript vite react-dnd responsive-design

happyfox-employee-taxonomy's Introduction

Employee Taxonomy - HappyFox Assessment

About

This is a project based on a HappyFox assessment for Frontend Engineer position.

In this application a user can visualize and update an employee organization chart interactively with filtering and drag & drop functionality.

The application is deployed on Netlify - Employee Taxonomy

Project Demo Video

Image

Features

Employee Listing -

List of employees pulled from an API endpoint. Showing employees details - Name, Designation and Team.

List also contains a search by any employee properties and filter by a specific team. Filtering by team in the list also renders the taxonomy for that team on the right side.

Employee Taxonomy / Tree View -

Based on the employee's manager hierarchy a taxonomy is generated in a tree view.

  • Easy Manager Updates (Drag and Drop!):

    The system lets users easily update who an employee reports to by simple steps,

    • Click and hold the box of the employee you want to change the manager for.

    • Drag the employee box to the box of their new manager.

    • Drop the employee box on the new manager's box.

  • Circular Reporting Scenario:

    There might be a situation where you try to make someone their own manager (confusing, right?). In this case, the system will automatically adjust the hierarchy to avoid a loop. Here's what happens:

    The original manager of the dragged employee becomes the manager of the dropped employee (the one you dropped on). The dragged employee then reports to their new manager, who was previously the dropped employee's manager. This way, the reporting structure remains clear and avoids circular reporting.

Hopefully this makes sense :)

Prerequisites

Node.js LTS should be installed.

Installation

Run below commands on your terminal:

git clone https://github.com/harsh-dev-066/happyfox-employee-taxonomy.git

cd happyfox-employee-taxonomy

npm install

npm run dev

Technologies

  • React JS
  • TypeScript
  • Vite
  • SCSS
  • Redux Toolkit
  • react-dnd
  • Axios
  • miragejs
  • Jest

happyfox-employee-taxonomy's People

Contributors

harsh-dev-066 avatar

Watchers

 avatar

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.