bitovi / app-staffing

2 stars 2 forks source link

Display errors from api in chakra error-style toast message #350

Closed janebitovi closed 2 years ago

janebitovi commented 2 years ago

fix: (STAF-417)

edit: Files Changed (4) compare is cleaner if you ignore whitespace

janebitovi commented 2 years ago

API could be updated to provide better/more detailed error messages.

Examples:

Adding member to role before the start of the project:

image

Adding member to project during a time range where member is already assigned:

image