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.

💯 Minor codebase updates and fixes

See original GitHub issue

I’ll use this issue to add small tasks that could be done, treat it as a wishlist or a good way to start getting acquainted with the codebase.

  • Find fickle selectors and change them with select(something more specific).closest(the parent);

    GitHub has been removing some feature-specific classes like .js-file-list which means that we end up with monstrosities like main > :first-child .mt-1 .btn which mean nothing and could change at any time. Ideally instead we should find the best selector inside the target element (for example its icon, select('.octicon-branch[aria-label="Create branch"]')) and then reach the desired element with .closest('.btn'):

    - select('main > :first-child .mt-1 .btn')
    + select('.octicon-branch[aria-label="Create branch"]')!.closest('.btn')
    
  • Better yet: https://github.com/sindresorhus/refined-github/issues/4456

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:48 (48 by maintainers)

github_iconTop GitHub Comments

3reactions
FloEdelmanncommented, Apr 6, 2022

Regarding https://github.com/refined-github/refined-github/issues/4008#issuecomment-824729016:

The specific linked case doesn’t exist anymore. Out of all other currently existing negative margins/paddings, only one of two in clean-mergeability-box could be replaced with a class, but that is a CSS-only feature. All others are not compatible with Primer classes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 steps to secure codebase updates, prevent vulnerabilities
Updating codebase frameworks and components to new versions is a crucial task that threatens to introduce security holes. Follow these three steps to...
Read more >
What's the best way to upgrade an outdated codebase ...
Option two: Tack the new on to the old. A second option is to add new features built with new technology to the...
Read more >
Managing Releases with Semantic Versioning and Git Tags
Michael Miles from MIT Sloan shares how to manage software releases with semantic versioning and Git tags. Learn about build numbers and how...
Read more >
Improve workflow to release Secure analyzers for a patch version of ...
The proposal can be summarized by 3 key points: change the Dockerfile to track the minor version of Go; use BUILD tag to...
Read more >
Semantic Versioning 2.0.0 | Semantic Versioning
PATCH version when you make backwards compatible bug fixes. Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR....
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