Added an error message when adding with no view selected #781

Merged
a22erigr merged 1 commit from 767-error-add-no-card-selected into team_2_week_5 2026-05-06 17:50:02 +00:00
Collaborator

A state is used to decide if error message should be shown or not (showError). It is set to true if add is pressed with nothing no view selected. It is set to false if a view is selected of the modal closed. Note: Clicking outside of the modal is not the same thing as closing it.

A state is used to decide if error message should be shown or not (showError). It is set to true if add is pressed with nothing no view selected. It is set to false if a view is selected of the modal closed. Note: Clicking outside of the modal is not the same thing as closing it.
c24danli 2026-05-06 14:05:31 +00:00
Collaborator

Review on #781

Whats done

Tested on macOS using Chrome

  • App starts
    • Verified that clicking "add" without selecting a view now shows an error message instead of a runtime error
    • Verified that the error message disappears correctly after selecting a view
    • Tested adding a card after selecting a view
      • Verified that the card is added as expected

Inspected following files

  • AddCardModal.js
    • Indentation/code styling
      • Follows standard
    • Naming convention
      • Follows standard
    • Comments
      • Looks good
    • General code quality
      • No issues found, error handling works as expected

What needs to be done

  • No issues found.

Conclusion

  • Works as intended and the code is ready to be merged.
# Review on #781 ## Whats done ### Tested on macOS using Chrome + App starts + Verified that clicking "add" without selecting a view now shows an error message instead of a runtime error + Verified that the error message disappears correctly after selecting a view + Tested adding a card after selecting a view + Verified that the card is added as expected ### Inspected following files + AddCardModal.js + Indentation/code styling + Follows standard + Naming convention + Follows standard + Comments + Looks good + General code quality + No issues found, error handling works as expected ## What needs to be done + No issues found. ## Conclusion + Works as intended and the code is ready to be merged.
Collaborator
No description provided.
a22erigr merged commit e64f1bb100 into team_2_week_5 2026-05-06 17:50:02 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!781
No description provided.