Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Conversation

@brrusselburg
Copy link
Contributor

@brrusselburg brrusselburg commented Feb 11, 2025

This aligns the assign plugin with the hidden setting prioritize_full_name_in_ux. When this setting is true, the user's full name will be shown (if it exists) instead of username.

Before

After

imagen

imagen

imagen

imagen

@brrusselburg brrusselburg force-pushed the br/full_name branch 2 times, most recently from 11ea0aa to 4b1671e Compare February 25, 2025 23:13
@jdmartinez1062 jdmartinez1062 marked this pull request as ready for review March 11, 2025 15:23
@jdmartinez1062 jdmartinez1062 requested a review from Grubba27 March 11, 2025 21:27
Comment on lines 134 to 145
topic_page.click_assign_post(post2)
assign_modal.assignee = staff_user
assign_modal.confirm

expect(assign_modal).to be_closed
expect(topic_page).to have_assigned_post(user: staff_user, at_post: 3)

find(".timeline-controls .toggle-admin-menu").click
find(".topic-admin-close").click

expect(find("#post_4")).to have_content(
I18n.t("js.action_codes.closed.enabled", when: "just now"),
Copy link
Contributor

Choose a reason for hiding this comment

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

This piece repeats a bit(3 times I think) we could do an abstraction on top of it

Copy link
Contributor

@Grubba27 Grubba27 left a comment

Choose a reason for hiding this comment

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

looks good, solid testing!

@jdmartinez1062 jdmartinez1062 merged commit ec8a785 into main Mar 14, 2025
6 checks passed
@jdmartinez1062 jdmartinez1062 deleted the br/full_name branch March 14, 2025 23:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants