Migrate ultimate trial banner to VueComponent
What does this MR do and why?
Migrate close button on Trial callout banner to ButtonComponent
Related to #363989 (closed)
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Adjust
def render_dashboard_ultimate_trial(user)
to always show the callout
Patch
diff --git a/ee/app/helpers/ee/users/callouts_helper.rb b/ee/app/helpers/ee/users/callouts_helper.rb
index d5676d21960..d66ea7b813c 100644
--- a/ee/app/helpers/ee/users/callouts_helper.rb
+++ b/ee/app/helpers/ee/users/callouts_helper.rb
@@ -48,10 +48,10 @@ def show_migrate_hashed_storage_warning?
override :render_dashboard_ultimate_trial
def render_dashboard_ultimate_trial(user)
- return unless show_ultimate_trial?(user, ULTIMATE_TRIAL) &&
- user_default_dashboard?(user) &&
- !user.owns_paid_namespace? &&
- user.owns_group_without_trial?
+ # return unless show_ultimate_trial?(user, ULTIMATE_TRIAL) &&
+ # user_default_dashboard?(user) &&
+ # !user.owns_paid_namespace? &&
+ # user.owns_group_without_trial?
render 'shared/ultimate_trial_callout_content'
end
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Diana Zubova