cms-dpoa / CMS_Trivia

0 stars 0 forks source link

Add a footer to new dataset records on opendata-qa #11

Closed katilp closed 2 years ago

katilp commented 2 years ago

Similar to

for showing Run-1 dataset with the chosen label, add a footer option to Level 2, pointing the Run2 dataset entry on https://opendata-qa.cern.ch/search?page=1&size=20&q=

e.g. https://opendata-qa.cern.ch/search?page=1&size=20&q=SingleMuMinusFlatPt3To70_EtaPhiRestricted

Name the button "Show this dataset" It should be active before the label is selected.

Requires defining dataset name in https://github.com/cms-dpoa/CMS_Trivia/blob/main/view/src/components/game/question/FooterQuestion.jsx#L9 and passing it to the footer in https://github.com/cms-dpoa/CMS_Trivia/blob/main/view/src/components/game/MillionaireGame.jsx#L124

This will allow players to check the generator parameters and help to get the right answers