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

A menu (UI) for straight.el? #1085

Open
StrictlyMonad opened this issue May 13, 2023 · 6 comments
Open

A menu (UI) for straight.el? #1085

StrictlyMonad opened this issue May 13, 2023 · 6 comments
Labels

Comments

@StrictlyMonad
Copy link

First and foremost, wonderful project and appreciate all the effort being put into maitaining / upgrading it!

Had an idea, coming from neovim, which could benefit straight.el to some extent:

  1. Add a menu for managing straight.el packages, where the user is able to:
    a. Select a package and perform certain actions on it,
    b. Upgrade packages
    c. Sync packages (upgrade and rebuild perhaps?)
    d. Uninstall packages,
    e. Debug, profile and whatnot
    f. Clean (remove) old packages?

This idea is similar to what Lazy is currently offering as a neovim package manager.

Lazy UI:
image

@bestlem
Copy link

bestlem commented May 14, 2023

There is a hydra for straight.el https://github.com/abo-abo/hydra/wiki/straight.el

@StrictlyMonad
Copy link
Author

But if i've understood how hydra works (simple knowledge), then that won't show the packages being installed or having an action performed on them. Isn't that correct?

@bestlem
Copy link

bestlem commented May 15, 2023

Yes - the hydra I showd won't do that.
The packages being installed are shown as current straight.el in the echo area.
The example hydra works by choosing the action and then you select the package - so the opposite way round to what you want.

@StrictlyMonad
Copy link
Author

As I had thought. Lazy.nvim does show the package being installed + displays changelog of installed package (compare between current installed version vs latest released version).

That imo would've been more helpful than the just a hydra menu.

@raxod502
Copy link
Member

See M-x straight-x-fetch-all which implements a graphical view for package installation only, and elpaca which chooses different abstractions from straight.el and therefore makes it easier to construct a graphical interface.

@StrictlyMonad
Copy link
Author

Interesting! Perhaps I ought to take a look at Elpaca and see if it's better fit for my needs.

Appreciate the mention! :)

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

No branches or pull requests

3 participants