Skip to content

Conversation

@dterrahe
Copy link
Member

Implements suggestion in https://discuss.pixls.us/t/small-improvement-in-modules-instance-naming/54795/4

When a preset is applied to a module, it's name is added as the instance name to the module (if one wasn't set manually). Then when any change is made, the instance name is reset to empty, This PR keeps the name of the last applied preset as the instance name, but marks it with an asterix if any further changes are made.

Other ways of marking (different prefix or postfix characters) can be easily implemented in dt_util_localize_segmented_name even when internally keeping the "*" prefix (which doesn't conflict with translation markers; postfix markers would be more complicated to deal with internally).

This also includes the simplifications of dt_util_localize_segmented_name suggested here #19459 (comment)

@dterrahe dterrahe added the priority: low core features work as expected, only secondary/optional features don't label Dec 20, 2025
@TurboGit TurboGit added feature: enhancement current features to improve scope: UI user interface and interactions labels Dec 21, 2025
@TurboGit TurboGit added this to the 5.6 milestone Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: enhancement current features to improve priority: low core features work as expected, only secondary/optional features don't scope: UI user interface and interactions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants