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

Remove Studio data request failed Toast #5125

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Remove Studio data request failed Toast #5125

merged 2 commits into from
Dec 15, 2023

Conversation

julieg18
Copy link
Contributor

Removes the "Unable to fetch data from Studio" Toast since we try to fetch data periodically (meaning user could get this multiple times in a session)

Fixes #5120

@julieg18 julieg18 added the bug Something isn't working label Dec 15, 2023
@julieg18 julieg18 self-assigned this Dec 15, 2023
@@ -157,9 +156,6 @@ export class ExperimentsData extends BaseData<ExperimentsOutput> {
})
} catch {
this.notifyChanged(defaultData)
void Toast.showError(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add some logic to check if the user has already received the Toast and has a self-hosted URL, but that would add some extra complexity that I don't think is needed since we probably have few users using self-hosted URLs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can have a health status in the Setup screen instead I think. If connection is failing we can a message, or even change it to "yellow" in the Setup screen. WDYT?

@julieg18 julieg18 marked this pull request as ready for review December 15, 2023 15:29
@julieg18 julieg18 enabled auto-merge (squash) December 15, 2023 15:56
Copy link

codeclimate bot commented Dec 15, 2023

Code Climate has analyzed commit a867b3e and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.2%.

View more on Code Climate.

@julieg18 julieg18 merged commit f674240 into main Dec 15, 2023
8 checks passed
@julieg18 julieg18 deleted the remote-studio-toast branch December 15, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Studio: if project doesn't exist, don't keep showing error
3 participants