Closed JazzarKarim closed 1 month ago
When we create a draft, we give it a type. Which could add some complications to this.
Leave it for now. Follow up with the UX team, but is low priority
deleted obsolete comment
deleted obsolete comment
@OlgaPotiagalova deleted obsolete comment
In Filings UI, try:
In Create UI, try:
This looks great, I was wondering if the spacing between the Restoration Type radio buttons and the spacing between the Approval Type radio buttons could be the same? My preference is to lessen the space between the approval type radio buttons so that they align with Restoration Type.
Severin made several updates in response to my comment and I've approved the spacing within the restoration type section.
No approval type selected.
Court order type selected.
Registrar type selected.
I also fixed the registrar approval type that wasn't showing validation errors until each text field was touched. Now it shows errors as soon as the validation flag is enabled:
I found another bug that I will fix in this ticket: the court order is not being saved (or restored)...
The above bug is now fixed.
I also fixed another bug where the registrar type was being restored only if both dates were previously saved. Now, if either date was entered, the registrar type is restored from draft.
Another bug has been found and will be fixed in this ticket:
And it's the same thing if an approval type of "court order" is used.
The problem is that approvalType
is not being set in the object and stored in the JSON. The reason is that the ApprovalType component is watching for the wrong event from the sub-component. The event should be approvalTypeChange
(not radioButtonChange).
The bug is fixed. (Thanks, Arwen!)
Riyaz, back to you, please and thanks!
As it currently stands, when we create a new restoration, a full restoration draft is created. (The user can easily change this in the UI.)
UX team wants a new default state in which no restoration is selected.
Note that having "no" type set initially may cause some components to display incorrectly. There may also be other dependencies on the restoration type. This is why we start with an initial type.
SB says: This is fixable but potentially a lot of work. Is it worth it?