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

Fix export CSV to retrieve all assessement entries #3076

Closed josh1248 closed 1 week ago

josh1248 commented 1 week ago

Resolves #2814

Description

Resolves the issue of export CSV being unable to export all entries due to backend pagination. The solution is to connect to a backend endpoint outside of the Redux loop so that data can be exported independently of what is shown to the user. (This will be an admin-only button to avoid excess server fees)

Type of change

How to test

Start up both the updated backend and updated frontend.

Checklist

coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 11869868280

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/pages/academy/grading/Grading.tsx 0 4 0.0%
src/commons/sagas/RequestsSaga.ts 2 13 15.38%
<!-- Total: 2 17 11.76% -->
Totals Coverage Status
Change from base Build 11568075789: -0.01%
Covered Lines: 4835
Relevant Lines: 14568

💛 - Coveralls