Skip to content

feat: Add event.type property to Events and Discover #13100

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

Merged
merged 2 commits into from
May 10, 2019
Merged

Conversation

lynnagara
Copy link
Member

@lynnagara lynnagara commented May 7, 2019

Add event.type to events and issue search, events table and Discover columns

Closes SEN-694

@lynnagara lynnagara requested review from lauryndbrown and a team May 7, 2019 19:16
@@ -44,6 +44,7 @@
# general
'id': 'event_id',
'project.id': 'project_id',
'type': 'type',
Copy link
Member

Choose a reason for hiding this comment

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

We already have this as event.type. Looking back at the history of this, we did it because existing users are already using type as a tag, and this would override that. Better to just use event.type in discover, since it already works in event/issue search.

Copy link
Member Author

Choose a reason for hiding this comment

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

@saragilford Any thoughts on naming here?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think because we have so many projects using type, I'm hesitant to ask people to change their tag usage (anything that requires our users to make code changes is a hard sell). While event.type is not the most elegant, it's the right choice for us to commit to.

@lynnagara lynnagara changed the title feat: Add type to events/issue search and Discover feat: Add event.type property to Events and Discover May 10, 2019
@lynnagara lynnagara requested review from a team and wedamija May 10, 2019 21:18
@lynnagara lynnagara merged commit e133bc9 into master May 10, 2019
@lynnagara lynnagara deleted the feat/add-type branch May 10, 2019 21:47
lynnagara added a commit that referenced this pull request Jul 18, 2019
'type' column is already on this list, was accidentally re-added as part
of #13100
lynnagara added a commit that referenced this pull request Jul 18, 2019
'type' column is already on this list, was accidentally re-added as part
of #13100
@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.

3 participants