Skip to content

List of Laser Machines disappears (reprise) #750

@andrewerrington

Description

@andrewerrington

I don't seem to be able to re-open this issue, which was closed yesterday, so I am re-creating it.

Ok. Thanks for reading my report and responding, however I disagree with your conclusion. I also disagree with the decision to make this behaviour intentional. What you have done is make the UI change its appearance based on the number of laser cutters defined, without stating anywhere that this happens. I also can't believe you are suggesting a workaround, when the problem itself can be, and should be, addressed. In my opinion you should be aiming for consistency, and adhere to the principle of least surprise.

Adding a second "Do not use" entry as a workaround is a poor suggestion, since it changes the UI (from no list, to a list appearing), and, more importantly, if you have two lasers, for example, one named "My laser", which you use, and "Do not use - old laser", which you don't, you have now made a useless UI widget (i.e. the only reason for the second entry is to make the list appear, but it's now possible to mistakenly select the "wrong" option, which is only there to make the list appear). Furthermore, if you delete "My laser", the list disappears, and the software is now using the remaining entry ("Do not use - old laser"), which it probably shouldn't be using, and there is no way to see that this is the case.

I already posted "a better suggestion that is easy to implement and still keeps the UI simple for people with just one laser": I suggest that the list is always present, even if it contains only one item.

Specifically, by keeping the list always present, even if it contains only one item:
UI never changes- things don't magically and inexplicably disappear
UI shows which laser is in use. If there is only one, then it's reassuring to see it.
The existence of the list also helps to make the UI more discoverable, in that it implies that it may be possible to define more than one laser.
It's impossible to leave behind a single laser marked "Do not use - old laser" and not know about it.
It removes a tiny piece of code which decides whether or not to display the list (and other code which must handle these dynamic UI changes), thus leading to less code. Less code means less to maintain, and fewer bugs.

Thank you for coming to my TED talk.

Originally posted by @andrewerrington in #746

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions