Giter Site home page Giter Site logo

layerx-labs / rocket-kit Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 2.82 MB

LayerX Design System

Home Page: https://600c295ccb36300021e7d82f-ribpdzzfsm.chromatic.com/

License: MIT License

JavaScript 0.24% HTML 0.03% TypeScript 98.55% CSS 1.17%
reactjs storybook typescript ui-components

rocket-kit's People

Contributors

dependabot[bot] avatar ickas avatar luisfilipegoncalves avatar moshmage avatar rtandrew avatar taikaici avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rocket-kit's Issues

Rocket Kit - Add interaction tests

What is Rocket Kit?

TAIKAI Rocket Kit Storybook

As the project grew, we at TAIKAI realized that it was essential to have an internal design system to share components between the various projects we were developing. The journey was not always easy, but we learned what would work best for us internally along the way.

With the growth of the design system, we realized that it would make perfect sense to open it to the world and provide a package with these same components for anyone who wanted to start a project in a hackathon, bounty, startup, etc.

It is an always-in-progress project, developed in TypeScript, and already has some tests in several components, accessibility tests, and visual testing.

GitHub โ†’ github.com/taikai/rocket-kit

Storybook โ†’ chromatic.com

What is Storybook?

Storybook is a frontend workshop for building UI components and pages in isolation that helps you develop hard-to-reach states and edge cases without running the whole app.

For more information, visit the Storybook website.

The Bounty

2022-02-23-17.09.31.gif

Our goal will be to make Rocket Kit a robust design system, with all the components to start or integrate into any project, well documented, and with automation of usability and accessibility tests.

With this in mind, this bounty is intended to improve the testing of various components by adding interaction testing with the Testing Library, that runs in a live browser and can be executed via the command line or your CI server to simulate and verify user behavior.

The components and individual stories where the interaction tests should be added are:

  • Atoms/Checkbox
  • Atoms/TextField
  • Atoms/Button
  • Atoms/File Picker
  • Atoms/Select
  • Atoms/Slideshow
  • Atoms/TextArea
  • Atoms/TextFieldAppendix
  • Atoms/Toggle
  • Molecules/ActionsMenu
  • Molecules/Note Card
  • Molecules/Alert
  • Molecules/CheckboxGroup
  • Molecules/FieldWidthButton
  • Molecules/Form Group
  • Molecules/Modal Footer
  • Molecules/Number Spinner
  • Molecules/PaginationControl
  • Molecules/RadioGroup
  • Molecules/Table
  • Molecules/Wizard Steps
  • Organisms/Navigation
  • Organisms/Modal

But what kind of tests?

Good question, and glad you asked! The expected tests differ from component to component, but here are some examples of what you can test to include different (available) behaviors on a single component:

  • Atoms/Checkbox
    • Find the element to check;
    • Check if it is unchecked;
    • Check if the button change the color with mouse hover;
    • Click to check;
    • See if the checkbox is checked.
  • Atoms/TextField
    • Find the field;
    • Check if change the color when you select;
    • Check the field;
    • Type something and see if it changes the value.
  • Atoms/Button
    • Find the button element;
    • Check if the button change the color with mouse hover;
    • Press the button;
    • See if the button receive the click.

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.