aboutsummaryrefslogtreecommitdiffstats
path: root/src/components (follow)
Commit message (Collapse)AuthorAgeLines
* Add new PrecheckBox componentGravatar Joe Banks2025-08-08-0/+42
|
* Add some font weights back where they make senseGravatar Joe Banks2025-07-22-0/+2
|
* Render section content with markdown rendererGravatar Joe Banks2025-07-22-20/+9
|
* Support left alignment in section headersGravatar Joe Banks2025-06-01-2/+13
|
* Re-map slugged vote options to human form when upstreaming to formGravatar Joe Banks2024-07-11-1/+16
|
* Handle voting component callbacksGravatar Joe Banks2024-07-11-3/+20
|
* Add new vote component and voting redux storeGravatar Joe Banks2024-07-11-0/+226
|
* Improve the styles on the radio component to make it easier to useGravatar Joe Banks2024-07-10-22/+46
| | | | | | | | | Increases the click area, the visibility that an option has been selected, and the visibility that an item has been hovered on. Additionally, adds an instruction ahead of the component instructing users to select an option incase it was no longer clear that the field is a radio select.
* Gracefully handle user cancelled authorizationGravatar Joe Banks2024-07-10-2/+4
|
* Add AuthorizationSplash to display above content when auth in progressGravatar Joe Banks2024-07-10-0/+42
|
* Update code component to use @uiw/react-codemirrorGravatar Joe Banks2024-07-10-22/+6
|
* Remove unnecessary debug logging from TimeZoneGravatar Joe Banks2024-07-03-4/+0
|
* Convert TimeZone to functional component to fix lazy loading bugGravatar Joe Banks2024-07-03-70/+87
|
* Add some debug logging to timezone autoselectionGravatar Joe Banks2024-07-03-4/+8
|
* Better format copy about timezonesGravatar Joe Banks2024-07-03-2/+2
|
* Add new field for capturing timezonesGravatar Joe Banks2024-07-03-0/+328
|
* Simplify Navigation ComponentGravatar Hassan Abouelela2022-07-19-3/+3
| | | | | | | Extract the styles from the navigation component to common styles, and convert it to a function component. Signed-off-by: Hassan Abouelela <[email protected]>
* Codify Question State TypeGravatar Hassan Abouelela2022-07-01-144/+132
| | | | | | | | Uses an interface to define the RenderedQuestion component state, to reduce the required type and existence checks in the rest of the codebase. Signed-off-by: Hassan Abouelela <[email protected]>
* Improve ErrorMessage InterfaceGravatar Hassan Abouelela2022-07-01-7/+8
| | | | | | | Unify the string and element types on the interface to clarify they are mutually exclusive. Signed-off-by: Hassan Abouelela <[email protected]>
* Style ChangesGravatar Hassan Abouelela2022-07-01-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Restructure FormPageGravatar Hassan Abouelela2022-07-01-13/+6
| | | | | | | | | | | | | 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]>
* Display Test Names For Unittest FailuresGravatar Hassan Abouelela2022-07-01-5/+33
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Allow More Customization In Error MessageGravatar Hassan Abouelela2022-07-01-2/+13
| | | | | | | | Add transitions to the error message component, and allow more flexibility by allowing the caller to specify the inner component of the message. Signed-off-by: Hassan Abouelela <[email protected]>
* Add Selectable Styles To Code Field (#469)Gravatar Hassan Abouelela2022-06-30-1/+3
| | | | | | | | Adds the selectable CSS styles to the code field to fix a bug on safari that prevented users from clicking into it and writing. Thanks to Etzeitet & NoodleReaper for discovering this. Signed-off-by: Hassan Abouelela <[email protected]>
* Expand Code Field To Fill SpaceGravatar Hassan Abouelela2022-06-29-0/+4
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Fix Dropdown Overlap IssueGravatar Hassan Abouelela2022-06-29-9/+20
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Bump React To 18.2.0Gravatar Hassan Abouelela2022-06-18-4/+12
| | | | | | | | | | | | Bump react to v18, and handle all the breaking changes. This includes bumping a lot of other dependencies to versions which support react 18, and handling the breaking changes for those. Refer to the following documents for migration guides: React: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html Router: https://reactrouter.com/docs/en/v6/upgrading/v5 Signed-off-by: Hassan Abouelela <[email protected]>
* Bump CodeMirror to 6.0.0Gravatar Hassan Abouelela2022-06-18-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Fix rendering error message for failed unit tests.Gravatar DavinderJolly2022-06-18-1/+1
| | | | fix rendering of error message by updating public_state prop before updating state, and only catch 422 status code in FormPage
* Add new unittestsFailed public_state fieldGravatar Janine vN2022-03-14-1/+12
| | | | | New field to determine if a unittest failed and provide feedback to the user.
* Merge pull request #224 from python-discord/codemirrorGravatar Hassan Abouelela2021-06-19-8/+62
|\ | | | | Implement code field using CodeMirror 6 beta
| * Update HTML Element handler commentGravatar DawnOfMidnight2021-06-07-1/+1
| |
| * Update code field styling after pulling upstreamGravatar dawnofmidnight2021-05-30-5/+11
| |
| * Implement code fieldGravatar ks1292021-05-07-6/+54
| |
* | Adds Support For Linebreaks In ContentGravatar Hassan Abouelela2021-06-10-7/+16
|/ | | | | Adds support for inserting line breaks in question names, and in the case of sections, question data.
* Updates Home Page Form Entry ExpansionGravatar Hassan Abouelela2021-04-24-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Merge pull request #141 from python-discord/discord-oauthGravatar Joe Banks2021-03-07-64/+56
|\
| * Merge branch 'main' into discord-oauthGravatar Hassan Abouelela2021-03-07-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # package.json # yarn.lock
| * | Fixes Return Home Button CenteringGravatar Hassan Abouelela2021-03-07-3/+3
| | | | | | | | | | | | | | | | | | | | | 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-23/+189
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # package.json # src/commonStyles.tsx # src/pages/FormPage.tsx
| * | | Removes Path From AuthGravatar Hassan Abouelela2021-02-17-3/+2
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | Cleans Up OAuth Error LoggingGravatar Hassan Abouelela2021-02-17-14/+2
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | Cleans Up Error DisplayGravatar Hassan Abouelela2021-02-16-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | Adds Error Handler For OAuth ButtonGravatar Hassan Abouelela2021-02-16-11/+53
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | | Dynamically Show Discord OAuth ButtonGravatar Hassan Abouelela2021-02-13-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-70/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes OAuth button from home page, and redesigns it. Uses new authorization functionality in auth. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | Makes Code Inputs TextAreasGravatar Hassan Abouelela2021-03-07-6/+1
| |_|/ |/| | | | | | | | | | | | | | | | | Changes the display of code to textareas until a proper solution is implemented. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Fixes Radio Button RoundingGravatar Hassan Abouelela2021-03-07-1/+1
| |/ |/| | | | | | | | | Makes radio buttons spheres instead of ovals. Signed-off-by: Hassan Abouelela <[email protected]>
* | Don't overwrite user selectionGravatar ks1292021-02-18-3/+5
| |
* | Add focus handler for select (thanks Scaleios)Gravatar ks1292021-02-18-1/+7
| |