UK-SBCoA / uniform-data-set-dotnet-web

.NET Core implementation of UDS with MVC and Razor Class UI Library
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Form Mode, Remote Reason, Remote Modality #171

Open ashleybot opened 1 week ago

ashleybot commented 1 week ago

Fixes #167

Custom tag helper for disabling options not allowed for certain forms

Screenshot 2024-06-27 at 3 40 43 PM

Example of REQUIRED form allowing remote Screenshot 2024-06-28 at 3 22 00 PM

Example of optional form NOT allowing remote Screenshot 2024-06-28 at 3 22 53 PM

Example of optional form allowing remote Screenshot 2024-06-28 at 3 23 46 PM

This PR should

ashleybot commented 5 days ago

To-do

ashleybot commented 3 days ago

We'll improve UX for initials here => https://github.com/UK-SBCoA/uniform-data-set-dotnet-web/issues/173

ashleybot commented 3 days ago

@mlan225 Can you review this PR?

mlan225 commented 1 day ago

Running into an interesting issue when creating a visit. Running Api and Web PR branches and have run migrations on my local API database so things should be up to date on my end.

Can you confirm if the packet select options below are the intended options?

image

Also getting an error after attempting the creation of the visit above

image

ashleybot commented 1 day ago

@mlan225 Examiner initials will be handled more gracefully in #173 , but for now they need to be limited to 3 chars. So, that's why the create visit was failing. Should be good now. 👍

mlan225 commented 1 day ago
mlan225 commented 1 day ago

I was able to test the rest of the forms successfully, except for the C2 and C2T, after editing the required forms to be finalized, the F packet did not have those forms available.

The rest looks good though! The rest of it functions as promised after the B6 options are fixed ✅

mlan225 commented 1 day ago

A literal non issue, but just mentioning it here so we know about it, but the styling for the applied validation messages when it is checked manually with an in progress status appear different than the ones checked against the model with intrusive validation

in progress error: image

Finalized error: image

ashleybot commented 1 day ago

A literal non issue, but just mentioning it here so we know about it, but the styling for the applied validation messages when it is checked manually with an in progress status appear different than the ones checked against the model with intrusive validation

Good catch. I would normally want something like this to be fixed, but we'll autofill these fields in future cards and so there won't be a big opportunity for them to be empty (end-user would have to jump through hoops).

ashleybot commented 23 hours ago

@mlan225 Fixed B6. Handing this to @smiththay for a second pass since it has such a large affect-area.

mlan225 commented 23 hours ago

@mlan225 Fixed B6. Handing this to @smiththay for a second pass since it has such a large affect-area.

sounds good 👍