code4romania / code4romania/alex-api
[Sponsor] View Sponsors list
- Dominant language
- Dockerfile
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
**Feature description: user can view and search the list of sponsors**
**Flow:**
1. Go to sidebar menu > click on 'Sponsori' opens 'Lista sponsori' [Figma sponsors list blank](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?type=design&node-id=3067-44097&t=fdU8o1GOqHlVystJ-4); [Figma sponsors list populated](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?node-id=3067%3A44106)
2. If there is no grant and sponsor added yet, a message will appear [Figma message](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?type=design&node-id=4939-105276&t=fdU8o1GOqHlVystJ-4)
3. User can add a new sponsor [Figma add sponsor button](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?type=design&node-id=5129-64792&t=fdU8o1GOqHlVystJ-4) (described in issue https://github.com/code4romania/alex-api/issues/4)
4. User can filter the sponsors' list [Figma search field](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?type=design&node-id=4939-104391&t=fdU8o1GOqHlVystJ-4)
**Actions on Sponsors list (table):**
- Button: “Descarcă tabel” => it will download the sponsors' list or the list resulting after searching in _xlsx_ format;
- Vizualizează, Editează, Arhivează by mouse hoover on the three vertical dots at the end of each sponsor in the table: [Figma dropdown menu](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?type=design&node-id=5126-67053&t=fdU8o1GOqHlVystJ-4)
**The table will display (table header):**
- All the records if there are less or equal to 10 records (sponsors);
- 10 records per page and table pagination, displayed under the table.
- Name of the sponsor
- Alias
- Status:
* is "inactiv" (default)
* is "activ": when the Sponsor is assigned to at least one Grant with a Grant current period (current date < Grant final date);
- Actions (The three dots for the dropdown menu)
[Figma list of sponsors](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?type=design&node-id=4939-104394&t=fdU8o1GOqHlVystJ-4)
* 'Vizualizeaza detalii' opens [View sponsor page ](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?type=design&node-id=5065-66245&mode=design&t=Uhdf5AQ34i7Nijax-4)(described in issue https://github.com/code4romania/alex-api/issues/28 ) - user can see the details of a sponsor
* 'Editeaza grant' opens [grant details](https://www.figma.com/file/W7ppl5xGFpB3atVWwYL7qN/Alex-(asistentul-bugetar-al-ONG-urilor)?type=design&node-id=2499-39758&t=e6XmbmtV7qCbtOPP-4) (described in issue https://github.com/code4romania/alex-api/issues/44) - user can visualize the grant details and edit them
* 'Arhiveaza' - user can archive (soft delete) a sponsor
**The filters on the list:**
[Button]: 'Filtrează tabel': when pressing this button another two fields will appear (and a button):
- A 'Status' dropdown list: activ/inactiv - filters the list by the status of the sponsor
- An input field which is the 'Search' field - behaves like "CTRL+F" on Windows
- A reset button
Contributor guide
Assessment
This issue has not been assessed yet.