-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add UNMAINTAINED shortcut link #435
add UNMAINTAINED shortcut link #435
Conversation
travis failed due to
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simpler version of #434
Please close the duplicate PR if it is obsolete.
I am not sure if this query justifies a new link. The user can simply type "unmaintained" into the search box since there is no "magic" / complex matching happening. Otherwise a link for "end of life", "unknown", etc. would also be helpful.
@@ -60,6 +60,7 @@ | |||
<a href="?q=ORANGE">ORANGE</a>, | |||
<a href="?q=YELLOW">YELLOW</a>, | |||
<a href="?q=GRAY">GRAY</a> | |||
<a href="?q=UNMAINTAINED" title="Filter packages whth unmaintained or end-of-life status">UNMAINTAINED</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling: whth
-> with
This query does not show packages with status "end of life". It only shows packages with status "unmaintained".
@@ -6,7 +6,8 @@ var QUERY_TRANSFORMS = { | |||
'GRAY': '<a class="i"></a>', | |||
'RED1': '<td><a class="m"></a>', | |||
'RED2': '</a><a class="m"></a><a', | |||
'RED3': '<a class="m"></a></td>' | |||
'RED3': '<a class="m"></a></td>', | |||
'UNMAINTAINED' : '<span class="unmaintained"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The query could just use the lower case search "unmaintained". I don't expect that token to appear in other parts of the status page beside the status column. Therefore this change is not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand the code correctly, it is not likely happens, but in theory if someone make foo_unmaintaned_pkg
package, then it does not work correctly,
#434 matches both |
Thanks. |
@@ -60,6 +60,7 @@ | |||
<a href="?q=ORANGE">ORANGE</a>, | |||
<a href="?q=YELLOW">YELLOW</a>, | |||
<a href="?q=GRAY">GRAY</a> | |||
<a href="?q=UNMAINTAINED" title="Filter packages with unmaintained status">UNMAINTAINED</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed missing comma in 4df621c.
simpler version of #434