Skip to content
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

Show all GHC libraries versions? #122

Open
hasufell opened this issue Feb 23, 2021 · 6 comments
Open

Show all GHC libraries versions? #122

hasufell opened this issue Feb 23, 2021 · 6 comments

Comments

@hasufell
Copy link
Member

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

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

@hasufell
Copy link
Member Author

#98

@hasufell hasufell removed this from the 0.1.19.0 milestone Dec 20, 2022
@hasufell
Copy link
Member Author

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
Copy link
Member Author

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

@lsmor
Copy link
Collaborator

lsmor commented Apr 26, 2024

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:

  • How to display the new info?, maybe a popup, or a dropdown list?
  • How to trigger the new display? a new hotkey? a configurable option?

@hasufell
Copy link
Member Author

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
Copy link
Collaborator

lsmor commented Apr 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants