Change sortingHat to sort by a single (last clicked) column
Change sortingHat to sort by a single (last clicked) column
Created tests for TasksList
Create dummyData.ts in src/tasks instead of using the mocks/dummyData
Added IndexList instead of using table header on Dashbaord
Test snapshot
Co-authored-by: Palak Bhojani <palak@influxdata.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Since the `id` was not preserved when switching view types, attempting
to save a view after changing its type would result in a new view being
created rather than the existing view being updated.
Also fixes an issue where a dygraph would not rerender when switching
from a step plot to line plot, or during similar conversions.
feat(platform): add ToPermissions method to user resource mapping
The ToPermissions method returns a set of permissions that is granted
via a user resource mapping.
feat(bolt): resolve sessions permissions on lookup
feat(http): use authorizer instead of authorization service for write api
feat(bolt): create user resource mappings for org users in bucket create
feat(bolt): create user resource mapping for first org/user
fix(platform): use authorizer for query endpoint instead of authorization
test(http): use cmp instead of reflect for decode test
Setting the initial `TimeMachine` state of the VEO after the VEO was
opened caused a double render in the `TimeSeries` component. This
created an issue where opening the VEO for a cell after the VEO had
previously been open would display the incorrect loading state (since
the `TimeSeries` component displays a special loading state for the
initial render).
This commit ensures the initial `TimeMachine` state for the VEO is set
before the VEO is opened.
* Create TaskOptions type and actions/reducers
* Add prevent default event handling to Dropdown click functions
* Improve utility of ComponentSpacer
* Create components for task option unit and org dropdowns
* Replace ActionTypes enum with hard-coded strings in tasks actions
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>