Project

General

Profile

Task #19071

UI: Implement misc feature

Added by Adarsh Shukla 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
17/05/2024
Due date:
% Done:

100%

Estimated time:

Description

  1. Add validation for the API response. If a required field is empty or not received from the API, the frontend should reject the response and display an error message.

  2. Implement basic error handling. For example, if the API returns a response indicating that data was not found, display this message in a toast notification on the UI.

#1

Updated by Adarsh Shukla 11 months ago

  • Status changed from New to In Progress
#2

Updated by Adarsh Shukla 11 months ago

  • % Done changed from 0 to 10

Added some common response interfaces and removed unused libraries and packages.

#3

Updated by Adarsh Shukla 11 months ago

  • % Done changed from 10 to 30

Added API error handling code.

#4

Updated by Adarsh Shukla 11 months ago

  • % Done changed from 30 to 50
#5

Updated by Adarsh Shukla 11 months ago

  • % Done changed from 50 to 80

Wrote custom method to validate API response data with schema model, also implemented AJV MIT licence for the same.

#6

Updated by Adarsh Shukla 11 months ago

  • % Done changed from 80 to 90

Added loader component.

#7

Updated by Adarsh Shukla 11 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF