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

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

myabc
Copy link
Contributor

@myabc myabc commented Jan 9, 2025

⚠️ WARNING: This requires upstream changes. Please review, merge and publish opf/primer_view_components#219 first.

Ticket

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

What are you trying to accomplish?

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, ...)

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

https://community.openproject.org/work_packages/60359
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant