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

UX: Group membership PMs thread #26974

Merged
merged 2 commits into from May 22, 2024
Merged

Conversation

brrusselburg
Copy link
Contributor

@brrusselburg brrusselburg commented May 10, 2024

Slight alteration on group request messaging per this meta post.

Instead of creating two separate Topics when a user (1) requests to join a group and (2) gets accepted in, this makes the acceptance message into a Post under the origin group request Topic.

Screenshot 2024-05-10 at 5 43 17 PM

@CLAassistant
Copy link

CLAassistant commented May 10, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the i18n PRs which update English locale files or i18n related code label May 10, 2024
@@ -638,7 +638,6 @@ en:
request_membership_pm:
title: "Membership Request for @%{group_name}"
request_accepted_pm:
title: "You've been accepted into @%{group_name}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since this is no longer a Topic, the title field here is not needed. Slashed this one for the PR, but leaving the others for now in case we don't want to take these out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pmusaraj Should I remove this line from the other ymls?

Copy link
Member

Choose a reason for hiding this comment

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

@pmusaraj Should I remove this line from the other ymls?

No, removing it from the English locale file is enough. The other locale files are updated automatically.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Awesome, thank you!

@brrusselburg brrusselburg marked this pull request as ready for review May 10, 2024 23:24
@brrusselburg brrusselburg force-pushed the br/group_messages branch 2 times, most recently from 33f4820 to 320ccf3 Compare May 14, 2024 17:31
Copy link
Contributor

@pmusaraj pmusaraj left a comment

Choose a reason for hiding this comment

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

This is ready to merge @brrusselburg, thank you, just left a few minor comments.

spec/requests/groups_controller_spec.rb Outdated Show resolved Hide resolved
app/controllers/groups_controller.rb Outdated Show resolved Hide resolved
spec/requests/groups_controller_spec.rb Outdated Show resolved Hide resolved
@brrusselburg
Copy link
Contributor Author

Seeing the failures; I'll fix them after I finish eating 🫡

@pmusaraj
Copy link
Contributor

Thanks @brrusselburg, this is looking great, time to merge! Nice work!

@pmusaraj pmusaraj merged commit e42ba6e into discourse:main May 22, 2024
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n PRs which update English locale files or i18n related code
4 participants