worknenjoy / gitpay

Bounties for issues on demand. Be rewarded by learning, using Git workflow and continuous integration
http://gitpay.me
Other
180 stars 160 forks source link

Allow user to sort issue #1013

Closed thdelmas closed 4 months ago

thdelmas commented 9 months ago

Sort issues on the issues explorer table.

Precious-Macaulay commented 4 months ago

Please assign this issue to me

oleksandr-shvets commented 4 months ago

@Precious-Macaulay How it's going? May I help you? I can add sort param to the backend, or create UI front-end for this feature.

Precious-Macaulay commented 4 months ago

Yes Please i need the ui frontend for the feature

oleksandr-shvets commented 4 months ago

Yes Please i need the ui frontend for the feature

Okay. I will try do this till the end of the week.

alexanmtz commented 4 months ago

@oleksandr-shvets for now the sort will be front-end only, no need to add to the server some filtering for this version, as we have the pagination on the front-end.

Precious-Macaulay commented 4 months ago

Okay. I will try do this till the end of the week.

Don't worry about the ui design i will work with mui and implement the feature from the frontend.

oleksandr-shvets commented 4 months ago

@Precious-Macaulay Don't worry about the ui design i will work with mui and implement the feature from the frontend.

It's not necessary. MUI already have UI for table sorting. See example — Sorted table demo I will use <TableSortLabel> component.

Precious-Macaulay commented 4 months ago

It's not necessary. MUI already have UI for table sorting. See example — Sorted table demo I will use TableSortLabel component.

exactly, i will use that to add the feature thanks.

oleksandr-shvets commented 4 months ago

@Precious-Macaulay @alexanmtz Done. Here is a PR: https://github.com/worknenjoy/gitpay/pull/1068/files

https://github.com/worknenjoy/gitpay/assets/908526/f864a575-f332-4635-af94-c3c77443e4ed

alexanmtz commented 4 months ago

@oleksandr-shvets @Precious-Macaulay @webbdays

We need to fix the table for logged users; see the screenshot below: pageshot of 'Gitpay - Bounties for git issues solved' @ 2024-02-20-1542'57

Precious-Macaulay commented 4 months ago

@alexanmtz the issue has been fixed. review #1074

Precious-Macaulay commented 4 months ago

@alexanmtz please review #1075 all fix requested has been added