aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages (follow)
Commit message (Collapse)AuthorAgeLines
* Fixes Return Home Button CenteringGravatar Hassan Abouelela2021-03-07-3/+5
| | | | | | | Fixes the centering of the return home button on closed forms, by removing the style wrapper. Signed-off-by: Hassan Abouelela <[email protected]>
* Merge branch 'main' into discord-oauthGravatar Hassan Abouelela2021-02-20-16/+111
|\ | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # package.json # src/commonStyles.tsx # src/pages/FormPage.tsx
| * Merge pull request #91 from python-discord/forms-submittingGravatar Hassan Abouelela2021-02-19-14/+110
| |\ | | | | | | Form submission validation and submitting
| | * Remove TODOGravatar ks1292021-02-18-1/+1
| | |
| | * Revert change of gathering checkbox valuesGravatar ks1292021-02-18-9/+12
| | |
| | * Move CSS back under navigation class to avoid messy diffGravatar ks1292021-02-17-52/+52
| | |
| | * Unfocus currently focused element before scrolling to invalid questionGravatar ks1292021-02-17-0/+5
| | |
| | * Remove trailing whitespacesGravatar ks1292021-02-08-1/+1
| | |
| | * Create refMap to avoid errors on direct ref accessGravatar ks1292021-02-08-3/+9
| | |
| | * Implement focusing text fields if empty on submitGravatar ks1292021-02-08-1/+5
| | |
| | * Rename invalid field IDs variableGravatar ks1292021-02-08-4/+4
| | |
| | * Improve submit data gatheringGravatar ks1292021-02-08-10/+6
| | |
| | * Add nullability check for refGravatar ks1292021-02-08-1/+1
| | |
| | * Simplify if checkGravatar ks1292021-02-08-1/+1
| | |
| | * Improve and simplify checkboxes gatheringGravatar ks1292021-02-08-12/+11
| | | | | | | | | Co-authored-by: Hassan Abouelela <[email protected]>
| | * Move container and return styles back to FormPageGravatar ks1292021-01-28-2/+50
| | |
| | * Remove unnecessary separator from sent form return home buttonGravatar ks1292021-01-28-2/+10
| | |
| | * Remove debugging setSentGravatar ks1292021-01-23-1/+0
| | |
| | * Use relative unitsGravatar ks1292021-01-21-1/+2
| | |
| | * Implement dynamic showing of form submitted textGravatar ks1292021-01-21-3/+5
| | |
| | * Add state for displaying thanks for submitting showingGravatar ks1292021-01-20-64/+39
| | |
| | * Un-refactor map to array for questionsGravatar ks1292021-01-19-11/+7
| | |
| | * Implement form submittingGravatar ks1292021-01-19-3/+30
| | |
| | * Remove preventDefault from endGravatar ks1292021-01-19-2/+0
| | |
| | * Add preventDefault to avoid reloading of pageGravatar ks1292021-01-19-0/+1
| | |
| | * Implement before-submit validation (broken, crashing)Gravatar ks1292021-01-19-4/+32
| | |
* | | Removes Path From AuthGravatar Hassan Abouelela2021-02-17-4/+2
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | | Dynamically Show Discord OAuth ButtonGravatar Hassan Abouelela2021-02-13-34/+31
| | | | | | | | | | | | | | | | | | | | | Dynamically displays an auth button in place of the submit button if needed, and adds full authorization flow. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Cleans Up OAuth ButtonGravatar Hassan Abouelela2021-02-13-10/+1
| | | | | | | | | | | | | | | | | | | | | Removes OAuth button from home page, and redesigns it. Uses new authorization functionality in auth. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Adds Basic Auth FunctionalityGravatar Hassan Abouelela2021-02-13-2/+3
|/ / | | | | | | | | | | | | | | Moves all authorization functionality to a new file, and adds a helper to send discord OAuth code to the backend, and set JWT. Adds a library to read and set cookies. Signed-off-by: Hassan Abouelela <[email protected]>
* / Cleans Up Some WarningsGravatar Hassan Abouelela2021-01-26-1/+1
|/ | | | | | Makes slight modifications to handle some minor warnings. Signed-off-by: Hassan Abouelela <[email protected]>
* Updates Switch Statement IndentGravatar Hassan Abouelela2021-01-17-2/+2
| | | | | | | Changes the switch statement indentation level to 1 in the eslint config, and updates files accordingly. Signed-off-by: Hassan Abouelela <[email protected]>
* Minor Style AdjustmentsGravatar Hassan Abouelela2021-01-16-0/+4
| | | | | | Minor adjustments following the first round of open feedback. Signed-off-by: Hassan Abouelela <[email protected]>
* Breaks Up CSS Into ComponentsGravatar Hassan Abouelela2021-01-06-479/+141
| | | | | | | | Moves the styles from the CSS file, into emotion CSS in each component's file to make navigation easier, and keep CSS and JSX together.Drops raw-loader dependency. Signed-off-by: Hassan Abouelela <[email protected]>
* Adds Question RenderingGravatar Hassan Abouelela2021-01-06-10/+518
| | | | | | | | Adds a question component, and calls it on form page. Adds styling for input types and form page. Lays foundation for validation and submission. Signed-off-by: Hassan Abouelela <[email protected]>
* Implements Scroll ButtonGravatar Hassan Abouelela2021-01-06-3/+4
| | | | | | | Adds a scroll to top button to the landing page, and form pages to make navigation easier on long pages. Signed-off-by: Hassan Abouelela <[email protected]>
* Fixes Preexisting Linting IssuesGravatar Hassan Abouelela2021-01-03-30/+30
| | | | | | | Fixes all errors, and most warnings generated by eslint. Most were fixed by eslint automatically such as indentation and quotes. Signed-off-by: Hassan Abouelela <[email protected]>
* Fetch forms only once in discoveryGravatar ks1292020-12-16-1/+1
|
* replace @emotion/core with @emotion/reactGravatar Joe Banks2020-12-16-3/+3
|
* Update LandingPage to use forms from APIGravatar ks1292020-12-14-2/+17
|
* Move loading to different componentGravatar ks1292020-12-14-12/+2
|
* Use location instead of document.location in callbackGravatar Joe Banks2020-10-12-1/+1
|
* Re-add the OAuth2 button to the home pageGravatar Joe Banks2020-10-06-1/+4
|
* When a code is received post it back to the openerGravatar Joe Banks2020-10-06-0/+17
|
* Add a key to the form listingsGravatar Joe Banks2020-10-05-1/+1
|
* Experiment concluded that hash the best choiceGravatar Joe Banks2020-10-05-9/+2
|
* Add experiment for loading pagesGravatar Joe Banks2020-10-05-2/+9
|
* Major rewrite of forms page to render specific formGravatar Joe Banks2020-10-05-3/+40
|
* Add dummy form data for fetching form listingsGravatar Joe Banks2020-09-30-2/+7
|
* Add a dummy page for form informationGravatar Joe Banks2020-09-29-0/+12
|