noticed that I had not used the http server as the entry point for server tests.
This was work to make that happen. Along the way, found a bunch of issues I hadn't
seen before 🤦. There are a number of changes tucked away inside the
other types, that make it possible to encode/decode a type with zero value for
influxdb.ID.
fix(ui): adding times in script editor will default start and endtime for timerange queries, compute timeranges based on script and based on widest date range & fix dashboard so that cells that have been saved with timerange scripts are based on those timeranges
* chore(flux): update flux functions list for flux 0.56
* added http.post function to flux functions list
* fix(fluxFunctions): change aggregateWindow example to use variable
* updated and simplified example window function in flux function list
* removed unnecessary newline from window function example
* added date-time format for start and stop DeletePredicateRequest
* fixed malformed reference to ViewProperties in PkgChart model
* define separate model for RetentionRule as is in Organizations, Buckets, Labels
* "labels" property from Check and PostCheck should be part of CheckBase (it is ancestor for all Check types)
* "labels" property from NotificationRule and PostNotificationRule should be part of NotificationRuleBase (it is ancestor for all NotificationRule and types)
* "labels" property from NotificationEndpoint and PostNotificationEndpoint should be part of NotificationEndpointBase (it is ancestor for all NotificationEndpoint and types)
* The url property of HTTPNotificationRuleBase should not be required
* Added query link for CheckBase and NotificationRuleBase
* chore(ui): Remove unused references to timeRange
* chore(ui): Add comment to timerange to duration function
* chore(ui): Fix getTimeRangeVars.test
* Refactor getTimeRangeVars.ts
* chore(ui): Remove references to zoomed time range
* chore(ui): Remove unused set dashboard time range v1 action
* chore(ui): Add preliminary timeRange types
* chore(ui): Add init pass at reasonable timeRange constants
* chore(ui): Finish Remove unused set dashboard time range v1 action
* fix(ui): Conver redux ranges state to object from array
* chore(ui): Read from and write to ranges local storage
* chore(ui): Reorder imported things
* chore(ui): Add typing to timeRanges from query params and localstorage
* chore(ui): Fix Dashboard and DE Time Range Dropdown
* chore(ui): Fix check timeRange
* chore(ui): Convert duration time Ranges to custom for time range dropdown
* chore(ui): Convert delete with predicate timeranges to TimeRange types
* chore(ui): Convert predicates timeRange to custom
* chore(ui): fix ValidateAndType bug
* fix(ui): Fix show bucketname in delete data form
* fix(ui): Allow timeRange to handle all duration time Ranges
* chore(ui): Separate DeleteDataOverlay update logic
* fix(ui): Fix deletedata overlay dismiss routing
* chore(ui) cleanup
* chore(ui): Allow timeRange dropdown to work with no prior timeRange selection
* chore(ui): Remove unused import
* fix(ui): Fix time Ranges tests
* fix(ui): Fix tests
* fix(ui): Fix tests
* fix(ui): Extract label creation function and use where needed
* fix(ui): Fix predicate testing
* fix(ui): Fix prettier issue
* chore(ui): Refactor duration.ts
* chore(ui): Remove labels from timeRange
* chore(ui): Return label for selectable-duration label
* chore(ui): Resolve merge error
* chore(ui): Make tests more robust
* feat(ui): protect query params access with get
* chore(ui): Add comment to warn against regex behavior
* Apply prettier to predicates.test
note: tests are seriously borked here. Cannot reuse any existing testing
as the setup is very particular and the http layer doesn't suppport everyting.
that being said, there are goign to be implicit testing in the
`launcher/pkger_test.go` file. This feels broken, and probably needs to be
readdressed before we GA a 2.0 influxdb....
* fix(e2e): flakey query builder test
* test(e2e): run test 50 times
* test(e2e): run update label test 50 times
* fix(e2e): visit page after creation
* chore(e2e): run test once
* fix(e2e): run update label test once