Skip to content

Commit 9d3f56a

Browse files
committed
πŸ› Fix missing created repo actions
1 parent 1e07dbd commit 9d3f56a

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

β€ŽGithub_News_Feed_Filter/Github_News_Feed_Filter.user.jsβ€Ž

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// @include https://github.com/?*
1717
// @include https://github.com/orgs/*/dashboard
1818
// @include https://github.com/orgs/*/dashboard?*
19-
// @version 8.2.0
19+
// @version 8.2.1
2020
// @grant none
2121
// ==/UserScript==
2222

@@ -56,8 +56,8 @@
5656
]
5757
},
5858
{
59-
id: 'repo', text: 'Repo', icon: 'octicon-repo', classNames: ['create', 'public', 'fork', 'branch_create', 'branch_delete', 'tag_add', 'tag_remove', 'release', 'delete'], subFilters: [
60-
{ id: 'repo created', text: 'Created', icon: 'octicon-repo-create', classNames: ['create'] },
59+
id: 'repo', text: 'Repo', icon: 'octicon-repo', classNames: ['repo', 'create', 'public', 'fork', 'branch_create', 'branch_delete', 'tag_add', 'tag_remove', 'release', 'delete'], subFilters: [
60+
{ id: 'repo created', text: 'Created', icon: 'octicon-repo-create', classNames: ['repo', 'create'] },
6161
{ id: 'repo public', text: 'Public', icon: 'octicon-repo-push', classNames: ['public'] },
6262
{ id: 'repo forked', text: 'Forked', icon: 'octicon-repo-forked', classNames: ['fork'] },
6363
{ id: 'repo deleted', text: 'Deleted', icon: 'octicon-repo-delete', classNames: ['delete'] },
@@ -265,6 +265,8 @@
265265
var show = classNames.every(function(cl) { return cl.some(function(c) { return !!~c.indexOf('*') || alert.classList.contains(c); }); });
266266
anyVisibleAlert = show || anyVisibleAlert;
267267
alert.style.display = show ? 'block' : 'none';
268+
// DEBUG: uncomment following line and comment previous line to debug all alerts.
269+
//if(show) alert.style.display = 'none';
268270
});
269271
}
270272

β€ŽGithub_News_Feed_Filter/README.mdβ€Ž

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,14 @@ Currently integrated filters:
6969

7070
## Version History
7171

72+
* **8.2.1**
73+
74+
* πŸ› Fix for 'Actions' tab|'Wiki' being empty after GitHub site update (fixed by [@darkred](https://github.com/darkred) in [#127](https://github.com/jerone/UserScripts/issues/127)).
75+
* πŸ› Fix missing created repo actions.
76+
7277
* **8.2.0**
7378

74-
* πŸ› Fixed issues after GitHub site update ([#124](https://github.com/jerone/UserScripts/issues/124).
79+
* πŸ› Fixed issues after GitHub site update ([#124](https://github.com/jerone/UserScripts/issues/124)).
7580

7681
* **8.1.1**
7782

0 commit comments

Comments
Β (0)