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

Utility Panel: Add a control to set pushContent property dynamically. #3086

Open
2 tasks done
saidinesh-ketha-0402 opened this issue Dec 17, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something is wrong and needs to be addressed external-request Bugs and features reported by individuals from other teams in Trimble

Comments

@saidinesh-ketha-0402
Copy link

Prerequisites

Describe the issue

Currently, dynamically setting the "pushContent" property via JavaScript or TypeScript is not working.

Sample code for error reproduction:

const panel: HTMLElement | null = document.querySelector('modus-utility-panel');
if (panel) {
        (panel as any).pushContent = (someCondition) ? true : false;
}

Probably the "watch" property of pushContent might not be implemented. There's a watch property for "expanded" attribute of utility-panel.

The issue might lie in the below file:

stencil-workspace/src/components/modus-utility-panel/modus-utility-panel.tsx

Reduced test cases

No response

What operating system(s) are you seeing the problem on?

No response

What browser(s) are you seeing the problem on?

No response

What is the issue regarding ?

@trimble-oss/modus-web-components

What version of npm package are you using ?

1.1.0

Priority

Medium

What product/project are you using Modus Components for ?

Modus Coder (p.k.a TDAAS)

What is your team/division name ?

Central Product Development

Are you willing to contribute ?

None

Are you using Modus Web Components in production ?

No response

@saidinesh-ketha-0402 saidinesh-ketha-0402 added the bug Something is wrong and needs to be addressed label Dec 17, 2024
Copy link

Hello @saidinesh-ketha-0402! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

@github-actions github-actions bot added the external-request Bugs and features reported by individuals from other teams in Trimble label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong and needs to be addressed external-request Bugs and features reported by individuals from other teams in Trimble
Projects
Status: In Review
Development

No branches or pull requests

1 participant