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

Pass data to Custom widgets from parent/other widgets like selected API id #2709

Open
vd94 opened this issue Oct 25, 2024 · 0 comments
Open
Labels
(t) Feature request Requests for new functionality and features. (t) Improvement Requests for iterative improvements on existing functionality. (u) Extensibility Issues specific to the custom extensibility of the portal.

Comments

@vd94
Copy link

vd94 commented Oct 25, 2024

Hi Team,

I am facing couple of issues for integrating custom react widget on developer portal and want some information around that.

I want to know how can we send selected api id from built in api details widget to our custom react widget to conditionally load data.
Also when we switch between selected APIs/operations on api details screen from built in api details widget, how the updated data can be sent to our custom widget.
Also the custom widget reserves a specific space on screen even if in widget code we set root element hidden based on condition, e.g. if we want a custom widget to be shown only for certain APIs/Operations and not for all then how this can be achieved dynamically.

I didn't find much info around these topics. It will be helpful to know.

Thank you!

@ygrik ygrik added (t) Improvement Requests for iterative improvements on existing functionality. (t) Feature request Requests for new functionality and features. (u) Extensibility Issues specific to the custom extensibility of the portal. labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(t) Feature request Requests for new functionality and features. (t) Improvement Requests for iterative improvements on existing functionality. (u) Extensibility Issues specific to the custom extensibility of the portal.
Projects
None yet
Development

No branches or pull requests

2 participants