-
Notifications
You must be signed in to change notification settings - Fork 40
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
[UX] Remove left-over help text on Maximum image size field #2062
Comments
But I still need the reminder that it is WIDTH x HEIGHT and not HEIGHT x WIDTH! |
Good point @Graham-72. Maybe that should be part of the label (and not hidden in the description?) |
Yes please. 👍 |
I think the explanation in the description is fine. I don't think adding 'width x height' to the field label is a good idea. Any objections to closing this then? |
I think the current text is ok as well, but it does leave room for improvement. I don't feel strongly about this, but if someone were so inclined to write a Pull Request I think it would be an improvement. I'm adding a screen shot to help folks looking at this issue for the first time. This applies to the maximum image size on the field configuration page (at least, that's what I think it applies to - the text may have changed slightly already). |
As part of a OpenForce2022 I did a PR demo and we created a PR for this issue. Please, take a look and give us feedback. |
I'd personally prefer something like this instead: And here's a PR that does just that: backdrop/backdrop#3983
|
@BWPanda - excellent improvement. I closed my PR in favor of yours and tested it. I will mark it "Works for Me." I also marked this a "Milestone Candidate - Bug". It's very close. OPENFORCE 2022 NOTE: |
I do have a question about the latest PR by @BWPanda. When values are input into the fields, you don't know which field is for width and which for height. It may not too be problematic, but I think it's helpful to know at a glance. I kind of prefer the previous screenshot. |
Yes, that's the culprit with placeholders. With existing values they're pretty worthless. TBH adding back Another tiny thing: the "size" attribute is not officially supported for number input. It only works in some browsers, but not in all. I know that, because I ran into that myself. 😉 |
We have two PRs, both of which have (I think) been tested successfully, but provide different approaches:
@argiepiano, @indigoxela, and I prefer explicit. @BWPanda and @stpaultim prefer placeholders. Maybe we could get a little more input to move toward consensus (or at least, a clear majority?). |
I prefer the label with "width x height". (And in @BWPanda's screenshot I like the reduced width of number fields.) |
I also prefer explicitly stating it in the description, but can we also add placeholders? :) Best of both worlds? |
YAPR (Yet Another Pull Request) backdrop/backdrop#4523. In response to the above, and discussion at the 2023-09-21 dev meeting. Points made there:
Here's the result of the new PR, first, as the form initially comes up: And then what it looks like with data already filled in (e.g., editing a field): |
Thanks @bugfolder! This is essentially @BWPanda's PR but with some description text rewording. Looks good! I left an item of feedback, that |
Yes. Thanks for the |
I gave backdrop/backdrop#4523 a final review and it looks and works great. Thanks @bugfolder for pushing this to the finish! Lots of folks to thank for this little improvement. backdrop/backdrop@909f50d by @bugfolder, @BWPanda, @indigoxela, @olafgrabienski, @jenlampton, @Graham-72, @stpaultim, @argiepiano, and @quicksketch. Merged into 1.x and 1.26.x. |
The description text for the Max image size field reads:
We should remove the first part (
The maximum allowed image size expressed as WIDTHxHEIGHT (e.g. 640x480).
) because now that we have pretty integer fields that part of the explanation is nolonger necessary.The text was updated successfully, but these errors were encountered: