Skip to content

User experience issues #684

Closed
Closed

Description

@domenkozar

I've heard so many complaints around UX that I'll start collecting them. I'll maintain a list of possible concrete improvements/complaints/issues here.

Activity

  1. dredozubov commented on Nov 6, 2015

    @dredozubov

    For starters, i feel like haskell infrastructure commands are too verbose(-A and such). It can be dealt with with a meta cli-flags like --haskell or --haskell-ng, consolidating all the stuff like -f "<nixpkgs>" -A haskellPackages.(i may be a little rusty on details, it's been a while). I feel like it may be compressed to something like nix-env -i package-name --haskell --compiler=7.8.

    Also it's a minor thing, but i find subcommands(something in the lines of nix install instead of more emerge-like nix-env -i) much more easier to use. You can usually introspect your options with subcommands and --help, for example. You type nix --help and get all the options with descriptions(build, install, shell, instantiate, store etc), then you type nix build --help and get all the options and subcommands for build. All the tools are distributed as a bundle, right? So it can be done with a wrappers or something.

  2. domenkozar commented on Nov 6, 2015

    @domenkozar
    MemberAuthor

    Would you feel having a basic tutorial for such caveats and most common flags would help?

  3. Ericson2314 commented on Nov 6, 2015

    @Ericson2314
    Member

    I've voiced this elsewhere, but I'd be for nix having no special handling of package names, and then probably move them to meta too. Everything it does with them I view as broken or at least sketchy.

    (e.g. update should really remember what expression was used for the build and substitute new nixpkgs for old nixpkgs---remembering attribute path and using that is a special case.)

  4. Ericson2314 commented on Nov 6, 2015

    @Ericson2314
    Member

    Hell, I'd even deprecate user imperative pkg management and just have like a ~/config/env.nix. Then update just becomes rebuild.

  5. domenkozar commented on Nov 6, 2015

    @domenkozar
    MemberAuthor

    @Ericson2314 for imperative package management it's problematic if attribute name changes. But same is true for package names.

  6. domenkozar commented on Nov 6, 2015

    @domenkozar
    MemberAuthor

    @Ericson2314 +1 from me for removing imperative package management.

  7. Ericson2314 commented on Nov 6, 2015

    @Ericson2314
    Member

    Sure, and if the attribute path changed, there's probably been enough of a refactor so what that one wanted before doesn't quite map to what's there now.

    Basically I find much of nix-env half-assed. It tries to make things easier/familiar but since it doesn't quite realize those goals, it backfires. The correct way to have a good beginner UX is probably a GUI that edits system and per-user configuration files, which warns and doesn't change things if it sees an abstraction that it can't understand.

  8. dredozubov commented on Nov 6, 2015

    @dredozubov

    @domenkozar I feel like UX is hard to use(and i use plenty of CLI tools every day of my life), lots of concepts unique to nix are partially to blame for this. As a user, i don't feel a way to anchor some nix commands to the things i've used, so i feel that some work should be done on UX instead of extensive documentation of the current state. As a beginner i want to be introduced to the new concepts gradually, so when i have to type 5 or more options to the every command i use from the get-go, it's getting hard to grasp. What i'm trying to say is: cli UX should introduce new users to the concepts of nix, not scare them away: links to the relevant documentation can be added to the error output. "you're trying to do something weird by calling this command this way, this tutorial may be of help to you: "

  9. copumpkin commented on Nov 6, 2015

    @copumpkin
    Member

    I doubt people actually want a GUI though. The target audience is people
    who are used to other package manager UIs, not GUI folks. Only satisfying
    the latter seems like it'll turn away many potentially interested people.

    On Fri, Nov 6, 2015 at 12:41 PM, John Ericson [email protected]
    wrote:

    Sure, and if the attribute path changed, there's probably been enough of a
    refactor so what that one wanted before doesn't quite map to what's there
    now.

    Basically I find much of nix-env half-assed. It tries to make things
    easier/familiar but since it doesn't quite realize those goals, it
    backfires. The correct way to have a beginner UX is probably a GUI that
    edits system and per-user configuration files, which warns/does nothing if
    it sees an abstraction that it can't understand.

    —
    Reply to this email directly or view it on GitHub
    #684 (comment).

  10. dredozubov commented on Nov 6, 2015

    @dredozubov

    @copumpkin aren't the issue about command-line UX - the "porcelain" part of it?

  11. rened commented on Nov 6, 2015

    @rened

    +1 for making it purely declarative. I think it would make things clearer / easier for newcomers like me.

    also, removing channels and sticking to a simple nixpkgs repo with branches as described in http://anderspapitto.com/posts/2015-11-01-nixos-with-local-nixpkgs-checkout.html is much easier to grok, I believe

  12. Ericson2314 commented on Nov 6, 2015

    @Ericson2314
    Member

    I guess I felt mock-imperative GUI and declarative expr language were good extremes to try to satisfy the broadest audience, but fair point traditional sysadmins would probably be lost in the gap between those too.

    GUI and/or CLI for "mock imperative" management by editing and rebuilding config files sounds good to me.

  13. copumpkin commented on Nov 6, 2015

    @copumpkin
    Member

    @dredozubov I was responding to @Ericson2314's suggestion to replace nix-env with a GUI

  14. copumpkin commented on Nov 6, 2015

    @copumpkin
    Member

    @rened channels seem like a great concept to me. Part of the UX could probably be improved, but the concept seems pretty solid. Any particular reason you want to kill them altogether?

  15. dredozubov commented on Nov 6, 2015

    @dredozubov

    @rened I remember i was very frustrated when i tried to add a channel, i had no idea where to get the url for it - still have no clue how to look it up. Had to go to the IRC, then the bunch of wizards threw some incantations at me.

  16. 27 remaining items

  17. vcunat commented on Jan 18, 2016

    @vcunat
    Member

    @domenkozar: the third task can be checked-off.

  18. domenkozar commented on Jan 18, 2016

    @domenkozar
    MemberAuthor

    @vcunat done. I do plan to go trough this issue and make a proper list. If someone is faster, I won't complain.

  19. edolstra commented on Jan 20, 2016

    @edolstra
    Member
  20. copumpkin commented on Jan 20, 2016

    @copumpkin
    Member

    @edolstra awesome, thanks! I left some comments on the gist

  21. drewm1980 commented on Feb 29, 2016

    @drewm1980

    I was unable to get NixOS to boot at all after spending a whole evening fighting with EFI and messing around with partitions and boot flags. This sort of thing was a fun hobby in 1998, but these days people expect a linux distro to be capable of installing itself after saying "yes" to a bunch of reasonable defaults.

    Thanks so much for your hard work, and I look forward to trying nixos again after seeing some installer related news!

  22. peti commented on Apr 21, 2018

    @peti
    Member

    Closing this ticket because there hasn't been any substantive activity for 2+ years.

  23. joepie91 commented on Apr 21, 2018

    @joepie91

    Not sure why lack of activity would be a reason for closing the issue. This is even specifically meant to be a long-running thread for collecting UX issues (per the description in the first post), and unless an issue is either resolved or declared invalid, I don't think it should be closed at all.

    If the issues have been resolved (eg. by the Nix 2.0 interface), then the closure notice should at least include information on how/where things have been solved or made obsolete. Right now, it's totally unclear what the status of this ticket is.

    This kind of "close issues when they go quiet" policy - which unfortunately seems to be getting more and more popular lately, in many projects - just results in a revolving door of tickets being reopened about the same issue over and over again, but always without the previously collected context and feedback, and without the long-running issues ever getting fully fixed (because they take longer to fix than a ticket can stay open for).

    It's a really, really bad idea. I certainly hope it isn't the new nixpkgs-wide nix-wide policy.

  24. domenkozar commented on Apr 21, 2018

    @domenkozar
    MemberAuthor

    It's also not clear to me why closing issues really helps in any way.

  25. coretemp commented on Oct 29, 2018

    @coretemp

    Can we reopen this?

  26. edolstra commented on Oct 29, 2018

    @edolstra
    Member

    I think it's better to open individual issues and tag them with the UX label.

  27. joepie91 commented on Oct 30, 2018

    @joepie91

    I'm not sure that that's a good approach. UX aspects are a lot more interconnected than logic bugs, and addressing each UX issue in its own thread will likely just lead to duplication of discussion and solutions that don't integrate well with solutions to other UX issues, because the desired user experience as a whole has not been considered.

  28. added a commit that references this issue on Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions