Closed shriram closed 7 months ago
(Close should be Cancel because Close doesn't make clear whether the renaming happened anyway or not.)
While we're at it...
"Close" should be renamed "Cancel"
Once you share a file for the first time, the "Update" button is a little confusing ("what am I updating...?"). And of course, it's extra confusing that clicking either button has the same effect! Why even make two buttons?
Would folks be interested in a PR to update the modal buttons more broadly? Right now they're always static for every modal, so I'd start by letting cpo/modal-prompt/Prompt
accept new options for the button text.
I might also suggest restyling the left button to not be red, as it's generally the safer/do-nothing option, rather than something dangerous enough it should be styled red. (That said, I know users and documentation may have come to rely on details of this UI, so if touching it is dangerous, wanted to check first.)
I think this modal (and others) could use a designer's eye, especially a newcomer/outsider, this sounds great. Seeing a PR with a redesign would be great.
Generally for improvements like this if you target horizon
with your PRs (it's the default), we can easily merge it and test it at https://pyret-horizon.herokuapp.com/ which autodeploys from that branch. That way we can evaluate before releasing to all users/deciding if we can just go for it or if we need to track down docs to change for larger edits.
I don't want to be presumptuous, but if I'm thinking about this anyways, is there any interest in a broader UI refresh? I took some notes on bits of the UI that seemed unfamiliar and had an idea to update the menus, dialogs and top buttons at the same time. But this was just relative to my own understanding and I know a lot more research would be needed to understand the issues that real users face and try to solve them as part of that effort.
That document and your thoughts are not presumptuous, they are spectacular! Thank you so much for writing all of this down, what a gift! I put some comments in the doc.
I think that:
anchor
branch of https://github.com/brownplt/pyret-lang/, and I'd be happy to have a longer conversation about it.Great!
This can, I think, be closed or at least get the :fixed-in-horizon: label.
@shriram Close if you're happy?
The new UI is a lot nicer:
But I'm still not so happy with "Submit"? My initial proposal had been to call it "Rename", to make clear what pressing that button does. I missed a rationale for not renaming that.
I also feel like the very light grey of Cancel makes it looks like it's not enabled. Is the grey instead of red for cancel a consistent style?
Fully agree -- let's call it Rename, since that's what it actually does. The Save dialog should be consistent with this as well. Agreed that Cancel doesn't need to be quite so ghosty.
Tagging @asolove just to keep him in the loop about these discussions.
The Rename menu option looks like
Both buttons look wrong, at least if I understand the semantics correctly: "Close" should be "Cancel" and "Submit" (which has a needless BSDM ring to it) should be "Rename" (one could image more precisely alternatives like "Proceed" or "Commit" or something, but I imagine that for kids, "Rename" is the easiest to understand).