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

chore: types improvement on Micro Frontend support document #7672

Merged
merged 3 commits into from
Aug 23, 2023

Conversation

sagarhani
Copy link
Contributor

Pre-merge checklist

If you work at Sentry, you're able to merge your own PR without review, but please don't unless there's a good reason.

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs
  • PR was reviewed and approved by a member of the Sentry docs team

Description of changes

Improve type support in Micro Frontend support doc page.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Extra resources

@vercel
Copy link

vercel bot commented Aug 18, 2023

@sagarhani is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

| "replay_event"
| "replay_recording"
| "check_in";
import { Envelope, EnvelopeItemType } from "@sentry/types";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I feel it's better to move the type declaration from here to one section above. Because, when I was implementing dsnFromFeature from routing events to different projects section, I was trying to figure out what type of argument it is expecting.

What are your thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

I think it's a good idea to make that change, let's move it!

@vercel
Copy link

vercel bot commented Aug 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 5:07pm

@shanamatthews
Copy link
Contributor

Hey @sagarhani - did you want to go ahead and make the rest of this change to move the type declaration?

@sagarhani
Copy link
Contributor Author

Hey @shanamatthews, done! Please let know if the changes looks good to you.

Copy link
Contributor

@shanamatthews shanamatthews left a comment

Choose a reason for hiding this comment

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

Looks great, I'll merge this for you. Thanks for your contribution!

@shanamatthews shanamatthews enabled auto-merge (squash) August 23, 2023 17:10
@shanamatthews shanamatthews merged commit 9394f1f into getsentry:master Aug 23, 2023
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants