From a1b641ca2dab5b0aa2d9c2adf7e61905490c0ff5 Mon Sep 17 00:00:00 2001 From: Alexander Brandon Coles Date: Fri, 10 Jan 2025 09:55:12 -0300 Subject: [PATCH] Harmonise FeedbackDialog preview template naming Makes naming of Feedback Dialog preview templates consistent with those used by newly introduced Danger Confirmation Dialog. --- previews/primer/open_project/feedback_dialog_preview.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/previews/primer/open_project/feedback_dialog_preview.rb b/previews/primer/open_project/feedback_dialog_preview.rb index c20262df70..3234f2c7ca 100644 --- a/previews/primer/open_project/feedback_dialog_preview.rb +++ b/previews/primer/open_project/feedback_dialog_preview.rb @@ -36,7 +36,7 @@ def playground(icon: :"check-circle", icon_color: :success, loading_state: false end # @label With additional details - def additional_details + def with_additional_details render_with_template(locals: {}) end @@ -52,7 +52,7 @@ def custom_icon end # @label With custom footer - def custom_footer + def with_custom_footer render_with_template(locals: {}) end