1
0
mirror of synced 2025-12-23 11:54:18 -05:00

Update survey to use React/TS (#19728)

* Update survey to use React/TS

* Working survey form in react land

* A little cleanup

* Update Search.tsx

* Update Survey.tsx

* Remove token field from schema entirely, just let it fail validation

* Update events.js

* Update survey.html

* use Link component

* Use enum for state

* Update old to match new
This commit is contained in:
Kevin Heis
2021-06-08 10:34:45 -07:00
committed by GitHub
parent deccfca905
commit 26a8e61d3a
8 changed files with 157 additions and 93 deletions

View File

@@ -272,11 +272,6 @@ const surveySchema = {
type: 'string',
pattern: '^survey$'
},
token: {
type: 'string',
description: 'A honeypot.',
maxLength: 0
},
survey_vote: {
type: 'boolean',
description: 'Whether the user found the page helpful.'