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.

Releases panel is removed (without `releases-tab`)

See original GitHub issue

Edit: This (not being able to access releases at all with only one of the features enabled) has been confirmed as WAI. There is a workaround userscript here: https://github.com/sindresorhus/refined-github/issues/3848#issuecomment-751515243.


The releases panel on the right of every repo is removed (since one of the latter updates of the extension), even when releases-tab is disabled.

The panel is present when disabling the extension.

This happens in any repo (with releases, at least).

Example URL where the bug appears: https://github.com/sindresorhus/refined-github

Screenshot: Extension disabled: imagen Extension enabled: imagen

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
fregantecommented, Dec 27, 2020

I think that’s the point of being able to choose features.

Right, that’s why they been split. If we merge them someone will ask for the opposite.

The defaults work for all, so you can’t say that they don’t make sense. If you disable features that’s your own choice.

3reactions
altrisicommented, Dec 27, 2020

Yesterday clean-repo-sidebar didn’t even exist, now you’re complaining that you want to keep it enabled.

Yesterday clean-repo-sidebar didn’t even exist, true, but hide-empty-meta did, which had features that were moved into clean-repo-sidebar (and some from hide-zero-packages too).

And why do you want to disable releases-tab?

I just don’t like it, I think it gets too much importance there. I think that’s the point of being able to choose features.

Anyway, don’t worry, I’ll live with it, or maybe at some point make myself a script to allow both somehow.

Edit: For anyone looking to not have the tab but have clean-repo-sidebar (there is people according to reactions), the following userscript seems to work:

// ==UserScript==
// @name     Readd releases post Github Refined change
// @version  2
// @grant    none
// @include  https://github.com/*
// ==/UserScript==


//Check if it's main repo page. Works most of the time (except when ending in /, which doesn't happen by default)
regex = new RegExp('(^[^\/]*(\/[^\/]*){4}[^\/]$)');

window.addEventListener("load", function(event) {
  restoreReleases();
});

window.addEventListener("pjax:end", function(event) {
 	restoreReleases();
});

function restoreReleases() {
  setTimeout(function() {
    if(!regex.test(location.href)){
      return;
    }
    console.log('Readding releases panel (removed by Github Refined)');
  	const sideReleases = document.querySelector('.BorderGrid-cell a[href$="/releases"]');
  	sideReleases.closest('.BorderGrid-row').hidden = false;
  }, 1);
}

It is still temporarily hidden, but it’s better than nothing (maybe listening to readystatechange would be better). Timeout is needed because else Github Refined tends to be executed after in pjax:end.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases panel is removed (without releases-tab ) #3848
There is a workaround userscript here: #3848 (comment). The releases panel on the right of every repo is removed (since one of the...
Read more >
Solved: Version not shown in project sidebar
Solved: The Releases -tab in the project sidebar is not shown for most projects in my Jira. It is shown for the project...
Read more >
The Releases Tab
Enables you to delete any releases that are not active on an environment or have any active data instances. Local releases context menu....
Read more >
How Releases Work - Jama Community
Selecting the Releases tab from the Explorer Panel will display the existing Releases as well as Unassigned, the category in which any items ......
Read more >
RSS control panel 1.7-1.8 change - Feature Requests - Forums
please re-unite all the control panels for RSS feeds back into one click. you've removed the releases tab altogether and split the add...
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