Giter Site home page Giter Site logo

chemical_industry's Issues

createForgotPasswordPages

The reset password form flow is at it follows:

  • the user presses on forgot password and it is being redirected to a page that contains a form with one input for email.
  • We send the reset password email to the specified email where the user will have a button/link to click and to reset the password.
  • The user is being redirected to the page where we have a form that contains two fields: newPassword and confirmNewPassword.

Therefore we have to create two components:

  • Reset password form where he inputs the email.
  • Reset password form where he inputs the new password.
  • The design for these pages.

pickupPageForWorker

Here we have the page where the workers land on after selecting pickup on the main page.

We have to create a stepper component with 3 steps:

  • Checking pickup - inputs the delivery number.
  • View the stock overview for that specific pickup.
  • Confirm the pickup and view the "receipt"

Steps:

  • Build the stepper component that fetches the right endpoint at the right time.
  • Apply the styling on this component

createTableForDisplayingAllDeliveries

Create this component in order to have an overview of all the deliveries.

It would be great if we could filter data based on the following criteria :

  • Status type
  • Dates
  • Company for which the delivery was made
  • type of chemical
  • Drivers
  • Trucks

This component is optional but it is nice to have.

Steps:

  • Create the table to display all the info
  • Create a filtering component that can handle multiple choices
  • Bind the filtering with the table
  • Apply the design

createWorkerLandingPage

Create the page component that contains the useful buttons for a warehouse & depot worker.
For warehouse workers:

  • Delivery
  • Pickup
  • Storage

For warehouse workers:

  • Delivery
  • Pickup
  • Warehouses overview with storage
  • Button to raise a job/create a delivery/create pickup

Steps:

  • Create the component and conditionally render the right buttons for different types of users.
  • Apply the style

createTheAuditTable

I currently know that the only way to build triggers is to use knex.raw(). That is not really an easy way to go and I am open to other suggestions :D

raiseJobPageForDepotWorker

This component is available for the depot worker who can raise different jobs depending on the type of delivery.

The user will be redirected to a form where he can select the following stuff:

  • if it is a delivery or a pickup
  • the company for which this delivery is made
  • the drivers that are assigned on this delivery
  • the truck used for this delivery
  • to/from the depot/warehouse we send this delivery

Steps:

  • Create the component and display the right options.
  • Create the styling for it

deliveryPageForWorker

Here we have the page where the workers land on after selecting delivery on the main page. Based on the user type (depot or warehouse) we display conditional data.

We have to create a stepper component with 3 steps:

  • Checking pickup - inputs the delivery number.
  • View the stock overview for that specific pickup.
  • Confirm the pickup and view the "receipt"

Steps:

  • Build the stepper component that fetches the right endpoint at the right time.
  • Apply the styling on this component

storagePageForWorker

Here we have the page where the worker lands on after clicking Storage on the main page. Based on the user type (storage/depot) we have to either show one warehouse or to be able to select from all of the warehouses in the depot for the depot worker.

It is being displayed the current storage for that specific warehouse based on the different chemicals.

Steps:

  • Build the component
  • Apply the styling on the component

implementTransactionForDeliveries

We have to implement some form of transaction in order to make sure that when the deliveries are not successful, we still have space in our warehouses to store the chemicals when they come back.

upcomingDeliveriesForTheDay

This feature helps the workes have an overview of the upcoming deliveries of that day.

The table should include a list of:

  • The deliveries for the day
  • Every delivery should include the time
  • Every delivery should include the status
  • Every delivery should include the chemicals
  • Every delivery should include the company the delivery is for
  • Every delivery should have the warehouse/s associated with it

Depending on if the user is a depot or warehouse worker we display the needed data.

Steps:

  • Create the component and display all the data needed
  • Conditionally render the data based on the user type
  • Apply the design

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.