Git Product home page Git Product logo

frontend-vbb-portal's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

frontend-vbb-portal's Issues

Improves to current portal

Donate button didn't work
button did not have feedback when you click on them

for incomplete, which step the incomplete stuff is on
improving error messaging design

Develop error handling strategy

Develop a consistent way to inform the user of an error. This should be systemic and consistent throughout the application.

This should inform the user if an API call fails and they can do something about it, to a wholistic approach about how we display a form input that is incorrectly formatted.

Refactor Front end

This is the epic to track the refactor of the front end of VBB. The goal is to keep the individual sub issues ( tickets ) small and manageable. This will also keep the work from being duplicated when we're all working async.

Major goals:

  • Move all actions to redux. No hidden async calls made inside of React Components
  • Update components to use hooks when applicable and convert them to functional components
  • split components into Container and Components

Containers

Generally hold non-display logic like routing ( App.js ) is usually a good example of this. If you think of the domain at a high level like: Routes, HomeSignin, MentorProfile, these are all good candidates for Containers. Containers also have minimal JSX and usually just are full of Components.

Components ( This is different from a ReactComponent and is more of a design idea )

Components manage displaying things to the user. They tend to be forms, blocks of text, footers, headers, Nav Bars are all good examples of things that are Components. It does not have to be 100% reusable code.
It is a personal belief that getting down to a button component is to small a filter unless your sight is 100's of pages of content and even then it may not be the right solution

Mentor Advisor Interface

  • booking sessions for mentors who are having struggles
  • unbooking sessions that were booked accidentally
  • being able to have an overview of all mentors and their signup information

Refactor Booking.js State to Store

Take the local state and move it to the global store. It should live under redux/Bookings.redux/Bookings.reducer.js

Connect it to the component Booking.js

Refactor Registration

Summary of Work

  • Consolidate registration step components down from 5 to 2. Keep in two separate steps to retain step 1 newsletter signups.
    image.png
  • Refactor to functional components, using hooks where appropriate, utilizing the Redux store.
  • Consider using React Hook Form package to minimize form code and field validation: https://www.npmjs.com/package/react-hook-form
  • Coordinate with backend to use checkbox, dropdown, and multi-select where appropriate to standardize data. Consider using an external package for location, like: https://www.npmjs.com/package/react-places-autocomplete (this will require a Google Maps API key)
    VBB - Get More Involved.PNG
  • Eliminate irrelevant questions/add alert if registrants don't select a minimum of 4 months
    VBB - Terms and Conditions.PNG
    VBB - Registration Alert.PNG
  • Make note of design considerations for the future.

add tutorial

Issue: add tutorial
Id:1185157662044075
Due Date: 2020-08-28
Assignee:Varun Raja

Create a way for Users to Update their profile

@varunvraja commented on Wed Oct 14 2020

Create a user profile page that loads user answers that users can update their profile. Users can find this page from the portal dashboard
In addition, add a section for users to add more information about themselves
Add a section where user adds a bio about themselves (question: tell me about your self? Answer: paragraph)

Sign Up Form Enhancements

signup form improvements (aleksei, Trevor, salma, )

  • stripe donation/subscription
  • slicker user interface and form validation/feedback
  • mailchimp newsletter subscription
  • refactor front-end code in general (especially the redux part)
  • make the errors and alerts more user-friendly

email/password endpoint errors when logging in

This happens with at least the student and mentor emails/passwords. I haven't tried the others.

Curl to test with
curl --request POST \
  --url http://vbb-backend.herokuapp.com/api/v1/auth/login/ \
  --header 'Content-Type: application/json' \
  --header 'X-CSRFToken: WP7zAJx7RRDn1QCxb65cVCCCS7YluqZ4UQhg4La50Gn2X15JxOnu3UkEdwZcrmTA' \
  --header 'accept: application/json' \
  --data '{  "email": "[email protected]",  "password": "studentsRule@2021"}'

Error message:
ProgrammingError at /api/v1/auth/login/
column users_user.user_renewal_date does not exist
LINE 1: ...r"."verification_level", "users_user"."initials", "users_use...

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.