Problem
Thanks to #370 and #406, we have an Admin Resources page with tags attached to each resource. We can also delete tags (at least, on the frontend), so the next logical step is to implement a way to add tags. This issue focuses on adding a button to do just this.
Add a "+" dropdown (possibly right-aligned on the same row as the tags). When clicked, the dropdown should include a pre-determined set of tags (for now, just hard-code this into the file).
This is only a frontend issue, so selecting tags should not be saved to the database. A useful way to test your implementation would be to have the selection append to whatever list/array of tags you've fetched already. That way, you can see the tag populate on the page, but it won't actually be saved.
The pre-determined set of tags are:
- Food
- Mental Health
- Counseling
- Therapy
- Housing
- Financial
- Academic
- Other
Notes
Task
Problem
Thanks to #370 and #406, we have an Admin Resources page with tags attached to each resource. We can also delete tags (at least, on the frontend), so the next logical step is to implement a way to add tags. This issue focuses on adding a button to do just this.
Add a "+" dropdown (possibly right-aligned on the same row as the tags). When clicked, the dropdown should include a pre-determined set of tags (for now, just hard-code this into the file).
This is only a frontend issue, so selecting tags should not be saved to the database. A useful way to test your implementation would be to have the selection append to whatever list/array of tags you've fetched already. That way, you can see the tag populate on the page, but it won't actually be saved.
The pre-determined set of tags are:
Notes
git pullbefore any development workTask