Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Restructure FormPage | 2022-07-01 | -347/+0 | |
| | | | | | | | | | | | | | The main FormPage component had gotten very out of hand, with many moving parts that were hard to parse, understand, or modify. This refactors breaks things up into separate files with better defined goals. Most changes are just straight copies without much change, however some structural changes have been introduced as a foundation for improving the app. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Fix rendering error message for failed unit tests. | 2022-06-18 | -15/+21 | |
| | | | | fix rendering of error message by updating public_state prop before updating state, and only catch 422 status code in FormPage | |||
* | Add processing for POST request response | 2022-03-14 | -4/+22 | |
| | | | | | | | | We now process the POST request response, catching the error. It re-runs the code validationField() function. It currently processes it assuming there's only one failed codeblock. This will be updated later. | |||
* | Block submission when missing OAuth2 scopes | 2021-12-24 | -15/+24 | |
| | ||||
* | Support Line Breaks In Submitted Text | 2021-06-19 | -1/+10 | |
| | ||||
* | Fixes Return Home Button Centering | 2021-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-oauth | 2021-02-20 | -16/+111 | |
|\ | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # package.json # src/commonStyles.tsx # src/pages/FormPage.tsx | |||
| * | Remove TODO | 2021-02-18 | -1/+1 | |
| | | ||||
| * | Revert change of gathering checkbox values | 2021-02-18 | -9/+12 | |
| | | ||||
| * | Move CSS back under navigation class to avoid messy diff | 2021-02-17 | -52/+52 | |
| | | ||||
| * | Unfocus currently focused element before scrolling to invalid question | 2021-02-17 | -0/+5 | |
| | | ||||
| * | Remove trailing whitespaces | 2021-02-08 | -1/+1 | |
| | | ||||
| * | Create refMap to avoid errors on direct ref access | 2021-02-08 | -3/+9 | |
| | | ||||
| * | Implement focusing text fields if empty on submit | 2021-02-08 | -1/+5 | |
| | | ||||
| * | Rename invalid field IDs variable | 2021-02-08 | -4/+4 | |
| | | ||||
| * | Improve submit data gathering | 2021-02-08 | -10/+6 | |
| | | ||||
| * | Add nullability check for ref | 2021-02-08 | -1/+1 | |
| | | ||||
| * | Simplify if check | 2021-02-08 | -1/+1 | |
| | | ||||
| * | Improve and simplify checkboxes gathering | 2021-02-08 | -12/+11 | |
| | | | | | | Co-authored-by: Hassan Abouelela <[email protected]> | |||
| * | Move container and return styles back to FormPage | 2021-01-28 | -2/+50 | |
| | | ||||
| * | Remove unnecessary separator from sent form return home button | 2021-01-28 | -2/+10 | |
| | | ||||
| * | Remove debugging setSent | 2021-01-23 | -1/+0 | |
| | | ||||
| * | Use relative units | 2021-01-21 | -1/+2 | |
| | | ||||
| * | Implement dynamic showing of form submitted text | 2021-01-21 | -3/+5 | |
| | | ||||
| * | Add state for displaying thanks for submitting showing | 2021-01-20 | -64/+39 | |
| | | ||||
| * | Un-refactor map to array for questions | 2021-01-19 | -11/+7 | |
| | | ||||
| * | Implement form submitting | 2021-01-19 | -3/+30 | |
| | | ||||
| * | Remove preventDefault from end | 2021-01-19 | -2/+0 | |
| | | ||||
| * | Add preventDefault to avoid reloading of page | 2021-01-19 | -0/+1 | |
| | | ||||
| * | Implement before-submit validation (broken, crashing) | 2021-01-19 | -4/+32 | |
| | | ||||
* | | Removes Path From Auth | 2021-02-17 | -4/+2 | |
| | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | | Dynamically Show Discord OAuth Button | 2021-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]> | |||
* | Updates Switch Statement Indent | 2021-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 Adjustments | 2021-01-16 | -0/+4 | |
| | | | | | | Minor adjustments following the first round of open feedback. Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | Breaks Up CSS Into Components | 2021-01-06 | -27/+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 Rendering | 2021-01-06 | -10/+66 | |
| | | | | | | | | 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]> | |||
* | Fixes Preexisting Linting Issues | 2021-01-03 | -5/+5 | |
| | | | | | | | 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]> | |||
* | replace @emotion/core with @emotion/react | 2020-12-16 | -1/+1 | |
| | ||||
* | Move loading to different component | 2020-12-14 | -12/+2 | |
| | ||||
* | Experiment concluded that hash the best choice | 2020-10-05 | -9/+2 | |
| | ||||
* | Add experiment for loading pages | 2020-10-05 | -2/+9 | |
| | ||||
* | Major rewrite of forms page to render specific form | 2020-10-05 | -3/+40 | |
| | ||||
* | Add a dummy page for form information | 2020-09-29 | -0/+12 | |