Skip to content

Log the error, rather than rendering it#178

Merged
nerdalert merged 2 commits intoinstructlab:mainfrom
vishnoianil:bug-fix
Sep 18, 2024
Merged

Log the error, rather than rendering it#178
nerdalert merged 2 commits intoinstructlab:mainfrom
vishnoianil:bug-fix

Conversation

@vishnoianil
Copy link
Member

@vishnoianil vishnoianil commented Sep 18, 2024

Show a modal with spinner while retrieving the data from github.
Currently it shows the empty state and then once the PRs are
pulled, it shows the list. This flicker of empty list always
happen whenever we switch from any other menu item to Dashboard.

Also it logs the error message rather than showing it as a div on the page.
We need a notification button to show these errors/info.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
@vishnoianil
Copy link
Member Author

snapshot of the modal with spinner.
Screenshot 2024-09-17 at 11 41 28 PM

Currently it shows the empty state and then once the PRs are
pulled, it shows the list. This flicker of empty list always
happen whenever we switch from any other menu item to Dashboar.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
@nerdalert nerdalert merged commit b2e508c into instructlab:main Sep 18, 2024
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.

2 participants