<aside> ๐ This table contains all categories in the system, each category has a unique name.
</aside>
<aside> ๐ The search works on each keystroke, filtering the data to only display matching name only.
</aside>
<aside>
๐ก When typing into the search input, the icon on the right changes to โ
, pressing it will clear the search text.
</aside>
<aside>
๐ When pressing Add Category
button, a Modal
appears with name input inside, this will create a new category with a new unique
name.
</aside>
<aside>
๐ When pressing โ๏ธ
button, another Modal
appears with name input inside, and it has the value of the current Editing productโs name inside it.
</aside>
<aside>
๐ When pressing โ
button, another Modal
appears, confirming the deletion of the wanted category.
</aside>
<aside>
๐ When pressing the sorting button on each data column, it sort the data of the table depending of the column, it has 3 states:
Normal
: Displays the data as it was fetched from the database.
Ascending
: Sorts the data in ascending order.
Descending
: Sorts the data in descending order.
</aside>