Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): better handling the ui in case of errors connecting with bac… #543

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asifrahaman13
Copy link
Contributor

In case of any failure in the backend system the front end system throws error. Implemented checks at different parts to ensure that the application does not throw errors in the known areas.

Also migrated the fetch API to axios in the chatwindow.tsx for the parts where I fixed the above issue.

Steps to reproduce

  1. Run only the front end of the application.
  2. Or play around and misconfigure different parts.

Before changes:

Screenshot from 2024-12-30 20-32-01

After my changes:

Screenshot from 2024-12-30 20-40-50

…kend, migrating the fetch api to axios in chatwindow file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant