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

feat: add error toasts when loading from "url" query paramater #622

Merged
merged 5 commits into from
Nov 15, 2023

Conversation

ppfenning92
Copy link
Contributor

Description

  • Adds error toasts notifying users when fetching spec via url query paramater fails

@netlify
Copy link

netlify bot commented May 16, 2023

Deploy Preview for modest-rosalind-098b67 ready!

Name Link
🔨 Latest commit 7ede2fe
🔍 Latest deploy log https://app.netlify.com/sites/modest-rosalind-098b67/deploys/6554b3b91036800008ac34bd
😎 Deploy Preview https://deploy-preview-622--modest-rosalind-098b67.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ppfenning92 ppfenning92 changed the title add error toasts when loading from "url" query paramater feat: add error toasts when loading from "url" query paramater May 16, 2023
@fmvilas
Copy link
Member

fmvilas commented May 30, 2023

@magicmatatjahu would you mind having a look, please?

@Amzani Amzani requested a review from KhudaDad414 August 3, 2023 13:33
@Amzani
Copy link
Collaborator

Amzani commented Aug 3, 2023

cc @KhudaDad414

Copy link
Member

@KhudaDad414 KhudaDad414 left a comment

Choose a reason for hiding this comment

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

@ppfenning92 it works great if the url is broken. can you also cover the case when the url returns 404 error? like this one: https://raw.githubusercontent.com/asyncapi/spec-json-schemas/ff3ab77b5bbad0ff05eabc4b10c8685638dcc4a7/examples/2.6.0/componnts.json

@ppfenning92
Copy link
Contributor Author

@KhudaDad414 sure, give me some time, very busy these days....

@KhudaDad414
Copy link
Member

@ppfenning92 sure man. just let me know when it is ready for review.

@Amzani
Copy link
Collaborator

Amzani commented Nov 2, 2023

@ppfenning92 could you fix the conflicts
Thanks

@ppfenning92 ppfenning92 requested a review from Amzani as a code owner November 7, 2023 19:02
Copy link

netlify bot commented Nov 7, 2023

Deploy Preview for asyncapi-studio-design-system ready!

Name Link
🔨 Latest commit 7ede2fe
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-studio-design-system/deploys/6554b3b9920fd200081dd0b1
😎 Deploy Preview https://deploy-preview-622--asyncapi-studio-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

changeset-bot bot commented Nov 7, 2023

⚠️ No Changeset found

Latest commit: 7ede2fe

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ppfenning92
Copy link
Contributor Author

image

screenshot for clarity :)

@jonaslagoni
Copy link
Member

@KhudaDad414 can you have a look here?

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@KhudaDad414
Copy link
Member

/rtm

@asyncapi-bot asyncapi-bot merged commit ba785e1 into asyncapi:master Nov 15, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants