isaozler / grafana-shift-selector

The shift selector allows you to adjust the time range of your grafana dashboard to one specific shift or a range of shifts.
Apache License 2.0
6 stars 6 forks source link

Date selection options #4

Closed baur closed 1 year ago

baur commented 2 years ago

Would be very nice if add the next options to Date selection

1. Optional text (localization)

image

    • Set default value
    • Show and hide option (hide the whole section and apply default value (if not null) else first value two dots).

image

isaozler commented 2 years ago

Hi Bauyrzhan, updated the plugin to have 3 options for the range buttons. You can set it to text, icon only or text and icon. Hope this helps.

image image image image
isaozler commented 2 years ago

You will also be able to localize the select day label as you wish through the panel options

baur commented 2 years ago

Thank you! good job!

In our case, only Start-End is relevant, so it would be cool if we can hide the section completely

image

and is it possible centerate date value and add right margin on text label?

image

isaozler commented 2 years ago

Knowing from other usecases that this should stay visible, will be leaving this issue open to see if there are others who need this

pax0r commented 1 year ago

+1 I would like to hide this option entirely if possible

isaozler commented 1 year ago

added the option to hide the date selector or just the range buttons from the panel (v0.1.1)