Skip to content

Refactor Survey code, use Apollo, add tests

Warren Gifford requested to merge tr/nps-survey-hide into main

Created by: umpox

Changes:

  • Refactors our Survey components from class components to functional ones
  • Adds tests for the standalone SurveyPage and the notification SurveyToast components
  • Updates to use Apollo when submitting a survey
  • Lots of general cleanup

This work is linked to https://github.com/sourcegraph/sourcegraph/issues/25010. Refactoring and adding tests now will make that implementation easier, and makes sense to be done in a different PR

Merge request reports

Loading