Commit 10eb1f9
Admin Tasks Frontend (#63)
## Notion ticket link
[Admin task
page](https://www.notion.so/uwblueprintexecs/Admin-Dash-Tasks-Pages-27210f3fb1dc80a2a08ef9f3693429c8?v=27210f3fb1dc8133a6e1000cf4eabc81)
## Implementation description
This implements the complete frontend for the admin task page, which is
connected to the backend:
- All colors and styling were copied exactly from the figma.
- We created a task page and multiple other components such as the popup
modal.
- Common colors, styles and helpers were extracted into appropriate
files
- A task api client was added and the auth api client was modified.
- Two new dependencies were added, datepicker (for calendar) and dnd-kit
(for drag and drop)
## Steps to test
Here's a video:
https://github.com/user-attachments/assets/70e4e1e0-ea0c-4778-8a83-01a52a017176
Testing steps:
1. Run the database locally with `docker-compose up db`. Run the
frontend and backend locally
2. Seed this database with many tasks as there are no tasks currently
3. Seed the database and firebase with fake admin accounts
4. Go to the frontend and login using the path /admin-login. You can
modify the login to redirect to admin/tasks, or you can navigate there
manually.
## Checklist
- [ ] My PR name is descriptive and in imperative tense
- [ ] My commit messages are descriptive and in imperative tense. My
commits are atomic and trivial commits are squashed or fixup'd into
non-trivial commits
- [ ] I have run the appropriate linter(s)
- [ ] I have requested a review from the PL, as well as other devs who
have background knowledge on this PR or who will be building on top of
this PR
---------
Co-authored-by: richieb21 <[email protected]>1 parent 0a3673a commit 10eb1f9
File tree
17 files changed
+2955
-8
lines changed- frontend
- public
- src
- APIClients
- components
- admin
- ui
- constants
- pages/admin
- types
- utils
17 files changed
+2955
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
0 commit comments