CleverCloud / clever-components

Collection of Web Components by Clever Cloud
https://www.clever-cloud.com/doc/clever-components/
Apache License 2.0
215 stars 19 forks source link

cc-map & cc-logsmap: use a State API #1110

Open florian-sanders-cc opened 1 week ago

florian-sanders-cc commented 1 week ago

We've recently modified most of our components handling API data to standardize their API.

We did not modify the cc-map & cc-logsmap components at the time because it seemed a lot trickier.

There are issues with the types used within these files, for instances the Point type is incomplete because this data may have different shapes (see for instance the use of the cc-map component within the cc-zone-input component).