Skip to content

Conversation

@lynnagara
Copy link
Member

No description provided.

@lynnagara lynnagara requested a review from a team January 4, 2019 20:58
@lynnagara lynnagara force-pushed the feat/release-events branch from 996b093 to 9864ca4 Compare January 4, 2019 23:26
<Link
to={{
pathname: `/organizations/${orgId}/issues/`,
query: {query: 'release:' + this.context.release.version},
Copy link
Member

Choose a reason for hiding this comment

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

Why is version not wrapped in " here? Should you URLencode release.version? It can contain URL unsafe data.

Copy link
Member Author

Choose a reason for hiding this comment

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

Using query seems to automatically encode this for us

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not exactly sure what the impact of wrapping in " is in the stream view (afaik both are valid) but since i'm not confident I've gone with the same implementation as the project releases version here https://github.com/getsentry/sentry/blob/master/src/sentry/static/sentry/app/views/releases/detail/project/releaseAllEvents.jsx#L27

Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

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

The two components are pretty similar, they could be the same component with 2 additional props - it's fine as is though.

query: {query: 'first-release:' + this.context.release.version},
}}
>
<span className="icon icon-open" />
Copy link
Member

Choose a reason for hiding this comment

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

Is there an svg icon available?

@lynnagara lynnagara merged commit e95bf1a into master Jan 8, 2019
@lynnagara lynnagara deleted the feat/release-events branch January 8, 2019 22:36
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
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.

4 participants