OpenPecha / Requests

RFWs and RFCs for all OpenPecha repositories
0 stars 0 forks source link

[RFC0101] Rethink the error handling in webapp #397

Open tenkus47 opened 5 months ago

tenkus47 commented 5 months ago

RFC0101: Rethink the error handling in webapp

Named Concepts

Error handling: a fundamental and complex process that involves responding to and recovering from error conditions in a software application. Client side: everything in a web application that is displayed or takes place on the client's device.

Summary

I am using remix navigation error handling right now. but this RFC requires to handle the error on the same page .

Dependencies

react toastify library : to show the error on the page . i think toast are the best option.

Infrastructures

Include all the infrastructure required for running the task, such as S3 bucket, EC2 server, etc.

Design Illustrations

image

Justification

I need to show the error with toast as shown on the illustration above. and also for the form related validation error i am going to use toast.

Testing

Describe the kind of testing procedures that are needed as part of fulfilling this request.

Implementation Steps

List all the steps involved during implementation.

Reviewed By

Who has reviewed the RFC?