💯 Minor codebase updates and fixes · Issue #4008 · refined-github/refined-github · GitHub
Skip to content

💯 Minor codebase updates and fixes #4008

Closed

Description

@fregante

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: Replace select().closest() calls with :has #4456

Activity

  1. added
    metaRelated to Refined GitHub itself
    smallIssues that new contributors can pick up
    on Feb 21, 2021
  2. doc-han commented on Feb 22, 2021

    @doc-han
  3. fregante commented on Feb 22, 2021

    @fregante
    Author
  4. cheap-glitch commented on Mar 19, 2021

    @cheap-glitch
  5. fregante commented on Mar 19, 2021

    @fregante
    Author
  6. yakov116 commented on Mar 21, 2021

    @yakov116
  7. fregante commented on Apr 2, 2021

    @fregante
    Author
  8. yakov116 commented on Apr 2, 2021

    @yakov116
  9. fregante commented on Apr 3, 2021

    @fregante
    Author
  10. fregante commented on Apr 3, 2021

    @fregante
    Author
  11. fregante commented on Apr 3, 2021

    @fregante
    Author
  12. fregante commented on Apr 3, 2021

    @fregante
    Author
  13. yakov116 commented on Apr 6, 2021

    @yakov116
  14. 26 remaining items

  15. fregante commented on Oct 7, 2021

    @fregante
    Author
  16. cheap-glitch commented on Oct 9, 2021

    @cheap-glitch
  17. fregante commented on Oct 13, 2021

    @fregante
    Author
  18. fregante commented on Nov 7, 2021

    @fregante
    Author
  19. fregante commented on Nov 9, 2021

    @fregante
    Author
  20. changed the title [-]Minor codebase updates and fixes[/-] [+]💯 Minor codebase updates and fixes[/+] on Dec 10, 2021
  21. fregante commented on Dec 10, 2021

    @fregante
    MemberAuthor

    Let's not add any more requests to this issue. A new one can be created. We'll close this one after (almost) everything is done.

    🛁 #5222

  22. FloEdelmann commented on Dec 16, 2021

    @FloEdelmann
  23. fregante commented on Dec 17, 2021

    @fregante
    Author
  24. FloEdelmann commented on Dec 17, 2021

    @FloEdelmann
  25. locked and limited conversation to collaborators on Jun 27, 2022
  26. unlocked this conversation on Jun 27, 2022
  27. fregante commented on Jun 28, 2022

    @fregante
    MemberAuthor

    Closing and locking. Thanks for all the fish!

  28. locked and limited conversation to collaborators on Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedmetaRelated to Refined GitHub itselfsmallIssues that new contributors can pick up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions