Giter Site home page Giter Site logo

fairshare's People

Contributors

adriennejohnson avatar

Watchers

 avatar

fairshare's Issues

FE validation of form inputs

Add better FE validation on user inputs during onboarding and on the dashboard
-User email and company name should be required to proceed to next step
-Shareholder name should be required
-Check for negative numbers or other weird cases we wouldn't want?

No way to sign up as a new user without creating a company

The onboarding flow doesn't check if the user is associated with an existing company or an existing shareholder, so they are taken through the onboarding flow for a new company in order to sign up and log in.

A new user signing up should also be associated with a shareholder (if one with the same email already exists).

Accessibility

Axe dev tools raises some issues that could be audited

Backend validations?

Another thing that I’m not sure is an area of improvement or just expected from the setup, so just in case: more error handling and data validation in the endpoints

Incomplete: Show value metric on chart

The chart is viewable by number of share and metric, but I was short on time so the tests on the calculation itself are very minimal and non-existent for the user interactions (i.e., not sure how reliable the feature is currently).

To do:
-Update function calculateShareTotals because it might be redundant to some extent now that calculateChartData is returning both metrics
-Tests for user interaction, chart updates, and a greater variety of grant/shareholder data

Incomplete: Edit share value

To do:

-Add icon button to next to each share value on Dashboard.
-Icon button will toggle a modal with a form to enter a new share value.
-When the form is submitted, trigger a mutation to update the current value of the share
-Ensure that calculations and displayed data update if the mutation is successful

An update endpoint is added but not in use yet.

I thought it could be nice if the app kept track of the starting share value, instead of just overwriting it, so I updated the fields on Share to include startValue and currrentValue.

UX: Pie chart layout

The empty state or near-empty state (i.e., only one shareholder) of the pie chart is a little wonky.
-Values that don’t exist yet still appear as labels
-Some labels overlap

And in general:
Labels on pie chart get cut off.

Ability for more than one company to exist?

Not sure if this is a bug or just an intended side effect of the contrived/simplified setup, but creating a new company overrides the old one and there’s no way to associate shareholders with different, specific companies.

Loop during onboarding flow and loss of data

If other shareholders are added during onboarding, the user gets redirected back to the starting point once they try to advance to the shareholder grants step. The data they had entered is lost.

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.