Here is the working version
You are given a markup for a table of products and 3 arrays. Implement as many options below as you can:
- Render products in a table with id, name, category, and owner (user).
- category should render its icon before the title;
- owner names should be colored with
has-text-linkfor men andhas-text-dangerfor women.
- Implement the ability to filter products by owner:
- If a user is selected it should be highlighted with the
is-activeclass; - Show only products of a selected user;
- Select
Allto see all the products.
- If a user is selected it should be highlighted with the
- Use the
inputto filter products by name.- Show only products having the input value in their name ignoring the case;
- The
xbutton should appear only when the value is not empty; - Clear the value after the
xbutton click.
- Show a
No resultsmessage if there are no products matching the current criteriaReset All Filtersbutton should clear all the filters.
- (*) Allow to select several categories:
- Add
is-infoclass to selected categories; - Show only products of selected categories;
Allbutton should clear the selection;- Remove the
is-outlinedclass from theAllbutton if no categories are selected.
- Add
- (*) Add the ability to sort products by all the columns:
- a column should have a title with the
fa-sorticon by default; - the first click sorts products by the given column ascending and use the
fa-sort-upicon; - the second click sorts products in descending order and uses the
fa-sort-downicon; - the third click disables sorting;
- products are sorted by 1 column at a time (reset the column title when clicking on the other one)
- a column should have a title with the
- Fork, clone, and run
npm i - fix the DEMO LINK below (use your GitHub username and the repo name)
- implement tasks one by one (You can do it in the
App.jsx) commit,push, anddeployafter each task- Send a link to your
App.jsxfile to your personal Slack channel (for example #fe_apr22_misha_hrynko) - Send a message about solving the next step after each
pushanddeploy(e.g. Task 3 is done) - If you are done with the required tasks please proceed with solving the optional once
- Stop when the time is over (typically 2.5 hours from the start)
- To deploy the project, change the second line of code in package.json, specifically the homepage value, from "." to the repository name