Skip to content

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Nov 22, 2016

  • Add export to csv action in UI
  • Remove uniqueValues reference (not issue specific)
  • Augment data when user tag is selected
  • Add email action for users

@dcramer dcramer force-pushed the feature/improve-tag-values branch 2 times, most recently from cc0a832 to 912e4cc Compare November 22, 2016 20:52
@dcramer
Copy link
Member Author

dcramer commented Nov 22, 2016

screenshot 2016-11-22 12 55 51

@dcramer dcramer force-pushed the feature/improve-tag-values branch 2 times, most recently from c6bd5da to 3b0cc83 Compare November 22, 2016 20:55
@dcramer
Copy link
Member Author

dcramer commented Nov 22, 2016

The lint rule is wrong, and its saying this an error where its missing keys. We can either fix the lint rule (read: its not an error), or i can exclude it entirely in these files. However if we have to exclude it like that it tells me we should change the lint rule, to at best be a warning.

Copy link
Contributor

@mattrobenolt mattrobenolt left a comment

Choose a reason for hiding this comment

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

python seems ok

Copy link
Contributor

Choose a reason for hiding this comment

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

Not a big deal, but I had to look up the API for this since the name didn't match what this actually was and couldn't tell if it was meant to be an instance of a class or a class itself with the variable being named _cls.

Copy link
Member Author

Choose a reason for hiding this comment

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

its the class of serializer, not the literal class type

@dcramer dcramer force-pushed the feature/improve-tag-values branch from 3b0cc83 to 59764e6 Compare November 22, 2016 21:24
Copy link
Contributor

@benvinegar benvinegar left a comment

Choose a reason for hiding this comment

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

Seems fine, I have some suggested improvements but otherwise ...

<Avatar user={user} size={96} gravatar={false} />
</div>
<KeyValueList data={builtins} isContextData={false} />
<table className="key-value table">
Copy link
Contributor

Choose a reason for hiding this comment

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

So, I see why you removed KeyValueList – because it wouldn't render your custom Email JSX above properly.

I feel a better solution is to modify KeyValueList so that if value is a React component, it should just spit out that component as-is (whereas primitives go through the existing path through deviceNameMapper).

Copy link
Member Author

Choose a reason for hiding this comment

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

that sounds like a lot of work

Copy link
Contributor

Choose a reason for hiding this comment

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

I can do it in a follow-up.

return item.ipAddress;
else
return item.value;
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just:

return item.email || item.username || item.identifier || item.ipAddress || item.value;

@dcramer dcramer force-pushed the feature/improve-tag-values branch from ed98f1e to a8d60ff Compare November 23, 2016 00:36
@getsentry-bot
Copy link
Contributor

getsentry-bot commented Nov 23, 2016

1 Warning
⚠️ Changes require @getsentry/security sign-off

Security concerns found

  • src/sentry/web/frontend/group_tag_export.py

Generated by 🚫 danger

- Add export to csv action in UI
- Remove uniqueValues reference (not issue specific)
- Augment data when user tag is selected
- Add email action for users
@dcramer dcramer force-pushed the feature/improve-tag-values branch from a8d60ff to 2ad172d Compare November 23, 2016 00:39
@dcramer dcramer merged commit bc02979 into master Nov 23, 2016
@dcramer dcramer deleted the feature/improve-tag-values branch November 23, 2016 00:48
@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants