Skip to content

AdminResource Add Tags #407

@seanmnguyen

Description

@seanmnguyen

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

  • Make sure to run git pull before any development work
  • Complete your development in a new branch
  • Link this issue to your PR
  • Feel free to reach out if you have any questions!

Task

  • A "+" dropdown has the set of tags as options
  • Selected tags appear on the frontend (but do not, necessarily, save to the database)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions