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

Make entire Forgot Password box header clickable #1917

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

davidjb
Copy link
Contributor

@davidjb davidjb commented Oct 5, 2021

By submitting this pull request, I confirm the following:

  • I have read and understood the contributors guide, as well as this entire template.
  • I have made only one major change in my proposed changes.
  • I have commented my proposed changes within the code.
  • I have tested my proposed changes.
  • I am willing to help maintain this change if there are issues with it later.
  • I give this submission freely and claim no ownership.
  • It is compatible with the EUPL 1.2 license
  • I have squashed any insignificant commits. (git rebase)
  • I have Signed Off all commits. (git commit --signoff)

What does this PR aim to accomplish?:

To improve the usability & readability of the login screen's Forgot Password box.

Currently, a user must specifically click on the + (plus) icon to reveal the hidden instructions, which can be confusing as it is common that a collapsed box's header and header text is interactive (for example, Bootstrap's Accordion component).

How does this PR accomplish the above?:

This adjusts the markup for the Forgot Password box to make the entire box header interactive (the text, whitespace and plus/minus icon). The previous behaviour of clicking the icon remains the same as does the icon changing between plus and minus depending on the collapsed status.

This also improves the readability of the forgotten password box's content with a small change in markup.

What documentation changes (if any) are needed to support this PR?:

None that I'm aware of.

This adjusts the markup for the Forgot Password box such that the entire
box header (the text, whitespace and plus/minus icon) is interactive.
Previous behaviour of clicking the icon remains the same.

This also improves the markup/spacing inside the box's content.

Signed-off-by: David Beitey <[email protected]>
Copy link
Member

@yubiuser yubiuser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your pull request. I tested it and it works as expected.

@yubiuser yubiuser added the PR: Approved Open Pull Request, Approved by required number of reviewers label Oct 5, 2021
@PromoFaux PromoFaux merged commit effcd90 into pi-hole:devel Oct 6, 2021
@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/pi-hole-ftl-v5-11-web-v5-8-and-core-v5-6-released/50566/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Approved Open Pull Request, Approved by required number of reviewers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants