Commit 923c9c9
[PlatformAdmin] add views and CRUD logic for NGO management (#860)
* fix: make dropdown menus scrollable
* fix: truncate overflowing table columns
* Squashed commit of the following:
commit 742f250
Author: imdeaconu <imdeaconu@gmail.com>
Date: Wed Sep 11 19:54:55 2024 +0300
add read notification checkmark
commit ea11fa0
Author: imdeaconu <imdeaconu@gmail.com>
Date: Wed Sep 11 19:54:30 2024 +0300
add read notification column
* Squashed commit of the following:
commit d8833dc
Author: imdeaconu <imdeaconu@gmail.com>
Date: Fri Sep 13 13:29:31 2024 +0300
WIP: add selector functionality
commit 3608c0e
Author: imdeaconu <imdeaconu@gmail.com>
Date: Fri Sep 13 10:00:05 2024 +0300
WIP: create new tags input
* chore: remove unused import
* chore: delete duplicated / unused classes
* feature: add searching to MonitoringObserversTagFilter
* chore: update config files
* Revert "[NGO Admin] Rewrite the tag selector component (#675)"
This reverts commit 2ad0e90.
* Merge branch 'main' of https://github.com/commitglobal/votemonitor into commitglobal-main
* WIP: add search and filtering to NGO list
* WIP: add views for NGO Details
* WIP: add NGO activation / deactivation
* WIP: implement NGO delete
* WIP: add NGO create modal
* WIP: add modal for adding admins to NGOs
* WIP: add CRUD for NGO admins
* WIP: add ngo admin details view
* WIP: fix back buttons
* WIP: fix breadcrumbs
* WIP: fix undefined ngo name in breadcrumbs
* WIP: add form for editing NGO admins
* WIPȘ fix NGO name disappearing from breadcrumbs
* WIP: add new NGO data to table and details view
* WIP: add password field for admin creation
* WIP: move admin queries to a separate hook
* WIP: refactor NGOs query logic
* WIP: refactor debounced search & query params handling
* WIP: add NGO editing
* WIP: create Base zod search schemas for search params
* WIP: remove console.log
* WIP: remove incomplete subtitle
* fix missing imports
* WIP: remove ID column and rename ngo queries file
* WIP: remove zod schema extension
* WIP: change auth check for NGO routes to PlatformAdmin
* WIP: remove div wrapper
* WIP: remove URL generator function
* WIP: remove NGO admin from NGO creation
* WIP: remove translation strings
* WIP: remove unused var
* fix build
* bugfixes, improvements and cleanup
---------
Co-authored-by: Ion Dormenco <idormenco@gmail.com>1 parent 5a2c6db commit 923c9c9
File tree
45 files changed
+2115
-195
lines changed- api
- src
- Vote.Monitor.Api.Feature.NgoAdmin
- Create
- Update
- Vote.Monitor.Api.Feature.Ngo/Create
- tests/Vote.Monitor.Api.Feature.Ngo.UnitTests/Endpoints
- web/src
- common
- components/layout/Header
- features
- CitizenNotifications/CitizenNotificationMessageForm
- auth
- election-event/components/Guides
- election-rounds/components/ElectionRoundForm
- filtering/hooks
- monitoring-observers/components
- EditMonitoringObserver
- MonitoringObserversList
- PushMessageForm
- ngos
- components
- Dashboard
- admins
- hooks
- models
- observers/components/EditObserver
- hooks
- lib
- locales
- routes/ngos
- admin
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
45 files changed
+2115
-195
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 50 | + | |
54 | 51 | | |
55 | 52 | | |
56 | | - | |
| 53 | + | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
| |||
149 | 146 | | |
150 | 147 | | |
151 | 148 | | |
152 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
| |||
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 175 | + | |
179 | 176 | | |
180 | 177 | | |
181 | 178 | | |
| |||
192 | 189 | | |
193 | 190 | | |
194 | 191 | | |
195 | | - | |
196 | | - | |
197 | | - | |
| 192 | + | |
198 | 193 | | |
199 | 194 | | |
200 | 195 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments