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

Add text customization options for Login/Logout block #66956

Open
himanshupathak95 opened this issue Nov 13, 2024 · 0 comments · May be fixed by #66957
Open

Add text customization options for Login/Logout block #66956

himanshupathak95 opened this issue Nov 13, 2024 · 0 comments · May be fixed by #66957
Labels
[Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@himanshupathak95
Copy link

What problem does this address?

Currently, the Login/Logout block uses hardcoded text strings "Log in" and "Log out" without the ability to customize them. This creates limitations for:

  • Sites that need different wording (e.g., "Sign in"/"Sign out", "Enter"/"Exit")
  • Multilingual sites requiring custom translations
  • Brands wanting to maintain consistent voice and terminology across their site

What is your proposed solution?

Add customization options to the Login/Logout block that allow:

  1. Custom text input fields for both the login and logout states in the block settings sidebar
  2. Default values would remain "Log in" and "Log out" if no custom text is specified
  3. These settings should persist and be editable like other block attributes

This enhancement would improve flexibility for site builders while maintaining the simplicity of the block's core functionality.

@himanshupathak95 himanshupathak95 added the [Type] Enhancement A suggestion for improvement. label Nov 13, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant