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

[#60359] Update FeedbackDialog slot names #17568

Merged

Conversation

myabc
Copy link
Contributor

@myabc myabc commented Jan 9, 2025

Ticket

https://community.openproject.org/work_packages/60359

What are you trying to accomplish?

Bumps Primer to 0.52.

FeedbackDialog slot names have been updated to be consistent with the DangerConfirmationDialog.

Upstream PR here: opf/primer_view_components#219

Renames the additional_content slot to additional_details to make Feedback Dialog consistent with the newly introduced Danger Confirmation Dialog.

ViewComponent defines a with_SLOT_NAME_content method for given slots. Using additional_content as a slot name results in a with_additonal_content_content method being generated - this makes for a poor API for component users.

Screenshots

End users should not see any visual changes.

What approach did you choose and why?

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@myabc myabc force-pushed the feature/60359-update-feedback_dialog-component-slots branch from b43579a to cc9db8f Compare January 13, 2025 12:28
@myabc myabc marked this pull request as ready for review January 13, 2025 12:29
@myabc myabc requested a review from HDinger January 13, 2025 12:29
Copy link
Contributor

@HDinger HDinger left a comment

Choose a reason for hiding this comment

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

Please also update this line. After that, good to merge 👍

@myabc myabc force-pushed the feature/60359-update-feedback_dialog-component-slots branch from cc9db8f to 823788e Compare January 13, 2025 14:23
myabc added 2 commits January 13, 2025 12:07
FeedbackDialog slot names have been updated to be consistent with the DangerConfirmationDialog.

https://community.openproject.org/work_packages/60359
@myabc myabc force-pushed the feature/60359-update-feedback_dialog-component-slots branch from 823788e to 038071d Compare January 13, 2025 15:07
@myabc myabc changed the base branch from dev to release/15.2 January 13, 2025 15:08
@HDinger HDinger merged commit ed6248a into release/15.2 Jan 13, 2025
12 checks passed
@HDinger HDinger deleted the feature/60359-update-feedback_dialog-component-slots branch January 13, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants