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

[7.2-stable] Use alchemy_display_name for page actor names #3030

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

alchemycms-bot
Copy link
Collaborator

Backport

This will backport the following commits from main to 7.2-stable:

Questions ?

Please refer to the Backport tool documentation

If you have a user class that does not implement
name (eg. `Spree::User` or a generic `User` class)
it would return `nil` for Page actor methods (creator,
updater, locker).

We already use `alchemy_display_name` for the current
logged in user displayed in the admin frame.

Using this for the Page actor methods to be consistant
and allow custom user classes to present a user by it.

(cherry picked from commit 00dd34e)
Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.02%. Comparing base (72f76cd) to head (727ded2).
Report is 6 commits behind head on 7.2-stable.

Additional details and impacted files
@@             Coverage Diff             @@
##           7.2-stable    #3030   +/-   ##
===========================================
  Coverage       96.02%   96.02%           
===========================================
  Files             233      233           
  Lines            6317     6317           
===========================================
  Hits             6066     6066           
  Misses            251      251           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tvdeyen tvdeyen merged commit 6d0a184 into 7.2-stable Sep 6, 2024
32 checks passed
@tvdeyen tvdeyen deleted the backport/7.2-stable/pr-3027 branch September 6, 2024 14:54
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.

2 participants