sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Expose an exact error count in UI

Open mattrobenolt opened this issue 11 years ago • 6 comments

Re: https://sentry.zendesk.com/agent/tickets/598

Not sure if we want to use a real tooltip or just a title attribute here, but it's probably worth exposing IMO.

Right now, we generalize at a very high level of "1.1M" without any way to see what the absolute number is.

mattrobenolt avatar Oct 06 '15 17:10 mattrobenolt

@billyvg I can take this, even I have it partially done, using tooltip, I have some questions about styling. Position of tooltip and text on it, currently I gave Exact: count.toLocaleString() Would it be ok?

bsr3000 avatar Oct 09 '19 08:10 bsr3000

@bsr3000 I think a tooltip may be too heavy - can we just add a title attribute to the element? I think count.toLocaleString() would be enough. Thanks!

billyvg avatar Oct 11 '19 17:10 billyvg

@billyvg ok, I ll add a title to it

bsr3000 avatar Oct 11 '19 17:10 bsr3000

I am interested in working on this issue. Can you provide some information regarding it?

varun-karandikar30 avatar Oct 09 '20 16:10 varun-karandikar30

@varun-karandikar30 Sure... there are many places in our application where we display an abbreviated number, e.g. if it's 1000, it will become 10k, we want to apply the title attribute to this component so that it will display the exact number.

This is the component that we use for this (<Count>): https://storybook.getsentry.net/branches/master/index.html?path=/story/utilities-formatters--count

billyvg avatar Oct 13 '20 01:10 billyvg

Created this PR https://github.com/getsentry/sentry/pull/21583 as part of hacktoberfest, can someone take a look?

infinityxxx avatar Oct 26 '20 15:10 infinityxxx