Skip to content

Fixes #38737 - Update CardTemplate dropdown for PF5#10685

Merged
MariaAga merged 1 commit intotheforeman:developfrom
lfu:38185_dropdown_card_template
Sep 15, 2025
Merged

Fixes #38737 - Update CardTemplate dropdown for PF5#10685
MariaAga merged 1 commit intotheforeman:developfrom
lfu:38185_dropdown_card_template

Conversation

@lfu
Copy link
Contributor

@lfu lfu commented Sep 10, 2025

Followup of #10650

@lfu
Copy link
Contributor Author

lfu commented Sep 11, 2025

Test failure not related.

toggle={toggleRef => (
<MenuToggle
ref={toggleRef}
id="hostdetails-kebab"
Copy link
Member

Choose a reason for hiding this comment

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

There is already a component with this ID

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for catching this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@lfu lfu force-pushed the 38185_dropdown_card_template branch from d5d0359 to 6ebb6d5 Compare September 12, 2025 14:30
toggle={toggleRef => (
<MenuToggle
ref={toggleRef}
id="template-card-kebab"
Copy link
Member

Choose a reason for hiding this comment

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

Thinking about this, since its a template it might be used twice on the same page, can we just remove the id?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The same thought came to me but I ignored it :)

@lfu lfu force-pushed the 38185_dropdown_card_template branch from 6ebb6d5 to 114db89 Compare September 12, 2025 14:43
@MariaAga MariaAga merged commit 7212002 into theforeman:develop Sep 15, 2025
61 of 70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants