code4romania / code4romania/alex-api

[General] Sorting in tables

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

In order to sort a table by column, the user needs to click on the table header on that column if it is followed by the icon:
- Default: table is unsorted, entries are listed in the order the user added them
![image](https://user-images.githubusercontent.com/95479576/150144345-9cdf3777-8188-4ed2-a0b4-0c27ae3b4565.png)

- First click on column header -> sort A-Z
![image](https://user-images.githubusercontent.com/95479576/150144243-8c1bc20d-b1c3-492c-8b2d-b4f61c4bf08a.png)

- Second click on the column header -> sort Z-A
![image](https://user-images.githubusercontent.com/95479576/150144021-de8072d3-682f-4f46-b8df-b7518b8208f0.png)

- Third click on the column header -> default unsorted

Mockup link https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?node-id=2486%3A37825

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.