Azure / Azure/api-management-developer-portal
Access to the ko object from widgets
- Dominant language
- TypeScript
- Stars
- 545
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
## Bug description
Would be nice when we have access to the ko objects in widgets and use some posibility to use ko template engine.
For example
On API Details page we have a API Details widget, but some of them components are not necessary and we should write a custom widget to display API Display Name only.
In this page we already have a API objects and we may in Text widget write something
On api-management-developer-portal/src/components/apis/details-of-api/ko/runtime/api-details.html component we have a code
```
Changelog
```
or
``
Would be nice when we have a something like this on the pages instead of each time to create a simple custom widgets to dispay one field that already loaded object,
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with api-management-developer-portal/src/components/apis/details-of-api/ko/runtime/api-details.html and compare its data-bind usage with how widgets are rendered. Trace the existing widget and page-template entry points to determine whether loaded API objects and the Knockout template engine are exposed there. Done means a widget can use the requested API field without a separate custom widget, with the behavior covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100