A simple dashboard featuring an animated carousel that displays information about a test user's credit score report.
- Node version >= 9.3.0
- Yarn is used as the package manager
- Clone or download this project
- Enter
cd clearscore-score-indicator-carousel/carousel
to navigate to the core project directory - Enter
yarn start:webpack
- In a new terminal window/tab, enter:
yarn start:dev
- In your browser, go to:
http://localhost:3000/
- Enter
yarn test
to run all tests (also supports watch mode:yarn test --watch
)
- Determine how to time the animation of slide arcs so that they are drawn when their slide is being displayed
- Add a bouncing effect to the end of the animation of the arc
- Add bidirectional slide navigation
Having built carousels in jQuery, it was really enjoyable to apply React features and component-based thinking to solving a classic UI problem in a novel way. I do wonder if the design model of having a single running animation mapped over synchronized reordering of slides is scalable, particularly with regard to timing other simultaneous animations (such as the drawing of arcs).
Separately, being able to click to advance to the next slide is a useful feature, but feels incomplete without the able to navigate through slides bidirectionally.
- React
- ES6
- SCSS
- Jest + Enzyme
- ESLint (Airbnb)
Thanks to all the contributors of react-circle for creating such a clean solution for drawing circles with SVG!