MetaBrainz Foundation
Rewrite MusicBrainz ISWC pages in React/JSX
The International Standard Musical Work Code (ISWC) is stored in the MusicBrainz database as a property of Work entities. For each ISWC, there can be one or more works associated with. Here is an example: https://musicbrainz.org/iswc/T-900.780.896-0
ISWC pages in the MusicBrainz website are currently generated using Template Toolkit. MusicBrainz is on the way to get rid of this template engine, in favour of React/JSX.
The objective of this task is to replace the current templates root/iswc/index.tt
and root/iswc/not_found.tt
with equivalent templates written in React/JSX.
Requirements:
- A working development environment, including a MusicBrainz server in standalone mode. (See the documentation for information on how to do this.) Installation should be fairly straightforward to complete, but it could be quite long depending on your computer performance. Note that running the server code is only supported on Linux systems and that you need at least ~20 GB of space to install it.
Steps include:
- Create a personal account in the issue tracker, create a subtask to the linked ticket and assign yourself the subtask
- Create a branch to rewrite the code (from Perl/Template Toolkit to JavaScript/React/JSX) with style
- Test your changes on your local MusicBrainz server
- Create a pull request to submit your changes
- Wait for review and make additional changes if required until approval.
If you have questions, at any step, feel free to ping us on #metabrainz (IRC channel).
Task tags
Students who completed this task
Shamroy Pellew