I added a auto sync button which will automatically trigger the sync function of sync button with time period selected by user.
Which is similar to Grafana's page.
Also, I tried to use Dropdown.Button which is provided by AntD. But get some problems.
Generally, currently we are using 4.10.2 but AntD v4 already 4.24.0. And unfortunately the Dropdown.Button is not working well on 4.10.2.
The issue is: in 4.10.2, I looks the Dropdown.Button not support "loading", so the loading icon and loading style need to customize a lot.
At the same time, if I upgrade the AntD, then the page style will be messed up.
In this case, I will not try to upgrade it for this feature and will use an independent dropdown component for this feature.
Hi,
I added a auto sync button which will automatically trigger the sync function of sync button with time period selected by user. Which is similar to Grafana's page.
Also, I tried to use Dropdown.Button which is provided by AntD. But get some problems. Generally, currently we are using 4.10.2 but AntD v4 already 4.24.0. And unfortunately the Dropdown.Button is not working well on 4.10.2. The issue is: in 4.10.2, I looks the Dropdown.Button not support "loading", so the loading icon and loading style need to customize a lot. At the same time, if I upgrade the AntD, then the page style will be messed up. In this case, I will not try to upgrade it for this feature and will use an independent dropdown component for this feature.