HangarMC / Hangar

A plugin repository used for paper plugins
https://hangar.papermc.io/
MIT License
249 stars 65 forks source link

Alternative sorting for project versions page #1383

Closed FlorianMichael closed 1 month ago

FlorianMichael commented 1 month ago

Is your feature request related to a problem?

My project https://hangar.papermc.io/ViaVersion/ViaRewind auto publishes to hangar in the following schematic:

Since every commit is published, it doesn't take long for only snapshot/alpha versions to be visible on the page. Users then download a snapshot or alpha version since they don't immediately see the release and error occur since alpha/snapshot versions usually also require snapshot versions from my upstream dependencies ViaVersion and ViaBackwards.

Describe the solution you'd like.

A solution would be to allow the project author to change the default values for the channel/version type selection:

image

To be fair my case is more specific, but I could also imagine this to be useful for other projects as well. This way people can publish dev builds but offering the user releases to prevent automatically using dev builds and running into issues.

Describe alternatives you've considered.

As alternatives (or second feature) it would be cool to have a mode were:

Other

No response

MiniDigger commented 1 month ago

this is already a thing :) image image

FlorianMichael commented 1 month ago

Oh I should have looked at that menu, thank you