Remove static "Hint:" prefix

Created on 21 January 2025, about 2 months ago

Problem/Motivation

Hi and thank you very much for this wonderful module, which is extraordinarily well-designed and flexible.

There's just one little thing I don't really like and think it would be better to remove: The "Hint:" text being output statically as prefix for the password hint.

The point is: If you want to add a "Hint:" prefix, you could simply write that into the password hint. But currently there's no easy way to remove it.

And in our case, it's more disturbing and confusing than helpful.

So would you agree that it could be removed?
An update hook could then add it as prefix of the password hint, if it should be 100% backwards-compatible.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Anybody
  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇩🇪Germany Anybody Porta Westfalica
  • 🇫🇷France Grimreaper France 🇫🇷

    Hi,

    Thanks for your feedbacks.

    As it is in a template, I would have guessed people would override the template to remove it if needed.

    Ok to remove it, if:
    - there is an update hook
    - let's put "hint:" as default value when configuring the formatter?

  • 🇩🇪Germany Anybody Porta Westfalica

    As it is in a template, I would have guessed people would override the template to remove it if needed.

    Right, as written above I just think it's unnecessarily hard for site owners / managers and has no real benefit. You could simply add the word, if needed, but can't remove it without code currently.

    - there is an update hook

    Sure!

    - let's put "hint:" as default value when configuring the formatter?

    You decide! We can do that, but I'd vote to only do that for existing sites in the update hook and leave it empty. The labels / description should do the job and if it's not enough we could use a #prefix. I don't really see a good reason for that word, but that's just my personal opinion. Please think about it and let me know about your final decision :)

    We'll finish this afterwards.

  • 🇫🇷France Grimreaper France 🇫🇷

    I think this word is a legacy from Protected Node but not sure.

    Ok for existing websites, and empty for new installs.

  • 🇩🇪Germany Anybody Porta Westfalica

    Fine! We'll do that! :)

Production build 0.71.5 2024