bcgov / CONN-CCBC-portal

Intake for application process for Connected Communities BC funding program
Apache License 2.0
4 stars 3 forks source link

Required fields are not marked in red on the Review page #414

Closed elliottSlee closed 1 year ago

elliottSlee commented 2 years ago

#

#

#

#

#

#

elliottSlee commented 2 years ago

@marcellmueller if we refactored this review page, as was suggested the other day, would some of these errors be fixed? If so, which ones? I'd like to clarify this card before sprint planning.

marcellmueller commented 2 years ago

Maybe ask @matthieu-foucault. I don’t see the value in rebuilding the entire review page instead of some minor bug fixes given the time constraints.

matthieu-foucault commented 2 years ago

The value is in ensuring code quality, removing code duplication and avoiding future bugs. If we're looking at short term value, then those bugs can definitely be fixed without refactoring, but similar bugs will come up whenever changes are made to the form schema.

eazeredo commented 2 years ago

Hey team! Please add your planning poker estimate with Zenhub @AntBush @marcellmueller @matthieu-foucault @wenzowski

MarsRomer-zz commented 2 years ago

Looking good, but just noticing that

  1. the total funding for CIB should not be showing as red - it's optional (and autocalculated) image.png
  2. The total funding requested from partner is showing an old total despite deleting all the fiscal boxes: image.png image.png If I type something in another box then it clears it from the review page
MarsRomer-zz commented 2 years ago

in addition to above, I believe this should be a mandatory quesiton: image.png

MarsRomer-zz commented 2 years ago

in addition to above, I believe this should be a mandatory quesiton: image.png

matthieu-foucault commented 2 years ago

I created #704 and #705 for those two new issues, as they are different bugs than what is listed in this issue's description.

MarsRomer-zz commented 2 years ago

I am a little concerned about this. We made the decision to take the extra time to do the rjsf refactor because it would fix all the bugs on the review page and would remove the need create new bug tickets for the review page and fix them individually thereby saving us effort in the future. After all the effort in the rjsf refactor I am concerned that there are still bugs on the review page, and I wonder if we were better off fixing the bugs piecemeal.

matthieu-foucault commented 2 years ago

These bugs are not on the review page, but either the JSON Schema itself, or with the way calculated components work. You don't see them until the review page because it's the only place we're doing validation. The fixes will not involve updating the review page, which appears to be doing its job of displaying the form data and JSON schema as specified.