-
Notifications
You must be signed in to change notification settings - Fork 101
Feature request: Sorting Packages & Themes #9
Comments
From @jwerre on June 26, 2015 15:2 👍 apm search --packages --sort downloads|stars package_name |
From @simurai on June 30, 2015 4:29 This is already possible on atom.io, but kinda hidden and not that obvious: Maybe there could be an "All packages" as a 4th section, but instead of having the package cards, it could have the dropdown to filter or just links. |
From @boustanihani on June 30, 2015 14:11 The "See all" link disappears when you search for something, there is still no way to sort search results... Currently you can only sort all packages without filtering... |
From @simurai on June 30, 2015 23:21 @boustanihani I see, I missed the "search results" part. |
From @kenden on July 29, 2015 13:9 +1 |
👍 |
+1 for sorting search results based on downloads or stars 👍 |
+1 |
This comment has been minimized.
This comment has been minimized.
+1. As someone trying out Atom, being able to see popular packages in preferred languages would help to get a feel of how much package support for there is for each language. |
+1 |
1 similar comment
+1 |
I tried to add &sort=downloads after search, but does not work :( |
+1 |
This comment has been minimized.
This comment has been minimized.
Sorting in Atom itself would also be great, but at least at atom.io would be good enough. Its really hard to find packages at the moment - too much noise. |
This comment has been minimized.
This comment has been minimized.
Just to give an idea of how bad it is right now to find a package, i was just willing to install the linter package and by searching "linter " i had to scroll down to the last result, that is, to find one package that perfectly matched my search string and has about 100 times more downloads than the 5 first results that do not perfectly match the search string i had to go to the last result (i believe the editor only shows the first page of the searches. |
thedaniel commented on 12 Aug 2015
That didn't work, i've tried with stars and downloads. |
Am I missing some package that fixes this due to this bug? |
This comment has been minimized.
This comment has been minimized.
Command line solutionZsh
|
JS solutionDraft for json
|
do sorting packages in search results |
Good news in relation to @thedaniel 's request (at top) for sorting inside the Atom Editor, because its search results are now defaulted to sort by the number of downloads in descending order. This is true as of the settings-view package's release v0.241.2 on 2016-08-10. However, that package is part of core, and therefore it cannot be updated via the normal Atom Editor's functionality for updating a package. It is not part of Atom 1.9 releases. It is part of 1.10, which is currently available as a beta release](https://atom.io/releases). Credit/blame for this new sort-by functionality would appear to go to @bastilian, who put the sortBy downloads code in place on 2016-04-05. (Thank you @bastilian!) For posterity, here is the walk-through I did just before I discovered that the sortBy downloads functionality is already in a release.
|
Any news about this one? It's still quite a mess to find any relevant package, no sort and no keyword combination. |
Is there any specific reason why sorted search is not implemented here ? |
This comment has been minimized.
This comment has been minimized.
This is such a needed feature and rather easy to implement, the code is already there, just put it on the search results page and in the atom editor, too. |
This comment has been minimized.
This comment has been minimized.
Please consider adding this feature. When I try to search for a package to add sometimes the top three results will each have only 2-4 stars and somewhere far down the page a much more developed and stable package with 200,000 stars will almost be overlooked. It leads people to install packages that might not be production ready when much better options are out there. |
@johnmgarretson's fix seems perfectly reasonable for the time being, but was rejected because the Atom team wants to keep package search sorting and filtering logic in the closed-source backend.
Originally posted in atom/settings-view#1128 (comment) Backend sorting has been broken for at least 4 years. #9 (comment) Here's the ordering we see today in the editor (same as CLI). The most-adopted package is number 16 in the list. Lots of scrolling. Not a good user experience, especially for new users.
|
it is sad Does anyone here know about the existence of a plugin that could add sorting capability to Atom? |
I wanted to see how hard it would be to create solution to this problem, so this weekend I sat down and made a little wrapper utility around the apm search command. I think it turned out pretty nice, it can sort by stars or downloads, and filter by theme, package, or show the current featured list. It also formats the list cleanly, cuts off long text at the screen edge (so theres no broken lines from wrapping) and colorizes the columns. If youre interested the project repo is here https://github.com/charrismatic/atom-advanced-search and I published it to NPM so you can also install it directly with Hopefully someone find this useful. |
If someone wants to make this cleaner and commit it, this works on v1.58.0.
/usr/lib/atom/node_modules/settings-view/lib/install-panel.js
EDIT: atom/settings-view#1203 |
From @boustanihani on February 17, 2015 11:4
Could you please allow sorting search results on https://atom.io/packages & https://atom.io/themes by the number of downloads and the number of stars ?
And maybe also inside the Atom Editor...
Copied from original issue: atom/apm#303
The text was updated successfully, but these errors were encountered: