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

change messages in button menu #2250

Merged
merged 5 commits into from
Oct 18, 2024
Merged

Conversation

helihard
Copy link
Collaborator

Description

This PR shortens overtly expressive messages relating to the Create Activity button.

Changes

Changes the text of the Create Activity button to "Create"
Changes the "Create" menu item messages from "Create [activity]" to "[activity]"

Related issues

Resolves #2241

@richardolsson
Copy link
Member

Nice work! Would love to merge, but there's a conflict. Are you able to resolve it (or optionally, pull the latest main and reapply your work in a new branch and a new PR)?

@helihard
Copy link
Collaborator Author

Damn am I rusty … Will fix conflict.

Copy link
Member

@richardolsson richardolsson left a comment

Choose a reason for hiding this comment

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

Nice work sorting the merge conflict!

I've tried the preview build, and I'm afraid it's not working. The old strings are still being rendered in the UI. This is probably because the en.yml file contains the old translations.

This highlights a problem with changing the default text for a message (in messageIds.ts) that I didn't think about when I first saw the PR. If we just update the default text, translators will not know that they need to update the localized strings.

The best thing to do would be to move the messages to get another name. Which makes sense for another reason as well. It's kind of weird that these messages are in some arbitrarily named linkGroup scope, alongside public and settings which are not part of the same drop-down.

Maybe they can be added to a separate group called something like createButton next to linkGroup (but beware of alphabetical order)?

@helihard
Copy link
Collaborator Author

Sure!

Copy link
Member

@richardolsson richardolsson left a comment

Choose a reason for hiding this comment

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

Nice work getting to the bottom of this! 💯

@richardolsson richardolsson merged commit 7d03e18 into main Oct 18, 2024
6 checks passed
@richardolsson richardolsson deleted the issue-2241/activity-creation-ui branch October 18, 2024 04:53
@richardolsson
Copy link
Member

I squashed and merged, so that all of the commits in this PR are "compacted" into a single commit in main: 7d03e18

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

Successfully merging this pull request may close these issues.

Activity creation flow has redundant UI text
2 participants