MetaBrainz Foundation

Add area information to the UI

Aim: make area data publicly viewable within the site Time estimate: 3 hours

Now that it is possible to edit areas for creators and publishers, and set the area on an editor profile, this information needs to be displayed publicly.

There are several parts of the site that need updating. Firstly, on creator and publisher display pages, the area needs to be fetched along with the other attributes of the entity, and then included as a field in the sidebar of the page.

For the editor page, the area should be fetched and displayed on the profile, between the existing MusicBrainz Account and Type fields.

The final thing that needs updating is revision display for creators and publishers. Currently, revisions which only change the area fields show up as blank in the revision display, because the code in https://github.com/bookbrainz/bookbrainz-site/blob/master/src/server/routes/revision.js does not account for areas. Updating this code should fix the issue, with no UI changes necessary for this part.

This is quite a challenging task, so we welcome questions - feel free to ask for guidance if needed.

Task tags

  • react
  • code
  • bookbrainz
  • pug
  • area

Students who completed this task

Daniel Hsing

Task type

  • code Code
  • web Design
close

2016