Feature Description
In addition to how it is currently implemented, it would be useful to:
The http endpoint should return only json data, such as balance, percentage change, chart points, and timestamps.
All rendering and interface composition logic should remain within the widget.
Widget → HTTP Request → JSON Data → Rendering nel Widget
Problem Statement
The main problem with this approach is that the server must know the widget's internal structure and handle rendering.
If the APIs were exposed by a site developed in php, laravel, or any other backend technology, it wouldn't be possible to generate the widget using voltra on the server without replicating all the rendering logic and necessary dependencies.
It would be preferable for the server to simply return the data in json format, regardless of the technology used.
This way, any backend could provide the requested data, while the widget would handle interpreting and rendering it autonomously.
Edit:
Also it seems that VoltraWidgetUpdateWorker only allows making GET calls.
Proposed Solution
No response
Alternatives Considered
No response
Current Library Version
1.4.1
Implementation
Additional Context
No response
Feature Description
In addition to how it is currently implemented, it would be useful to:
The http endpoint should return only json data, such as balance, percentage change, chart points, and timestamps.
All rendering and interface composition logic should remain within the widget.
Widget → HTTP Request → JSON Data → Rendering nel WidgetProblem Statement
The main problem with this approach is that the server must know the widget's internal structure and handle rendering.
If the APIs were exposed by a site developed in
php,laravel, or any other backend technology, it wouldn't be possible to generate the widget usingvoltraon the server without replicating all the rendering logic and necessary dependencies.It would be preferable for the server to simply return the data in
jsonformat, regardless of the technology used.This way, any backend could provide the requested data, while the widget would handle interpreting and rendering it autonomously.
Edit:
Also it seems that
VoltraWidgetUpdateWorkeronly allows making GET calls.Proposed Solution
No response
Alternatives Considered
No response
Current Library Version
1.4.1
Implementation
Additional Context
No response