Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Handling + Helper Text #94

Merged
merged 76 commits into from
Apr 12, 2024
Merged

Conversation

Gehrkej
Copy link
Contributor

@Gehrkej Gehrkej commented Apr 4, 2024

Changes

This PR mostly is enhancing the submission flow to provide more feedback and guidance to users. This includes a new Dialog telling the user if they have entered an invalid character (non-number), adjusting empty input banner to be a dialog and account for deleted inputs, and adding helper text under the sideLanding input. Additionally, the database and codebase is set up in a way that will support helper text for other inputs if warranted.
image
image

Related Issue(s): #93 #97 #126

Features

  • Added handling of non number characters with a dialog feedback to the users
  • Added an additional check of empty values in inputs
  • Refactored Empty banner to be a dialog
  • Added helper text for inputs in database that. Currently only displayed for sideLanding
  • Adjusted SID to be 1-20 in createOutputData
  • Added Error handling on submit button

Other Notes

@Gehrkej Gehrkej changed the title {DRAFT DON'T MERGE}Error Handling + Helper Text [DRAFT DON'T MERGE]Error Handling + Helper Text Apr 4, 2024
FrankreedX and others added 12 commits April 5, 2024 13:28
* Result screens unified!

* fixed the display bug in result

* added title to styles, some redundancy removed from barChartScreen

---------

Co-authored-by: Jake Gehrke <gehrkej@oregonstate.edu>
* plan hooked fully to database and finished by submitting drill

* scroll down to refresh

* change naming to be more clear and requre drill id and assigned_time

* add assigned_data to user on user creation

* fix key issue, lighter green, squircle, spacing of description

* styling

* updated prettier and github action settings to be more strict

* code cleanup

* ran pretty

* attemptRefId into attemptId

---------

Co-authored-by: Frankreed <baoanhtdn@gmail.com>
@Gehrkej Gehrkej changed the title [DRAFT DON'T MERGE]Error Handling + Helper Text Error Handling + Helper Text Apr 9, 2024
@Gehrkej Gehrkej marked this pull request as ready for review April 9, 2024 18:37
app/segments/drill/[id]/submission/input.js Outdated Show resolved Hide resolved
app/segments/drill/[id]/submission/input.js Outdated Show resolved Hide resolved
app/segments/drill/[id]/submission/input.js Outdated Show resolved Hide resolved
app/segments/drill/[id]/submission/input.js Outdated Show resolved Hide resolved
app/segments/drill/[id]/submission/input.js Outdated Show resolved Hide resolved
@FrankreedX
Copy link
Contributor

In the files changed tab, there are a lot of repeated changes to layout. Try rebasing again maybe?

Gehrkej and others added 27 commits April 12, 2024 00:04
…s, and fixed calculateProxHole cuz I was stupid...
@Gehrkej Gehrkej merged commit 5429ddb into layout Apr 12, 2024
1 check passed
@Gehrkej Gehrkej deleted the Gehrkej/Attempt-Input-Error-Handling branch April 12, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants