Yashasv-Prajapati / Docify

6 stars 4 forks source link

UML generate flow complete #164

Closed AtharvaMulay25 closed 6 months ago

AtharvaMulay25 commented 6 months ago

This PR does the foll:

  1. Fixes in fetching uml from user's github
  2. Showing small loader in place of generate uml button while container is working
  3. redirecting to uml preview page after it is generated succesfully

Further tasks:

  1. Provide a Way to navigate to uml/:projectId
  2. to fetch UML from appropriate branch if multiple branches are present
linear[bot] commented 6 months ago
CS3-115 Handle loading after generate click

In dashboard, after the user clicks on Generate UML on a particular project, send an API call to the API handler for Generate UML that is present in **/client/app/api** folder with the appropriate body, and use zod-schema for schema validation. Handle loading of docker container until the API call gets completed, use the .finally() method in fetch or axios to implement this.