source-academy / frontend

Frontend of Source Academy, an online experiential environment for computational thinking (React, Redux, Saga, Blueprint)
https://sourceacademy.org
Apache License 2.0
103 stars 167 forks source link

Game: Fix a bug with displaying published chapter data #3018

Closed lhw-1 closed 3 months ago

lhw-1 commented 3 months ago

Description

Displaying data for published chapters was not working as intended. This still allowed creation of new chapters, but it caused staff to be unable to edit existing chapters.

We should also take note of this case for a potential testing procedure for the Game Simulator, as mentioned in #2806.

Type of change

How to test

Checklist

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 10402465768

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/pages/academy/gameSimulator/subcomponents/chapterPublisher/ChapterPublisher.tsx 0 3 0.0%
<!-- Total: 0 3 0.0% -->
Totals Coverage Status
Change from base Build 10351182643: 0.0%
Covered Lines: 4822
Relevant Lines: 14372

💛 - Coveralls