Skip to content

Let's make Refined GitHub faster ⚡️ #2671

Closed

Description

@fregante

This is a followup to #2605

In that PR I made some small changes to 3 features to avoid content jumps.

You can contribute more of these changes:

  • either by finding which features could benefit from faster loading, or
  • by sending a PR with those changes.

Some features could just benefit from some minimal caching, others need element-ready

Here are some:

  • batch-open-all ("Open all" dropdown added late)
  • pr-filters ("Status" dropdown added late, also because the value isn't cached)
  • clean-issue-filters
  • default-branch-button
  • latest-tag-button
  • hide-zero-packages
  • ... find more!

If you want to send PRs, please send one per feature.

Activity

  1. added
    Please! ♥︎
    on Jan 6, 2020
  2. changed the title [-]Faster features / avoid content jumps[/-] [+]⚡️ Let's make Refined GitHub faster[/+] on Jan 6, 2020
  3. fregante commented on Jan 7, 2020

    @fregante
    MemberAuthor

    Here's what it takes to make a feature appear faster: 860da06

    - const branchSelector = select('#branch-select-menu')!;
    + const branchSelector = (await elementReady('#branch-select-menu'))!;
    
    ...
    
    - load: features.onAjaxedPages,
    + load: features.nowAndOnAjaxedPages,
  4. added
    small
    and removed on Jan 8, 2020
  5. pinned this issue on Jan 26, 2020
  6. fregante commented on Feb 17, 2020

    @fregante
    Author
  7. sindresorhus commented on Feb 17, 2020

    @sindresorhus
  8. fregante commented on Feb 18, 2020

    @fregante
    Author
  9. unpinned this issue on Feb 18, 2020
  10. sindresorhus commented on Feb 19, 2020

    @sindresorhus
  11. pinned this issue on Feb 28, 2020
  12. deleted a comment from H4mza96 on May 5, 2020
  13. unpinned this issue on May 12, 2020
  14. pinned this issue on May 15, 2020
  15. changed the title [-]⚡️ Let's make Refined GitHub faster[/-] [+]Let's make Refined GitHub faster ⚡️[/+] on Jun 18, 2020
  16. unpinned this issue on Aug 12, 2020
  17. yakov116 commented on Sep 6, 2020

    @yakov116
    Member

    Closed for housekeeping purposes?

  18. fregante commented on Sep 22, 2020

    @fregante
    MemberAuthor

    Yes

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

    Please! ♥︎acceptedenhancementsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions