eternagame / eternagame.org

Website for the Eterna citizen science game
https://eternagame.org
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

Implement Challenge Page #248

Closed afikanyati closed 3 years ago

afikanyati commented 3 years ago

The changes concern the addition of the Challenge Page, which serves to consolidation various related labs under overarching higher-level categories.

In addition to the frontend changes in the PR, related backend changes in the website respository were made that:

  1. Populate the Drupal Database with existing challenges (OpenVaccine, OpenTB, OpenCRISPR).
  2. Associate labs, publications, and news posts to related challenges.

For the first backend change, there is a script called 'challenge_populator.php' that takes a .csv of challenges and writes them to the database. For the second backend change, there is a script called 'challenge_node_mapping.php' that handles executing the necessary changes.

It is likely wise to update the backend (via the website repo) first before merging this (and other Challenge-related branches) into dev and master.