code4romania / vic

Mozilla Public License 2.0
2 stars 1 forks source link

[Volunteering hours] When trying to log volunteering hours, without having volunteering profile created, error message is displayed faulty #286

Closed anastk-code4 closed 2 months ago

anastk-code4 commented 2 months ago

Description

After a user joined an NGO in the mobile app, the user wants to log volunteering hours. However, they are conditioned to not be able to add volutneering hours unless they created their volunteering profile (business rule). In this case, when trying to log volunteering hours, an error message is shown somewhere in the background, it is not visible to the user so they can't figure out why they can't perform the action. See screenshot

Test environment

VIC mobile, iOS

Preconditions

Have a mobile app account. Joined an NGO. Never completed the volunteering profile for that NGO.

Test Data

None

Steps of Reproduction

See screenshot

Expected Result

Ideally: See figma User can access Add volunteering hours page User can fill in info User can click on Submit button User is prompted with an error popup, informing them that they can't submit if they don't create their volunteering profile first. User can click on button in the error popup to be redirected to the Volunteering profile page (for that NGO/workspace), where they can fill in their profile.

Alternatively (not so good): The error message that is currently displayed as in the screenshot (in the background) is displayed in the screen so it is visible.

Actual Result

See screenshot

Notes (optional)

Screenshots (optional)

https://github.com/code4romania/vic/assets/95479576/3575cd13-0f67-44c9-85f7-017c2f0674b2

anastk-code4 commented 2 months ago

duplicate