Skip to content

A TalentQL Pipeline Frontend Test.Build a grid app that renders items from a json file. The items would be filtered by shapes and colors. All items would be selected by default, and the grid title should reflect the active filters.

Notifications You must be signed in to change notification settings

Oluwasetemi/talentql-frontend-test

Repository files navigation

TalentQL Frontend Project

Netlify Status

Submission URL - https://talentql-color-filter.oluwasetemi.dev/

Question

Project instructions Build a grid app that renders items from a json file. The items would be filtered by shapes and colors. All items would be selected by default, and the grid title should reflect the active filters.

Filters:

  • All should be selected initially

  • Multiple filters can be selected (differentiate the states)

  • Deselecting the last filter should select all filters

Grid title: Title should changed based on the active filters

  1. When all the colors and shapes are selected: “All items:”

  2. When all the colors and a multiple shapes or all the shapes and multiple colors are selected: “Multiple items:”

  3. When all the shapes and a single color is selected: “All red items:”

  4. When all the colors and single shape is selected: “All oval items:”

  5. When multiple the shapes and a single color is selected: “Multiple red

items:”

  1. When multiple the colors and single shape is selected: “Multiple oval

items:”

7: When a single color and single shape is selected: “Round oval items:”

Requirements:

  • Style with s(css) or styled components
  • checked: Make it responsive
  • checked: Have authentication (hardcode the credentials)
  • checked: Use redux or context API
  • checked: Build in Typescript
  • checked: Write tests with jest

Design

About

A TalentQL Pipeline Frontend Test.Build a grid app that renders items from a json file. The items would be filtered by shapes and colors. All items would be selected by default, and the grid title should reflect the active filters.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published