Commit Graph

198 Commits

Author SHA1 Message Date
Andrew df7840c041
chore: Added translate functions (#21816) 2022-10-19 09:54:16 +08:00
Yongjie Zhao f41d0b0cbf
fix: drilling on the categorical xaxis on the stacked barchart v2 (#21844) 2022-10-18 19:47:53 +08:00
Stephen Liu 7a7181a244
feat(color): color consistency enhancements (#21507) 2022-10-17 17:01:20 +08:00
Yongjie Zhao 8f61e3c5d9
refactor: preparation for time section migration (#21766) 2022-10-12 08:38:30 +08:00
Kamil Gabryjelski 406e44bba1
perf(dashboard): Virtualization POC (#21438) 2022-10-11 15:06:00 +02:00
Shubham Sinha 20b9dc8444
feat(embedded-dashboard): Share Switchboard State for Sending Events from Plugins (#21319) 2022-10-10 16:27:43 +03:00
Jakob Miksch ca3abffb81
docs: wording in template (#21491) 2022-10-07 15:21:39 -03:00
Michael S. Molina 1cbf066415
feat: Adds the CROSS_REFERENCE feature flag (#21708) 2022-10-06 08:53:51 -03:00
Victor Arbues ebd75366c0
feat(chart): add feature flag that displays the data pane closes by default (#21649) 2022-10-05 15:34:03 +08:00
Evan Rusackas 4245bc3f38
chore(style): Enforce optional chaining (#21614) 2022-10-03 09:17:20 -06:00
JUST.in DO IT 157482955e
chore: avoid undefined property on `Global` type (#21631) 2022-10-03 10:51:55 +08:00
Stephen Liu 61bd696226
fix(plugin-chart-echarts): boxplot throw error in the dashboard (#21661) 2022-10-01 08:53:29 +08:00
Yongjie Zhao 4c17f0e71e
fix: time grain can't be removed in explore (#21644) 2022-09-30 23:15:19 +08:00
Yongjie Zhao 93f08e778b
feat: explicit distribute columns on BoxPlot and apply time grain (#21593) 2022-09-28 15:32:35 +08:00
Evan Rusackas 23cd5c90cf
chore: removing '.git' from web url references in Yeoman generator's package.json (#21611) 2022-09-27 22:29:26 -06:00
Yongjie Zhao f4646f8edb
feat: adding XAxis to BigNumberTrend (#21577) 2022-09-26 20:14:17 +08:00
Yongjie Zhao e671d80209
feat: support multiple time columns with time grain in Pivot Table v2 (#21537) 2022-09-22 21:56:10 +08:00
Yongjie Zhao 4d12e3709e
feat: generate consistent QueryObject whether GenericAxis is enabled or disabled (#21519) 2022-09-21 09:41:21 +08:00
Yongjie Zhao 2d16100dbc
refactor: get Axis from a helper function (#21449) 2022-09-16 15:57:45 +08:00
Yongjie Zhao 33509ab7da
fix: BigQuery cannot accept Time Grain (#21489) 2022-09-16 15:19:24 +08:00
Cody Leff 324e9979fa
fix(explore): Fix generic X-axis time grain disappearing (#21484) 2022-09-16 14:09:17 +08:00
Stephen Liu 1c0bff3dfb
fix: revert #21356(able to sort bar on the bar chart V2) (#21481) 2022-09-16 09:06:12 +08:00
Cody Leff 2285ebe72e
fix(explore): Prevent shared controls from checking feature flags outside React render (#21315) 2022-09-14 20:41:47 +02:00
Yongjie Zhao ae6d2cf18d
fix: hide time_grain when x_axis value is undefined (#21464) 2022-09-14 19:03:49 +08:00
John Bodley eac6fdcd29
chore(sqllab): Cleanup /tables/... endpoint (#21284) 2022-09-13 08:22:12 -07:00
Stephen Liu 59437ea6e7
feat(plugin-chart-echarts): able to sort bar on the bar chart V2 (#21356) 2022-09-13 23:09:09 +08:00
Yongjie Zhao eb4ba5b089
fix: should be able to remove selection from X-AXIS control (#21371) 2022-09-13 21:05:07 +08:00
Yongjie Zhao ce3d38d2e7
feat: apply Time Grain to X-Axis column (#21163) 2022-09-07 16:24:15 +08:00
Stephen Liu a27c7ae7d0
chore: upgrade yeoman-generator to fix security warnings (#21324) 2022-09-06 17:55:55 +08:00
Cody Leff 742dbdd0a5
fix: Fix console errors about feature flags when running tests (#21275) 2022-09-01 12:42:07 -03:00
Michael S. Molina 1143e17742
fix: Typing of labelMap (#21181)
* fix: Typing of labelMap

* Adjusts val types
2022-08-26 08:22:57 -03:00
Cody Leff 5811262cf2
Add warnings if feature flags are read before initialization. (#21201) 2022-08-25 16:53:18 -06:00
Cody Leff 52648ecd7f
feat(dashboard): Add Drill to Detail modal w/ chart menu + right-click support (#20728)
* Add drill-to-detail modal.

* Include additional filters from dashboard context in request.

* Set page cache size to be approximately equal to memory usage of Samples pane.

* Update getDatasourceSamples signature.

* One-line import/export.

* Fix incorrect argument order in getDatasourceSamples invocation.

* Fix height of modal.

* Disable option in chart menu unless feature flag is set.

* Open modal on right-click.

* Fix double requests on modal open, controls disappearing on filter update.

* Show formattedVal in clearable filter tag.

* Set force=false for all requests.

* Rearrange/refactor DrillDetailPane.

* Reset page index on reload.

* Fix endless re-requests on request failure.

* Fix modal layout issues.
2022-08-22 15:57:18 -07:00
Michael S. Molina 0bf4e56dc3
fix: Drill to detail on values with comma (#21151) 2022-08-22 13:52:39 -03:00
Antonio Rivero Martinez bdcc0a9bcf
fix(charts): Hide Values greater than Max Y Axis Bound on Mixed Time Series with Bar series (#21015)
* Mixed TimeSeries:

- When Bar chart is used as serie type, we need to hide values that are greater than the max Y Axis Bound.

* Mixed Time Series:

- Simplify logic for getOverMaxHiddenFormatter

* Mixed Time Series:

- Add tests for new getOverMaxHiddenFormatter util func
2022-08-22 08:55:09 -06:00
Yongjie Zhao fea68ef23c
fix: resample method shouldn't be freeform (#21135) 2022-08-22 15:42:46 +08:00
Kamil Gabryjelski 55304b02cd
fix(explore): Filters with custom SQL disappearing (#21114)
* fix(explore): Filters with custom SQL disappearing

* Fix adhoc filter for query b disappearing

* Improve test coverage
2022-08-17 22:15:41 +02:00
Moriah Kreeger 83dd85166f
feat: add extension point for workspace home page (#21033)
* updates to allow insertion of workspace home sidescroll/table UI

* fix types

* fix User type import

* add welcome message to ui registry

* add extra fields to individual chart/query GET results (for workspace home required info)

* update list view card to support a subtitle

* add id to individual chart fetch

* update chart api test

* another test fix

* fix saved query test

* update extension types + insert point

* fix typing

* fix type name
2022-08-15 12:16:40 -07:00
Jack Fragassi 394d62ee51
Add embedded docs config details to extensions registry (#21052) 2022-08-12 16:33:21 -07:00
JUST.in DO IT 2d1ba46844
fix(plugin-chart-echarts): missing value format in mixed timeseries (#21044) 2022-08-11 12:33:59 -07:00
JUST.in DO IT a8ba544e60
fix(plugin-chart-echarts): invalid total label location for negative values in stacked bar chart (#21032) 2022-08-11 11:28:18 -07:00
Eric Briscoe ab6ec89f68
fix: [sc-54864] Adds safety check to provide near term fix to save query (#21034)
* [sc-54864] Adds safety check to provide near term fix for Queries not saving

There is an error when casting the columns array to String() for saving queries where the objects in the array are missing the toString method.   This is a near term rapid patch to fix workflow in production which will have a follow up to identify root cause.

* fix typo

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Adjusted chekc to be explicit for undefined instead of truthy

This fixes issue caught by unit test where the if statement was using a truthy check where it should be explicitly checking for value of undefined

* Adds new unit test to get 100% coverage for callApi

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-08-10 10:33:47 -07:00
Michael S. Molina 3df8335f87
feat: Adds drill to detail context menu for ECharts visualizations (#20891)
* feat: Adds drill to detail context menu for ECharts visualizations

* Rebases and adds time grain

* Fixes selected gauge values

* Fixes Treemap edge click

* Adds right click to big number trendline

* Address some comments
2022-08-09 17:02:31 -03:00
JUST.in DO IT 9114175db2
fix(plugin-echart-timeseries: legend trancated on show extra controls (#21017) 2022-08-09 16:12:00 +08:00
Elizabeth Thompson 463406ff09
fix: save dataset and repopulate state (#20965)
* save dataset and repopulate state

* disable dashboard button if dataset is missing

* fix error message

* fix tests
2022-08-05 14:32:49 -07:00
Sam Faber-Manning 226712d831
feat: add 'dashboard.nav.right' extension to registry (#20835)
* add 'dashboard.nav.right' extension to registry

* add test
2022-08-04 15:24:34 -07:00
Just[in]Do it! 3f124d9d67
fix(plugin-chart-pivot-table): Invalid Formats Date Fields (#20909)
When a custom date field value converted in a string format, some aggregators truncated to the first four digits.
 This is caused by the parseFloat function which converts to first matched number rather than NaN(Not-A-Number) value.
 This commit replaces the parseFloat by Number wrapper to handle this case correctly.
2022-07-28 22:56:08 -07:00
Geido a69f016bca
chore: Feature flag for embedding charts (#20804)
* Add EMBEDDABLE_CHARTS feature flag

* Pretty

* Update test
2022-07-26 17:55:44 +03:00
Yongjie Zhao 55a89dfac9
feat: a simple LRUCache in frontend (#20842) 2022-07-26 15:02:10 +08:00
Kamil Gabryjelski 5c2c2e8040
feat(explore): UX changes in fast viz switcher (#20848)
* feat(explore): UX changes in fast viz switcher

* Fix test
2022-07-26 08:44:17 +02:00