GTBitsOfGood/southface

[Feature] Allow Card Titles to be Edited

Closed this issue · 0 comments

Description

  • Currently, once cards in the digital library are created, the body of the card, the images on the card, and the tags of the card can all be easily edited. However, there is no way for the admin to edit the title of the card in the website itself.
  • The admin should be able to click the edit button and then directly edit the title of the card within the website itself (just as can be done with the description).
  • Make sure to do all necessary "checks" on the inputs. This includes (but is not limited to) making sure an empty title is not inserted, making sure a duplicate title is not inserted, constraining the length of the title, etc. Don't stress too much about doing too many checks, just do what you think is good for this feature.
  • As a reminder, only the admin should be able to edit the title, not normal users.
    image
    image

Acceptance Criteria

  • Admin can edit the title of a digital library card that has already been created.
  • Admin can simply click the title of the card and type into some sort of text book to edit the title.
  • Necessary checks on the title input are done.

Other Notes

  • To get to a digital library card, first log in as an admin (message EM for details if needed). Then click a building type and a category. Click on any given card. There is a small edit button in the top right, click this and this allows you to see edit mode.