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-logs-application-view: dispatch event when date range selection changes #1074

Closed pdesoyres-cc closed 2 weeks ago

pdesoyres-cc commented 3 weeks ago

Context: We want to be able to store and restore the date range selection set by the user.

The first thing to do is to dispatch an event when the date range selection changes.

As of now, an event is dispatched when the date range changes. It's ok, but with that we only have the date range {since/until}. Now we want to have the date range selection which is an object like: {type: 'live'} or {type:'predefined', def: 'lastHour'} ...

pdesoyres-cc commented 3 weeks ago

see #1075