haskell / ghcup-hs

https://www.haskell.org/ghcup/
GNU Lesser General Public License v3.0
279 stars 83 forks source link

Show all GHC libraries versions? #122

Open hasufell opened 3 years ago

hasufell commented 3 years ago

In GitLab by @maerwald on Feb 24, 2021, 24:09

related https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/88

hasufell commented 1 year ago

https://github.com/haskell/ghcup-hs/issues/98

hasufell commented 5 months ago

Discussion on discourse: https://discourse.haskell.org/t/ghc-9-6-5-is-now-available/9341/16?u=hasufell

A special case may be that Win32 and unix are platform specific packages.

hasufell commented 5 months ago

Might also be interesting how to incorporate this in the TUI. Maybe @lsmor has an idea.

lsmor commented 5 months ago

I wonder how this would look in the TUI. I think current display of the tools is minimal and pretty much optimal. Nevertheless, having the option to extend the visualization might be good. Two questions arises:

hasufell commented 5 months ago

How to display the new info?, maybe a popup, or a dropdown list?

I'm tilting towards popup. An inspect/details action that we can extend with various sub-options like showing the exact bindist that would be selected etc

We just have to make sure to not overload everything. The navigation has to be simple.

Press enter brings you to a popup menu that mimics the options of install/compile/details. Then we go from there.

lsmor commented 5 months ago

Oh, I see. We can add a new buttom in the "context menu" (#949) with the "details". It wouldn't be too difficult to implement, since it seems it would only be a static popup with information.

So, this isn't implemented in the ghcup library yet, isn't it?. I guess, the only friction points would be the changes in the ListResult type.