mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 08:09:27 +00:00
Design at: https://github.com/openobserve/designs/blob/main/dashboards/panel-level-time-range/design.md ### **PR Type** Enhancement, Documentation ___ ### **Description** - Add defaults for panel-level time settings in front-end - Extend backend PanelConfig with time range fields - Provide a comprehensive implementation guide document ___ <details> <summary><h3> File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>useDashboardPanel.ts</strong><dd><code>Add default panel time settings fields</code> </dd></summary> <hr> web/src/composables/useDashboardPanel.ts <ul><li>Added <code>allow_panel_time</code> default (false)<br> <li> Introduced <code>panel_time_mode</code> default ("individual")<br> <li> Initialized <code>panel_time_range</code> to null</ul> </details> </td> <td><a href="https://github.com/openobserve/openobserve/pull/10288/files#diff-fbba1700750053b9eaf38ddd30dab84531bc44131c795ebb713811e4930cd7cb">+3/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>mod.rs</strong><dd><code>Extend PanelConfig with time fields</code> </dd></summary> <hr> src/config/src/meta/dashboards/v8/mod.rs <ul><li>Added <code>allow_panel_time: Option<bool></code> to PanelConfig<br> <li> Added <code>panel_time_mode: Option<String></code> field<br> <li> Added <code>panel_time_range: Option<DateTimeOptions></code> field</ul> </details> </td> <td><a href="https://github.com/openobserve/openobserve/pull/10288/files#diff-cbf3fe971525ba58892400391dfd7dac7e43d6049d6b4f5a9840ad104ebc5e08">+12/-0</a> </td> </tr> </table></td></tr><tr><td><strong>Documentation</strong></td><td><table> <tr> <td> <details> <summary><strong>PANEL_TIME_RANGE_IMPLEMENTATION.md</strong><dd><code>Add panel time range implementation guide</code> </dd></summary> <hr> web/src/components/dashboards/PANEL_TIME_RANGE_IMPLEMENTATION.md <ul><li>Added detailed implementation guide (v3.0)<br> <li> Outlined requirements, UI, URL sync, testing<br> <li> Documented data flow, edge cases, and timeline</ul> </details> </td> <td><a href="https://github.com/openobserve/openobserve/pull/10288/files#diff-39b68cc51ce3089b41061b75e18c45448659cab57702dd39b01a9aad63598345">+2718/-0</a></td> </tr> </table></td></tr></tr></tbody></table> </details> ___ --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: ktx-akshay <akshay.patil@kiara.tech>