question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could we get something more closely resembling the badges that BB previously had for PR counts?

See original GitHub issue

If I recall correctly before they robbed us of them, the PR badges looked something like this:

image

We would basically get that with this:

.__rbb-badge {
    position: absolute;
    right: 4px;
    background: #a00;
    border-radius: 16px;
    color: #fff;
    line-height: 1;
    padding: .125em .375em .25em;
}

I am happy to open a PR for this if it is something there is consensus on. I am not opposed to something else for the color of the badge, etc.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
brianespinosacommented, Mar 15, 2018

I’ll put something together. I’m more than happy to invest some time on this, even if nothing happens with it. That’s how this whole open source thing works. 😉

2reactions
brianespinosacommented, Mar 15, 2018

Seems like there is no deterministic class to target for collapsed that I am seeing. They inline the width. The best way would probably be to add this:

div[style*="width: 64px"] .__rbb-badge {
    right: -4px;
    top: -4px;
}

Which gives this: image

These numbers could use some fine tuning. Probably padding could be reduced. I could put a more solid proposal with better padding if you think there would be interest. Might be best to just submit it as a PR and discuss over code?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Military Awards - Army Publishing Directorate
o Updates criteria and clarifies guidance for award and processing of the Combat Infantryman, Medical, and Action. Badges (paras 8–6, 8–7, and 8 ......
Read more >
My application was returned because something was missing ...
You can use all the same documents and payment receipts to apply again. Make sure the signatures are still valid. We must get...
Read more >
The Rise of the Worker Productivity Score
Across industries and incomes, more employees are being tracked, recorded and ranked. What is gained, companies say, is efficiency and ...
Read more >
State Regulations of Private Schools (PDF)
pupil, whichever is greater, but may not exceed the amount of funding the student would have generated had he or she remained in...
Read more >
Report on the Investigation into Russian Interference in the ...
The Russian government interfered in the 2016 presidential election in sweeping and systematic fashion. Evidence of Russian government ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found