Skip to content
New issue

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

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

Already on GitHub? # to your account

Log the error, rather than rendering it #178

Merged
merged 2 commits into from
Sep 18, 2024

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
5 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants