Skip to content

fix: APD-1031 beetleIcon="hide" not working in opc-feedback component#905

Closed
shwaghma wants to merge 3 commits into
1-Platform:masterfrom
shwaghma:opc-local
Closed

fix: APD-1031 beetleIcon="hide" not working in opc-feedback component#905
shwaghma wants to merge 3 commits into
1-Platform:masterfrom
shwaghma:opc-local

Conversation

@shwaghma

Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@shwaghma As this PR only contains changes for the opc-feedback component, can you revert this file?

Comment on lines -167 to -190
get renderIcon() {
if(this.beetleIcon !== "hide"){
const isModelOpen =
this._openFeedbackModal ||
this._openConfirmationModal ||
this._openInitialModal ||
this._openBugModal;
if (!isModelOpen) {
return html`<img
src=${beetleIcon}
width="20px"
height="20px"
id="beetleIcon"
alt="beetle"
class="pf-u-mr-xs"
/>`;
}
return html`<ion-icon
name="${isModelOpen ? 'ellipsis-horizontal-outline' : 'chatbox-ellipses'}"
class="pf-u-font-size-xl pf-u-mr-xs"
>
</ion-icon>`;
}
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@shwaghma the issue is to fix the problem with the beetleIcon="hide".

This will just remove the icon completely.

This is a reusable web component, where the adopters can choose to show/hide it depending on their use case.

Can you revert this and look into the issue where they are not able to hide the icon?

@shwaghma shwaghma closed this Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants