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

[ticket/17317] Change button text for pm recipient to increase readability #6616

Merged
merged 5 commits into from
May 30, 2024

Conversation

danieltj27
Copy link
Contributor

@danieltj27 danieltj27 commented May 17, 2024

I've updated the text on the submit button used to remove recipients from a PM that is currently being composed. It used to just be a small x that was hard (for me and of course others) to see.

I've updated it to say Remove which is already an existing language string so no new translations are required for this change. I also added a 2px padding so the text isn't flush to the edges of the button.

It makes it more readable and actually looks styled as opposed to looking like an element that was forgotten about. I think this makes the interface much better to use.

PHPBB3-17317

Checklist:

  • Correct branch: master for new features; 3.3.x for fixes
  • Tests pass
  • Code follows coding guidelines: master and 3.3.x
  • Commit follows commit message format

Tracker ticket:

https://tracker.phpbb.com/browse/PHPBB3-17317

@danieltj27
Copy link
Contributor Author

I've added a second commit because I accidentally changed padding: 0; to padding: 2px 0; when it should have been changed to padding: 0 2px; instead.

Button need left and right padding, not top and bottom.

@danieltj27
Copy link
Contributor Author

I've updated the change to what @iMattPro has suggested in the ticket because I agree that it's a better change compared to simply having a default button with the word remove in it.

@danieltj27
Copy link
Contributor Author

Latest commit addresses both issues in review by @iMattPro.

I'd say it's time to merge and have a brew 🙂

Updated the button to a small red X using Font Awesome
rather than using the default phpBB button with text
which adds a better visual distinction in the interface
between the username and action. Credit to @iMattPro for
the suggestion in the ticket comments.

PHPBB3-17317
@marc1706
Copy link
Member

marc1706 commented May 23, 2024

The commit hook check found an issue again. You had for example:

[ticket/17317] Some change
PHPBB3-17317

However, the commit message hook requires there to be either a comment or an empty line before the PHPBB3-17317:

[ticket/17317] Some change

PHPBB3-17317

I've changed that now :)

@marc1706 marc1706 added this to the 3.3.13 milestone May 23, 2024
@danieltj27
Copy link
Contributor Author

Thanks, sorry about that. I've done that on a couple of commits but now I know for next time!

@marc1706 marc1706 merged commit df5fcaf into phpbb:3.3.x May 30, 2024
45 checks passed
@marc1706
Copy link
Member

@danieltj27 On a side note, I have also adapted the changes in master. However, the only difference is that the icon does use a normal cursor for the button now. Might want to check this out and maybe adapt for it accordingly in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants