Commit Graph

5467 Commits

Author SHA1 Message Date
Hugh A. Miles II
882bfb67ae
fix: gsheets editing with dynamic forms (#21710) 2022-10-06 19:57:12 -07:00
Antonio Rivero Martinez
97273f59f8
fix(database): Handle String errors in DatabaseModal (#21709) 2022-10-06 11:01:22 -07:00
Michael S. Molina
eb2a1345a8
fix: Drill to detail formatted val on TableChart (#21719) 2022-10-06 14:45:09 -03:00
Michael S. Molina
1cbf066415
feat: Adds the CROSS_REFERENCE feature flag (#21708) 2022-10-06 08:53:51 -03:00
Michael S. Molina
770f68f5b1
fix: Right-click on misconfigured World Map (#21697) 2022-10-06 08:23:40 -03:00
Geido
7b66e0bb34
chore: E2E tests for Drill to Detail supported Charts (#21681) 2022-10-05 19:54:51 +03:00
Geido
de444d4de6
fix: Race conditions with setupExtensions (#21647) 2022-10-05 12:38: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
JUST.in DO IT
50cb396bf2
fix(sqllab): async query broken due to #21320 (#21667) 2022-10-05 15:23:40 +08:00
Kamil Gabryjelski
2907869c26
feat: Use SPA navigation between AddSlice and Dataset list pages (#21683) 2022-10-04 13:52:21 +02:00
Kamil Gabryjelski
f784455264
fix(native-filters): Range filter max/min default display value (#21680) 2022-10-04 13:26:47 +02:00
Daniel Vaz Gaspar
3057e4270c
feat: deprecate created_slices API endpoint (#21664)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-10-04 09:13:11 +01:00
Evan Rusackas
4245bc3f38
chore(style): Enforce optional chaining (#21614) 2022-10-03 09:17:20 -06:00
Anthony Gainor
3edc656f20
fix(explore): Dashboard list is unsorted in save modal (#21317)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-10-03 17:16:35 +03:00
JUST.in DO IT
8d1b7ecfde
fix(sqllab): perf regression on #21532 refactor (#21632) 2022-10-03 11:00:53 +08: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
Anthony Gainor
1d70079f71
fix(dashboard): Change text and icons in dashboard editmode (#21305)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
Co-authored-by: geido <diegopucci.me@gmail.com>
2022-09-30 17:36:11 +03:00
Kamil Gabryjelski
eeb979c150
chore: Create dashboard with tier 1 and tier 2 charts (#21551) 2022-09-30 14:14:26 +03:00
Michael S. Molina
b2a360fa14
fix: Switch tab on drag hover (#21648) 2022-09-30 08:09:05 -03:00
Michael S. Molina
6af35a7d98
fix: Selected tab after save and go to dashboard (#21630) 2022-09-30 08:07:01 -03:00
Bryan Thomas
f83af88fc7
feat: Added latin america countries to country map (#21352) 2022-09-30 12:47:01 +03:00
Yongjie Zhao
9dd102f383
refactor: remove useless groupby from QueryObject (#21643) 2022-09-30 11:53:54 +08:00
dependabot[bot]
f3465f5b22
chore(deps): bump minimist from 0.0.5 to 1.2.6 in /superset-frontend (#21654)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-29 15:54:28 -06:00
Rui Zhao
7f971b4103
fix(report): Fix permission check for set up email report on charts/dashboards. Fixes #21559 (#21561)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-09-29 14:22:32 -07:00
Michael S. Molina
0dda5fe1cf
feat: Adds the MetadataBar to the Explore header (#21560) 2022-09-29 14:34:57 -03:00
jayakrishnankk
b787c3fef4
feat(embedded): +2 functions: getDashboardPermalink, getActiveTabs (#21444)
Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
2022-09-28 20:03:30 -07:00
Antonio Rivero Martinez
71bf267307
fix(sqllab): SqlEditorLeftBar listening to database changes (#21628) 2022-09-28 19:22:09 -04:00
Stephen Liu
ab53d77aba
fix(dashboard): fix Pivot Table V2 dragPreview in the dashboard (#21539) 2022-09-28 22:10:38 +08:00
Mayur
60bab4269f
fix(table-chart): don't color empty cells in table chart with color formatters (#21501) 2022-09-28 16:16:12 +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
EugeneTorap
15c3c34268
chore: refactor AceEditorWrapper to functional component (#21532) 2022-09-27 18:04:34 -06:00
dependabot[bot]
b8c1aa5ff2
chore(deps): bump node-forge and webpack-dev-server in /superset-frontend (#21169)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 15:11:42 -06:00
Reese
e3ddd0bdd5
fix: Dataset duplication fatal error (#21358) 2022-09-27 13:02:37 -07:00
Michael S. Molina
bb1cf7f145
refactor: Organizes the Select files (#21589) 2022-09-27 08:38:06 -03:00
Stephen Liu
24412e282d
fix(dashboard): dashboard doesn't load properly if it has tabs (#21576)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-09-27 09:25:01 +08:00
JUST.in DO IT
2cdd88aa4f
chore(dashboard): Add filter_scopes warning message for json metadata editor (#21543)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2022-09-26 15:05:41 -07:00
Cody Leff
954fc89871
fix(explore): Fix datasource switch for table chart (#21544) 2022-09-26 10:39:28 -07:00
Antonio Rivero Martinez
b36bd3f083
fix(databases): GSheets and Clickhouse DBs are not allowed to upload files (#21065) 2022-09-26 10:08:11 -07:00
Mayur
73429c6b2a
fix(dashboard): show correct roles for dashboard access dropdown (#21549) 2022-09-26 11:23:38 -03:00
Yongjie Zhao
f4646f8edb
feat: adding XAxis to BigNumberTrend (#21577) 2022-09-26 20:14:17 +08:00
AAfghahi
c4638fa2b9
feat: Dataset Creation Footer Component (#21241)
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
2022-09-23 18:40:10 -05:00
dependabot[bot]
4913da1511
chore(deps): bump moment-timezone from 0.5.33 to 0.5.37 in /superset-frontend (#21565)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 14:11:39 -06:00
JUST.in DO IT
e2b77a7543
fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21316) 2022-09-23 14:28:42 -03:00
Yongjie Zhao
d67b04683c
feat: support multiple columns with time grain in Table Chart (#21547) 2022-09-23 16:08:35 +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
Michael S. Molina
bbac67a2dc
refactor: Rewrites ColorSchemeControl with Typescript (#21496) 2022-09-22 08:29:02 -03:00
Antonio Rivero Martinez
fb835d1437
feat(nav): Update Tabbed Nav on CRUD Pages (#21213) 2022-09-21 15:50:21 -07:00
EugeneTorap
cbadb8773f
fix: Reset dataset name after saving a new dataset in SQL Lab (#21529) 2022-09-21 22:56:45 +02:00
LiuBodong
c66205feac
fix: pie chart orientation description error (#21514)
Co-authored-by: Stephen Liu <750188453@qq.com>
2022-09-21 21:44:29 +08:00
Yongjie Zhao
4d12e3709e
feat: generate consistent QueryObject whether GenericAxis is enabled or disabled (#21519) 2022-09-21 09:41:21 +08:00
Cody Leff
6644a84f79
fix(explore): fix chart save when dashboard deleted (#21497) 2022-09-20 13:49:31 -06:00
EugeneTorap
2224ebecfe
chore: refactor SqlEditor to functional component (#21320) 2022-09-20 08:41:14 -05:00
Evan Rusackas
135909f814
feat: Making bar graphs in Table viz from fixed-size divs instead of calculated gradients (#21482) 2022-09-20 07:36:36 -06:00
Yongjie Zhao
42000823be
chore: should return if get a exception in Dashboard edit modal (#21524) 2022-09-20 17:32:28 +08:00
Moriah Kreeger
f27e20e30d
feat(filters): add onFilterUpdate handler to list view filters (#21443) 2022-09-19 11:42:34 -07:00
Stephen Liu
94a724e49b
perf(word-cloud): reduce render to improve performance (#21504) 2022-09-19 20:08:36 +08:00
John Bodley
8c16806f57
fix: Address regression introduced in #21284 (#21470)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-09-16 14:18:03 -07:00
Michael S. Molina
b739e27f6d
fix: Duplicated numeric values in Select (#21480) 2022-09-16 08:39:27 -03:00
Michael S. Molina
7c3fc67315
refactor: Moves the DeprecatedSelect to its own folder (#21445) 2022-09-16 08:23:28 -03: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
cccs-RyanK
4fcc1d952f
chore: Extract common select component code (#21094) 2022-09-15 09:57:37 -03: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
Mayur
59ca7861c0
fix: dashboard filter value is cleared when 2 similar dashboards opened in succession (#21461) 2022-09-14 08:41:51 -03:00
Yongjie Zhao
ae6d2cf18d
fix: hide time_grain when x_axis value is undefined (#21464) 2022-09-14 19:03:49 +08:00
Lyndsi Kay Williams
6e8cad3e16
feat: Create dataset header component (#21189) 2022-09-13 19:39:02 -05:00
Lily Kuang
973d870538
chore: remove blank space from users filters (#21346) 2022-09-13 13:59:46 -07:00
MichaelHintz
3098e657e5
fix(sqllab): Fix cursor alignment in SQL lab editor by avoiding Lucida Console font on Windows (#21380) 2022-09-13 13:03:21 -07:00
Lyndsi Kay Williams
4ad1de3be5
test: Fix act errors in ExploreChartPanel test (#21456) 2022-09-13 13:29:31 -05: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
Ville Brofeldt
e1e9fda72b
fix: remove extras from all adhoc_filters controls (#21450)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-13 15:52:21 +03:00
Michael S. Molina
9c285dafb4
test: Fixes act errors in ErrorMessage tests (#21414) 2022-09-12 12:01:55 -03:00
Geido
8539d4cb67
chore: Cypress runtime enhancements (#21332) 2022-09-12 17:48:36 +03:00
Jesse Yang
1084bde2cc
fix(dashboard): JS error when editing charts (#21422) 2022-09-12 07:43:48 -07:00
Stephen Liu
d28909d56c
fix(explore): disable resize bar when the results area is collapsed (#21366) 2022-09-12 08:37:50 -06:00
Lyndsi Kay Williams
cf7c420e01
test: Fix act errors in CustomFrame test (#21427) 2022-09-12 09:39:08 -03:00
Michael S. Molina
c16a6dd2f4
test: Fixes act errors in LastUpdated test (#21415) 2022-09-12 09:21:09 -03:00
Stephen Liu
99628d3e84
fix(dashboard): drag preview not working (#21432) 2022-09-12 19:34:28 +08:00
Lyndsi Kay Williams
210a2b9053
test: Fix act errors in DndFilterSelect test (#21429) 2022-09-09 20:28:46 -05:00
Lyndsi Kay Williams
2c7da649e4
test: Fix act errors in DndColumnSelect test (#21428) 2022-09-09 20:28:21 -05:00
Lyndsi Kay Williams
3819d5154a
test: Fix act errors in DatasourceControl test (#21426) 2022-09-09 20:27:50 -05:00
Lyndsi Kay Williams
69d3a336b4
test: Fix act errors in AnnotationLayer test (#21423) 2022-09-09 20:27:21 -05:00
Lyndsi Kay Williams
c7c6149f4a
test: Fix act errors in CollectionControl test (#21421) 2022-09-09 20:26:31 -05:00
Michael S. Molina
f1acbaf45d
test: Fixes act errors in DatasourceEditor test (#21424) 2022-09-09 19:38:00 -03:00
Michael S. Molina
741d1d78c6
test: Fixes act errors in ReportModal test (#21420) 2022-09-09 18:39:00 -03:00
Michael S. Molina
c3527da362
test: Fixes act errors in ListView test (#21418) 2022-09-09 18:25:44 -03:00
Michael S. Molina
5d1afbcfb2
test: Fixes act errors in PopoverSection test (#21416) 2022-09-09 18:20:09 -03:00
Michael S. Molina
a5e1811ee4
test: Fixes act errors in ErrorBoundary test (#21412) 2022-09-09 17:59:12 -03:00
Lyndsi Kay Williams
d3f9fbb5f9
test: Fix act errors in DatasourcePanelDragOption test (#21410) 2022-09-09 13:10:59 -03:00
Lyndsi Kay Williams
2f8cc44c5d
test: Fix act error in FilterInput test (#21407) 2022-09-09 13:10:41 -03:00
Lyndsi Kay Williams
3197cc6eaa
test: Fix act errors in DatasourcePanel test (#21409) 2022-09-09 08:34:50 -03:00
Lyndsi Kay Williams
bd1abd3b6e
test: Fix act errors in SamplesPane test (#21406) 2022-09-09 08:33:14 -03:00
Lyndsi Kay Williams
295de2d098
test: Fix act errors in ResultsPaneOnDashboard test (#21404) 2022-09-09 08:32:46 -03:00
Lyndsi Kay Williams
fdae29b0f0
test: Fix act error in DataTablesPane test (#21403) 2022-09-09 08:32:10 -03:00
Lyndsi Kay Williams
d635566c16
test: Fix act errors in ExploreChartHeader test (#21402) 2022-09-09 08:31:33 -03:00
Lyndsi Kay Williams
6fad3f9a35
test: Fix act error in ExportToCVSDropdown test (#21401) 2022-09-09 08:30:46 -03:00
Lyndsi Kay Williams
9318e269b1
test: Fix act error in PropertyModal test (#21400) 2022-09-09 08:30:01 -03:00
Lyndsi Kay Williams
714196e745
test: Fix act errors in ControlPanelsContainer test (#21398) 2022-09-09 08:29:23 -03:00
Lyndsi Kay Williams
ac114cae48
test: Fix act errors in ExploreChartPanel test (#21397) 2022-09-09 08:28:47 -03:00
Lyndsi Kay Williams
584f2e63d1
test: Fix act errors in SelectFilterPlugin test (#21396) 2022-09-09 07:44:35 -03:00
Lyndsi Kay Williams
a2ea5efe25
test: Fix act errors in LanguagePicker test (#21395) 2022-09-09 07:43:08 -03:00
Michael S. Molina
71459a6125
test: Fixes act errors in Toast test (#21393) 2022-09-08 21:34:54 -05:00
Lyndsi Kay Williams
ec3b3601d8
test: Fix act errors in Menu test (#21391) 2022-09-08 18:10:19 -05:00
Michael S. Molina
feb581046f
test: Fixes act errors in RefreshLabel test (#21390) 2022-09-08 18:09:54 -05:00
Michael S. Molina
700079ff5c
test: Fixes act errors in ErrorAlert test (#21394) 2022-09-08 18:08:12 -05:00
Lyndsi Kay Williams
08a4cbd27f
test: Fix act errors in LeftPanel test (#21383) 2022-09-08 16:50:03 -05:00
Michael S. Molina
9259f6e218
test: Fixes act errors in PageHeaderWithActions test (#21389) 2022-09-08 16:49:15 -05:00
Michael S. Molina
a95e1c8a3e
test: Fixes act errors in AlteredSliceTag test (#21392) 2022-09-08 16:48:16 -05:00
Michael S. Molina
7938e81f82
test: Fixes act errors in CertifiedBadge test (#21384) 2022-09-08 17:40:19 -03:00
Michael S. Molina
75d5da8898
test: Fixes act errors in Alert test (#21386) 2022-09-08 17:40:06 -03:00
Lyndsi Kay Williams
25188c42e0
test: Fix act errors in SubMenu test (#21387) 2022-09-08 17:39:35 -03:00
Lyndsi Kay Williams
5f9f657805
test: Fix act errors in AddDataset test (#21381) 2022-09-08 13:31:45 -05:00
Michael S. Molina
457b422df9
test: Fixes act errors in IndeterminateCheckbox test (#21374) 2022-09-08 15:02:27 -03:00
Michael S. Molina
b08049aff0
test: Fixes act errors in HeaderReportDropdown test (#21376) 2022-09-08 15:02:08 -03:00
Michael S. Molina
834ec7e4d3
test: Fixes act errors in TableView test (#21375) 2022-09-08 13:37:33 -03:00
Michael S. Molina
6de6fe0e43
test: Fixes act errors in TimezoneSelector test (#21377) 2022-09-08 13:37:19 -03:00
Yongjie Zhao
b80f659101
fix(big number): time grain control is useless in BigNumber Viz (#21372) 2022-09-08 21:43:26 +08:00
Lyndsi Kay Williams
01c000add6
test: Fix act errors in DatasetLayout test (#21367) 2022-09-08 10:18:53 -03:00
Michael S. Molina
8ebf4ed3ff
feat: Adds MetadataBar to Drill to Detail modal (#21343) 2022-09-08 08:49:03 -03:00
Lyndsi Kay Williams
0601b2db99
test: Fix act errors in SqlEditorLeftBar test (#21363) 2022-09-08 07:49:47 -03:00
Lyndsi Kay Williams
994a005444
test: Fix act errors in PopoverDropdown test (#21361) 2022-09-08 07:48:18 -03:00
Lyndsi Kay Williams
fd6569e3ed
test: Fix act errors in FaveStar test (#21360) 2022-09-08 07:47:43 -03:00
Lyndsi Kay Williams
ab82b17af3
test: Fix act errors in DatabaseModal test (#21365) 2022-09-08 07:45:31 -03:00
Lyndsi Kay Williams
3fd0ba7b04
test: Fix act errors in SaveDatasetActionButton test (#21362) 2022-09-08 07:43:16 -03:00
Hugh A. Miles II
b302818522
feat: Update nav bar with new data information architecture for SQL Lab + SQL (#21245) 2022-09-07 19:08:46 -07:00
Phillip Kelley-Dotson
8c2719b11c
feat: add tableselector to dataset creation page (#21075)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-09-07 13:42:47 -07:00
Yongjie Zhao
ce3d38d2e7
feat: apply Time Grain to X-Axis column (#21163) 2022-09-07 16:24:15 +08:00
Cody Leff
875e9f8a04
fix(dashboard): Fix scrolling on "View as table" modal (#21282) 2022-09-07 10:16:16 +08:00
aehanno
c382d53478
fix: Add locale for DatePicker component (#20063)
Co-authored-by: Kevin Dethelot <kevin.dethelot@kosmos.fr>
Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
2022-09-07 10:10:05 +08:00
Zef Lin
9be4870c7f
feat: only show active user for chart/dashboard/datasource owner drop… (#20837) 2022-09-06 19:17:50 +01:00
JUST.in DO IT
acd9515353
fix(sqllab): Copy link doesn't apply the unsaved changes (#21311) 2022-09-06 10:44:36 -07:00
EugeneTorap
f603295678
chore: refactor ResultSet to functional component (#21186) 2022-09-06 16:55:07 +02:00
Yongjie Zhao
d130b4a24f
fix: database modal crashed when use SQLAlchemy URI string (#21342)
Co-authored-by: smileydev <47900232+prosdev0107@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-09-06 22:16:33 +08:00
Stephen Liu
a27c7ae7d0
chore: upgrade yeoman-generator to fix security warnings (#21324) 2022-09-06 17:55:55 +08:00
Daniel Vaz Gaspar
c3f8417139
fix: disallow users from viewing other user's profile on config (#21302) 2022-09-05 13:32:48 +01:00
Diego Medina
b71182f013
chore: refactor ChartHolder to typescript + tests (#20910) 2022-09-05 11:43:53 +02:00
Gerold Busch
d994babe75
fix(dashboard): padding between rows within tabs (#21323) 2022-09-05 14:14:37 +08:00
Stephen Liu
79525dfaf2
feat(explore): standardized controls for time pivot chart (#21321) 2022-09-04 09:38:53 +08:00
Paulo Eduardo da Silva
1cc2148538
fix(ViewQuery-Modal): Copy icon is out of box when resize query modal (#21243) 2022-09-03 14:51:46 +08:00
Beto Dealmeida
34a79add04
feat: filter parameters from DB API (#21248) 2022-09-02 11:50:04 -07:00
AAfghahi
99a4f05069
fix: DB connection modal connect bug (#21299) 2022-09-02 12:14:39 -04:00
Michael S. Molina
fbe980779e
feat: Adds a helper text option to the Select component (#21269)
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2022-09-02 08:31:37 -03:00
JUST.in DO IT
2d70ef670e
feat(sqllab): Make LeftBar width resizable (#21300) 2022-09-01 21:26:20 -07:00
JUST.in DO IT
222f1e7ea8
fix(sqllab): invalid table metadata request (#21304) 2022-09-01 16:35:19 -07:00
JUST.in DO IT
65a11b6f45
refactor: introduce react-query on api resource hook (#21240) 2022-09-01 13:39:34 -07:00
Ville Brofeldt
1aeb8fd6b7
fix(plugin-chart-echarts): show zero value in tooltip (#21296)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-01 20:27:41 +03:00
Kamil Gabryjelski
c3a00d43d0
fix(explore): Time column label not formatted when GENERIC_X_AXES enabled (#21294) 2022-09-01 18:07:49 +02:00
Cody Leff
742dbdd0a5
fix: Fix console errors about feature flags when running tests (#21275) 2022-09-01 12:42:07 -03:00
Kamil Gabryjelski
076af6003a
fix(explore): Incorrect conversion from simple bool filter to custom sql (#21293) 2022-09-01 17:06:42 +02:00
Alex Lauderbaugh
994f327157
chore: Renaming Line Chart to Line Chart v2 (#21278) 2022-09-01 08:16:55 +02:00
JUST.in DO IT
5233a9027f
chore(sqllab): Remove max-width on side panel (#21280) 2022-08-31 17:23:47 -07:00
Joe Li
4b221378cc
fix: Revert "#20095 - fix(database): make to display validation error msg when all … (#21277) 2022-08-31 16:56:56 -06:00
AAfghahi
a7fe4850ed
fix: dataset exists error in save Dataset modal (#21244)
* dataset exists error

* fixed flashing modal
2022-08-31 16:47:39 -04:00
EugeneTorap
0c87ff783a
fix: Table content disappears when switching between tabs (#21251) 2022-08-31 15:46:48 +02:00
JUST.in DO IT
034ee1c3c1
fix(sqllab): unable to create new tabs (#21260) 2022-08-30 13:54:42 -07:00
Lily Kuang
05354a96bf
feat: filter with created_by for charts and dashboards (#21199)
* feat: filter with created_by for charts and dashboards

* add tests

* update tests

* update tests
2022-08-30 12:27:38 -07:00
JUST.in DO IT
1aa1864d13
chore: missing IconType on Icons (#21218) 2022-08-30 09:56:05 -07:00
JUST.in DO IT
ad6b98c2b7
fix(sqllab): update persistent queryEditor keys (#21246) 2022-08-30 09:46:31 -07:00
Shubham Sinha
b354f2265a
fix(dev-server run): Check for environment tag not being undefined (#21232)
* fixed local dev-server run

* removed console log

* removed console log
2022-08-30 14:51:32 +08:00
Stephen Liu
0c43190e04
fix(database-list): hidden upload file button if no permission (#21216) 2022-08-30 10:34:28 +08:00
Geido
710a8ce5c0
chore: Minor Applitools enhancements (#21239)
* Enhance logging

* Update conf
2022-08-29 19:38:13 +03:00
Geido
1d3a805a61
chore: Drill to detail Modal tests (#21148)
* Add DrillDetailModal test

* Add DrillDetailPane tests

* Add TableControls test

* Lint

* Enhance SliceHeaderControls tests

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-frontend/src/dashboard/components/DrillDetailPane/TableControls.test.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-08-29 14:22:15 +03:00
Michael S. Molina
77f54585de
chore: Keeps context menu in viewport (#21212) 2022-08-29 08:14:22 -03:00
Geido
f017f98b88
chore: E2E tests for the Drill to detail modal (#21187)
* Add example ECharts Dashboard

* [WIP] E2E test

* Add echarts interactions

* Lint

* DRY
2022-08-29 11:25:27 +03:00
Hugh A. Miles II
c61a507e14
fix: add back custom sql filtering with Query as source (#21190) 2022-08-26 19:12:21 -07:00
Reese
25cc7897b1
feat: Environment tag (#20295)
* Added environment tag and relevant tests

* Reorganize imports

* Prevent errors when config value not set

* Default production tag to be hidden

* Change tag to Label component

* Fix import order

* Allow tag to be colored with theme

* Use theme for tag border radius

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

* Fix styling

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-08-26 16:08:24 -06:00
Reese
16032ed3e2
feat: Virtual dataset duplication (#20309)
* Inital duplicate functionality

* Fix formatting

* Create dedicated duplicate API

* Make use of new API

* Make use of new api permissions

* Add integration tests for duplicating datasets

* Add licenses

* Fix linting errors

* Change confirm button to 'Duplicate'

* Fix HTTP status code and response

* Add missing import

* Use user id instead of user object

* Remove stray debug print

* Fix sqlite tests

* Specify type of extra

* Add frontend tests

* Add match statement to test
2022-08-26 16:07:56 -06:00
JUST.in DO IT
4e23d62d4f
fix(sqllab): missing zero values while copy-to-clipboard (#21153) 2022-08-26 14:28:48 -07:00
Michael S. Molina
d41f44fcdf
fix: World Map right-click value (#21209) 2022-08-26 15:08:24 -03:00
Cody Leff
0726840fb7
fix(explore): Prevent unnecessary series limit subquery (#21154)
* Prevent series limit when no series limit columns specified.

* Add timeseries check for legacy charts.

* Apply fix to helpers.py.

* Skip Cypress color consistency tests.
2022-08-26 11:16:13 -06:00
Michael S. Molina
68fa4d2665
feat: Adds drill to detail context menu to Table (#21168)
* feat: Adds drill to detail context menu to Table

* Improves context menu positioning

* Fixes Pivot Table typying
2022-08-26 13:35:26 -03:00
Michael S. Molina
859b6d2d20
feat: Adds drill to detail context menu to Pivot Table (#21198)
* feat: Adds drill to detail context menu to Pivot Table

* Adds useCallback
2022-08-26 08:23:26 -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
Kamil Gabryjelski
17ad0d80de
chore: Add new e2e tests for Explore (#21184)
* chore(explore): Add cypress test for creating chart from dataset list

* Add cypress test for creating chart from sqllab query

* Fix the test for editing dataset in exploer

* Fix lint

* Fix tests
2022-08-25 18:50:31 +02:00
Paulo Eduardo da Silva
93557e3a1a
removing unnecessary margin for 50% fields (#21167) 2022-08-25 11:48:31 +08:00
Paulo Eduardo da Silva
74e40c2de1
removing bottom margin on CronPicker (#21140) 2022-08-25 11:44:16 +08:00
Anthony Gainor
da3401a698
fix(database-modal): Show a different placeholder text in Snowflake connection form (#21172)
* Add new Database Modal

When adding a new database and selecting Snowflake, the database and account fields had the same placeholder. This PR adds a placeholder prop so values can be sent dynamically by field

* Call translation function for string literals

Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-08-24 15:37:47 -06:00
smileydev
d568999592
fix(database): make to display validation error msg when all cases (#20095)
* fix(database): make to display validation error msg when all cases

* fix(db): make to update the alert error condition

* fix(db): make to add error detail display

* fix(db): make to update error alert display by superset error style guide.

* fix(db): make to style modal header title with h4

* fix(db): make to place see more on bottom instead of top

* fix(db): make to fix shortly

* fix(db): make to fix lint issue

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-08-24 11:29:22 -06:00
Lily Kuang
604e30b3f0
fix: Filter throwing an error on Embedded Dashboard (#21157)
* fix: Filter throwing an error on Embedded Dashboard

* use short_id if storage not available

* avoid infinite loop
2022-08-24 09:38:20 -07:00
JUST.in DO IT
53de94c047
Revert "fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21141)" (#21174) 2022-08-23 22:26:05 -07:00
Eric Briscoe
6a0b7e5598
feat: Add Chromatic publishing to superset-frontend storybook (#21095)
* Work in progress to add Chromatic publishing to superset-fronted storybook

Adds new Github action to publish storybook builds to chromatic
Adjusts configuration to support MDX story format
Updates Alert stories to take advantage of MDX format for example in storybook that will publish to Chromatic
Fixes issue in ListViewCard stories that make the story build fail

* Adjust Chromatic Github action

* Adjust action so Gtihub Secret is read into env

Github secrets are not accessible in conditional blocks so this change moves the access of the github secret into an env variable which is accessible in conditional logic

* Removes unneccesary projectToken from package json

* Using a temp key to debug no access to value from github secret

* Refining skipping if no changes to superset-frontend

* Remove typos from Action component story, consolidate on folder check in Chromatic action

* Fix error in Chromatic action event

* Testing action with pul_request_target

* adjustments to Chromatic action triggers

* lint fix

* Testing if pull_request_target is disabled

* More adjustments to Chromatic action

* UI Change to trigger action

* Change to story text to test action

* update package-lock after merge conflicts from master

* Changes to test chromatic action

* Finalize Chromatic actions, fix lint errors

* Backs out addition of @storybook/addon-docs which is included in addon-essentials

* Lint error in package.json
2022-08-23 16:16:28 -04:00
JUST.in DO IT
f77b910e2c
perf(sqllab): Rendering perf improvement using immutable state (#20877)
* perf(sqllab): Rendering perf improvement using immutable state

- keep queryEditors immutable during active state
- add unsavedQueryEditor to store all active changes
- refactor each component to subscribe the related unsaved editor state only

* revert ISaveableDatasource type cast

* missing trigger prop

* a default of an empty object and optional operator
2022-08-23 12:17:19 -03:00
Michael S. Molina
4ca4a5c7cb
feat: Adds drill to detail context menu to World Map (#21150) 2022-08-23 10:24:55 -03:00
dependabot[bot]
51e567ffef
chore(deps): bump async from 2.6.3 to 2.6.4 in /superset-frontend (#21062)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 21:02:51 -06:00
Lyndsi Kay Williams
6094274f0b
feat: Create dataset blank state (#21058)
* beginning of routing

* elizabeth review

* changed folder layout

* Dataset layout setup

* Fix DatasetLayout test

* Fixed height issue

* Fix link to sqllab

* Fix DatasetPanel test

* Remove arbitrary right panel

* Add empty state SVGs

* Restructure/rename some Dataset files

* Fixed styling issue

* Fix background color

* Fix header border

* Fix empty DatasetPanel styles

* Adjust description rendering in DatasetPanel to fix tests

* Add spaces back to blank dataset description to fix tests

* Fix blank dataset description styles

Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
2022-08-22 18:45:03 -05: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
Yao Zhou
ca98fd8468
docs: Format the same size of picture for better part of "Supported Databases" document (#21037)
* Fix bug: some word not translate in js.
delete the 'null,' in messages.json,
so that word can be translate in js.

* docs:No code change. Reformat the database logs with size 400*160,modify the aprt of "Supported dabase" in README
2022-08-22 15:29:53 -04: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
stevetracvc
d79b0bfc74
fix(native filters): groupby filter issue (#21084) 2022-08-22 22:15:33 +08:00
Geido
756ed0e36a
feat: Add label and tooltip for the color schemes control (#21040)
* Add tooltip

* Remove title

* Add license

* Enhance E2E tests

* Update tests

* Lint and test fixes

* Enhance layout
2022-08-22 10:44:15 +03:00
JUST.in DO IT
a1389d3a9f
fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21141) 2022-08-22 15:43:42 +08:00
Yongjie Zhao
fea68ef23c
fix: resample method shouldn't be freeform (#21135) 2022-08-22 15:42:46 +08:00
Diego Medina
15b9f83150
chore: support trailing slashes in database api (#21123) 2022-08-22 15:15:04 +08:00
Stephen Liu
e70699fb43
fix(plugin-chart-handlebars): order by control not work (#21005) 2022-08-22 15:00:34 +08:00
EugeneTorap
7c0963f6ae
chore: refactor FilterableTable to functional component (#21136) 2022-08-22 14:19:36 +08:00
Diego Medina
25c2b7f761
chore(deps): bump jsprim to 1.4.2 (#21104) 2022-08-22 10:55:04 +08:00
EugeneTorap
fa0be30d49
chore: Dump all babel libs (#21121) 2022-08-18 12:55:21 +02:00
EugeneTorap
dcab32676b
fix: Use Home page in SPA (#21006)
* fix: Use Welcome page in SPA

* Fix Menu.test.tsx

* Handle not frontend routes
2022-08-18 12:19:15 +02:00
Lyndsi Kay Williams
1ffa5670b3
test: Fix async tests in SaveDatasetModal and complete overwrite screen test (#21020)
* initial push

* SaveDatasetModal test fix

* Remove arbitrary async declarations

Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
2022-08-17 22:35:28 -05: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
Michael S. Molina
151795663b
feat: Adds the MetadataBar component (#21090)
* feat: Adds the MetadataBar component

* Addresses comments
2022-08-17 14:39:44 -03:00
EugeneTorap
6f3a555e58
fix(dashboard): Fix scroll behaviour in DashboardBuilderSidepane (#20969) 2022-08-16 19:29:28 +02:00
Kamil Gabryjelski
d3684c0937
fix(dashboard): Dashboard header overflowing in edit mode (#21100) 2022-08-16 19:08:29 +02:00
Diego Medina
0c84203053
fix: Unable to sync columns when dataset name has '+' (#21019) 2022-08-16 07:55:27 -06:00
Stephen Liu
b303d1e156
fix(plugin-chart-echarts): gauge chart enhancements and fixes (#21007)
* fix(plugin-chart-echarts): gauge chart enhancements and fixes

* fix lint
2022-08-16 07:54:17 -06:00
Stephen Liu
5c2a1f85ff
fix(database-modal): 'CTAS & CVAS SCHEMA' getting cut off (#21004) 2022-08-15 22:24:38 -06: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
dependabot[bot]
42a5375e83
chore(deps): bump ejs from 2.7.4 to 3.1.8 in /superset-frontend (#21046)
Bumps [ejs](https://github.com/mde/ejs) from 2.7.4 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v2.7.4...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:49:36 -06:00
dependabot[bot]
778b6a3ba2
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-frontend (#21047)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:48:31 -06: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
Yongjie Zhao
dfe5a04938
fix: unable to show view as table modal (#21025) 2022-08-10 11:35:06 +08: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
Evan Rusackas
0042ade66f
fix: making crossFilter.chartsInScope optional (#21030) 2022-08-09 12:21:40 -06:00
Michael S. Molina
6650076228
fix: forwardRef warnings in selects (#20970) 2022-08-09 09:00:12 -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
Geido
03764e6ae8
chore: Audit E2E tests for color schemes in Dashboard and Explore (#20807)
* Update properties tests

* Update selectors

* Verify charts changing colors

* Test shared and label colors

* Update dashboard edit test

* Enhance viz tests

* Remove chart ids

* Update color
2022-08-09 07:49:46 +03:00
Jesse Yang
58245dd7f7
fix(sqllab): result set min-height (#21016) 2022-08-08 20:52:52 -07:00
AAfghahi
846529a500
easy fix (#20999) 2022-08-08 12:31:08 -04:00
Phillip Kelley-Dotson
e214e1ace6
chore: update text for dbconn modal (#20773)
* chore: update text for dbconn modal

* fix text and close opts for adddataset modal

* update loading state, add state change for cta btns, and styling

* remove space
2022-08-05 15:01:04 -07: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
AAfghahi
f89ba0c7c1
beginning the reducer (#20945) 2022-08-05 11:53:55 -04:00
Kamil Gabryjelski
9350bbafee
fix(explore): Replace url search params only if current page is Explore (#20972)
* fix(explore): Replace url search params only if current page is Explore

* Add unit test
2022-08-05 16:59:52 +02: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
Lyndsi Kay Williams
d42cf4e4c9
fix: Columns not passing properly from SQL Lab to Explore (#20975)
* debugging columns

* Clean up code

* Fix test
2022-08-04 14:59:50 -04:00
Phillip Kelley-Dotson
fa416fa130
fix: remove extra line for link (#20959)
* fix: remove extra line for link

* add space
2022-08-04 13:29:07 -04:00
AAfghahi
eb5369f2a6
fix: No back button in save dataset modal (#20964)
* back button fix

* fixed test
2022-08-03 21:29:11 -04:00
Kamil Gabryjelski
e4fc5564ce
fix: Explore scrolled down when navigating from dashboard (#20962) 2022-08-03 21:55:52 +02:00
Antonio Rivero Martinez
aa53c10312
Big Number Viz: (#20946)
- When the value is zero we still render the percent change and suffix if present
2022-08-03 23:12:56 +08:00
EugeneTorap
96a63bcbfe
fix: Use SPA Dataset link in Chart and Dashboard (#20941)
* Use SPA Dataset link in Chart and Dashboard

* Validate datasourceUrl

* Show datasourceName when datasourceUrl is undefined
2022-08-03 09:09:33 +02:00
Jesse Yang
ac585821d8
fix(sqllab): tracking url and error alert padding (#20937) 2022-08-02 14:55:41 -07:00
Stephen Liu
7beda3bbdb
chore: change Sort-by and Sort-Descending controls for Bar Chart v2 (#20868) 2022-08-02 14:36:21 -06:00
Antonio Rivero Martinez
9362e27ce2
fix(chart): Time Series set showMaxLabel as null for time xAxis (#20627)
* Time Series Chart:

-Apache echarts has this option as false by default for time axis, so we need to override it for our charts so it's uto determined and not fixed to hidden.
- Add AxisType enum so we stop comparing agains raw strings when checking xAxis type

* Time Series Chart:

- set the showMaxLabel option directly without using merge

* Time Series Chart:

 - Rename the property to showMaxLabel as it was originally
2022-08-02 14:35:41 -06:00
Antonio Rivero Martinez
e2206a7151
Annotations: (#20720)
- Fix scrollbar when removing annotations
2022-08-02 14:31:48 -06:00
Diego Medina
fe581a3640
fix: adjust timeseries grid right offset to match the rest (#20933) 2022-08-02 14:19:49 -06:00
Diego Medina
dd353ca86a
feat: Add resize drag handle to Dataset SQL fields (#20670)
* feat: Add resize drag handle to Dataset SQL fields

* PR comments
2022-08-02 14:13:14 -06:00
AAfghahi
460b213057
feat: Creating dataset/add route (#20869)
* beginning of routing

* elizabeth review

* changed folder layout

* Update superset-frontend/src/views/CRUD/data/dataset/DatasetPage/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

* Update superset-frontend/src/views/CRUD/data/dataset/DatasetPage/RightPanel/index.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-08-01 16:59:40 -04:00
Lyndsi Kay Williams
8a04536f9d
feat(SqlLab): Change Save Dataset Button to Split Save Query Button IV (#20852)
* Moving entire split save btn PR

* Addressed review comments

* Remove arbitrary div from ErrorBoundary in Chart

* Added accidentally removed comment

* Fix act errors in SaveQuery tests

* Fix SaveDatasetActionButton test

* SaveDatasetModal test almost working

* SaveDatasetModal tests all passing

* Clean SaveDatasetModal test

* Fix create chart button and SaveDatasetModal text in SQL Lab

* Fix untitled dataset name on SaveDatasetModal in explore

* Fix styling on split save button
2022-08-01 14:36:34 -05:00
Kamil Gabryjelski
6ec164e6a9
feat: Use SPA navigation from datasets list to Explore (#20890)
* feat: Use SPA navigation from datasets list to Explore

* fix lint

* Fix lint

* Fix type

* Make external links work without protocols

* add comment
2022-08-01 16:45:07 +02:00
Kamil Gabryjelski
90e2d82a38
fix(dashboard): Incorrect scopes of cross filters (#20927) 2022-08-01 13:39:42 +02:00
Hugh A. Miles II
67e3dc7c7b
hide modal after overwrite (#20924) 2022-07-29 19:18:11 -04:00
Eric Briscoe
1a8c28db3d
Fixes issue where type query datasource had incorrect time controls when datasource type was 'query' (#20923) 2022-07-29 18:14:03 -04:00
Hugh A. Miles II
0d8889dc9c
fix: Save dataset + chart when Chart source is Query (#20880)
* feat: save dataset savemodal

* fix lint

* add comments

* enable chart power query

* clean up

* added test

* fix overwrite

* add proper error messaging for save datasetModal

* lint

* fix ts lint

* fix

* Disables Save button while network call is in progress, removing second Chart saved toast message

* change naming

* err

* Update superset-frontend/src/explore/components/SaveModal.tsx

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

* Update SaveModal.tsx

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
Co-authored-by: Eric Briscoe <eric.j.briscoe@gmail.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-07-29 17:30:28 -04:00
dependabot[bot]
adf1f5cccf
chore(deps): bump terser from 4.6.3 to 4.8.1 in /superset-frontend (#20787)
Bumps [terser](https://github.com/terser/terser) from 4.6.3 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 10:48:15 -06:00
Jesse Yang
5ae0e83b8a
fix(sqllab): hide tracking url when fetching (#20905) 2022-07-29 08:47:53 -07:00
Cody Leff
e7acb1a79d
chore(explore): update Explore icons and icon colors (#20612)
* Update Explore icons and icon colors.

* Change shade of blue and make blue only appear when fields have never been filled in.

* Fix Cypress test.

* Update non-error validation color from blue to yellow.

* Unpack ternary.

* Replace direct AntD imports with our Icons component.
2022-07-29 09:05:15 -06:00
Cody Leff
90460f1333
Unskip Cypress test. (#20915) 2022-07-29 11:38:04 -03: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
Cody Leff
d50784dd80
feat(dashboard): Add thumbnails to dashboard edit draggable chart list (#20528)
* Add chart thumbnails to dashboard edit draggable charts.

* Reorganize hierarchy and add tests.

* Incorporate review suggestions.

* Update design and add tooltips.

* Fix missing thumbnails.

* Fix tests.

* Fix moving viz type label.

* Convert AddSliceCard to TS, update hierarchy.
2022-07-28 10:46:13 -06:00
cccs-RyanK
fe91974163
chore: Remove unecessary code from async and sync select components (#20690)
* Created AsyncSelect Component
Changed files to reference AsyncSelect if needed

* modified import of AsyncSelect, removed async tests and prefixes from select tests

* fixed various import and lint warnings

* fixing lint errors

* fixed frontend test errors

* fixed alertreportmodel tests

* removed accidental import

* fixed lint errors

* updated async select

* removed code from select component

* fixed select test

* fixed async label value and select initial values

* cleaned up async test

* fixed lint errors

* minor fixes to sync select component

* removed unecessary variables and fixed linting

* fixed npm test errors

* fixed linting issues

* fixed showSearch and storybook

* fixed linting
2022-07-28 10:09:37 -03:00
Antonio Rivero Martinez
07ce33d142
Reports: (#20753)
- dashboardInfo might be an empty object, in which case we must use the chart info instead so the resourceId is not undefined
2022-07-27 12:33:13 -06:00
Antonio Rivero Martinez
234c44626d
TableChart: (#20833)
- Handle resize properly when only the scrollbar is changing so it doesn't get stuck into an infinite loop.
2022-07-27 12:32:34 -06:00
Antonio Rivero Martinez
99085d583d
fix(viz): Header scrolling for Time Table in dashboard (#20874)
* TimeTable:

- Increase the z-index so the sparkline doesn't overlap when scrolling in the dashboard

* Time TAble:

- Remove testing label
2022-07-27 12:24:47 -06:00
Jesse Yang
77db0651d8
feat(sql lab): display presto and trino tracking url (#20799) 2022-07-26 20:20:08 -07:00
Phillip Kelley-Dotson
2f3e11db66
feat: blankstate metrics columns (#20755)
* add POC ExploreMixin

* Working POC
> columns are loading into page

* Created/tested query dataset dropdown

* Add isValidDatasourceType to @superset-ui/core and hide query dropdown

* Visual updates to explore datasource panel

* Temporarily make Query icon visible

* Remove Query icon visibility

* Removed isValidDatasourceType check

* Added Query preview Modal from DatasourceControl if the data source type is Query [41493]

Initial commit to add ability for the a Query Preview Modal to be available when the data source type is Query and not Dataset
Converted ModalTrigger to a functional TypeScript component

* > fix integration point with frontend
> allow for all records to be displayed
> fix select with all columns queries
> filters are now working

* Adjusts conditional logic approach to be extensible for additional types from DatasourceTypes options

* refactor

* set field for sql

* Fixes issue where Missing query parameters error was showing in datasourcePanel

* add query_language

* fix ds main_dttm

* Fixes issue where menu.tsx was blocking access to redux debugging for SqlLab and Explore

* Fixes issue where database id was not available to save query as dataset, adds default metric when chart source is query

* oops

* fix pre-commit to 50 errors now

* fix circuliar dep

* Disables showing Metrics section in DatasourcePanel when Query is the datasource

A follow on separate effort will enable having a default Count metric when Query is the datasource type

* adds condition to use query.columns if query.results is not present enable saving query as a dataset

* down to 26 now

* patch for pre-commit

* one more pre-commit

* added explore_json error

* added error messages

* add for metrics

* add text for columns

* add model open/close method

* add propogation and methods

* change link to span

* lint fix

* Fixes frontend lint and TypeScript errors unit test fixes will be next commit

* Aditional TypeScript error fix

* Fixes unit test failure

* fix some types

* added frontend piece

* fix type

* Fixes bad import caused by merge from master and removes duplicate showSaveDatasetModal check

* Fixes for DartasourceControl Test Suite

* Fix lint error

* Fixes unit test issues due to array instead of a component being passed to modal footer

* Fixes unit test failure for DatasourceControl and simplifies getDatasourceTitle based on PR comment

* fix ts

* pylint

* core_test fix

* Fixes line error post merge from master

* fixed from master

* fixed from master

* Fixes issue where Overwrite dataset does not work due to userid error

SPA refractor changed Redux structure that is used when in explore (which is now within SPA).  user object is at the root of the store now for anything under SPA.

* Resolves TypeScript errors with changes made for SPA merging in and changes needed for overwriting dataset from SaveDatasetModal

* fix: top right panel view query functionality

* remove unneeded code from core.py

* working samples endpoint for query

* add owner check

* update FE for it

* handle columns are dict vs object

* fix exceptions

* fix fe lint

* fix test

* add tab_name to payload

* Enables use of tab name from Query

* fix cypress test

* save columns on execution

* fix frontend build test

* remove parathesis around columns

* changing column types

* fixing samples that has literal_columns

* address comments

* add changes

* fix path

* fix merge

* fix types

* remove console

* add type

* fix linting

* update to enum

* fix test

* remove explore from buttons

* fix logic

* fix logic

* oops

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
Co-authored-by: Eric Briscoe <eric.j.briscoe@gmail.com>
Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-07-26 14:32:30 -04: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
cb9ae38361
fix: switch form_data between different datasource (#20867) 2022-07-26 22:13:17 +08:00
Geido
76f573a4ea
chore: Ignore Applitools by default when running Cypress tests (#20789)
* Exclude applitools by default

* Remove unnecessary check

* Trim
2022-07-26 16:57:45 +03:00
Kamil Gabryjelski
46deb79f50
fix: Fix chart title truncating when Chrome is zoomed out (#20847) 2022-07-26 10:21:17 +02: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
Diego Medina
5d107b86ab
fix: explore warnings cleanup (#20864) 2022-07-26 13:28:50 +08:00
Geido
6b0c3032b2
chore: Update color scheme when deleted or changed (#20589)
* feat(explore): Use v1/explore endpoint data instead of bootstrapData

* Add tests

* Fix ci

* Remove redundant dependency

* Use form_data_key in cypress tests

* Add auth headers to for data request

* Address comments

* Remove displaying danger toast

* Conditionally add auth headers

* Address comments

* Fix typing bug

* fix

* Fix opening dataset

* Fix sqllab chart create

* Run queries in parallel

* Fallback to default color scheme

* Fix dashboard id autofill

* Fix lint

* Fix test

* Fix hydrate action

* Update dashboard colors

* Add color scheme domain

* Add check for default scheme

* Make me pretty

* Clean up

* Nit

* Clean up

* Pretty

* Fix missing sequential

* Lint

* Enhance test

* Lint

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-25 18:50:49 -04:00
Hugh A. Miles II
3de641c3ae
change buttons to be only save and overwrite (#20851) 2022-07-25 18:18:17 -04:00
Srini Kadamati
c4564a91dc
chore: add databricks logo (#20849)
* chore: add databricks logo

* added databricks logo to Readme
2022-07-25 16:05:50 -04:00
Kamil Gabryjelski
e3c6380258
chore: Change Button background color from primary.dark1 to primary.base (#20846) 2022-07-25 18:02:14 +02:00
Kamil Gabryjelski
0945d4a2f4
feat: Pass dashboard context to explore through local storage (#20743)
* feat: Pass dashboard context to explore through local storage

* Remove console log

* Remove unused local storage keys

* Fix lint

* Fix link

* Fix UT

* fix lint

* fix prettier

* Fix bug

* Fix bug with some sample dashboards

* Roll back unnecessary change

* style fix

* Add comments

* Fix lint

* Address code review comments

* Fix
2022-07-25 16:44:43 +02:00
Stephen Liu
9bf7ed58cd
fix(plugin-chart-echarts): bar chart overflow (#20805) 2022-07-23 14:20:00 +08:00
Stephen Liu
557cf4b739
fix(dashboard): add toast if JSON metadata is invalid (#20823) 2022-07-23 14:14:28 +08:00
rizacavus
4ffa3c22d1
feat: Add Türkiye Map to Country Map (#20801) 2022-07-23 08:33:56 +08:00
AAfghahi
7495cdbfe0
feat: Create Chart onClick Functionality (#20809)
* explore results button

* addresing hugh comments

* changed datatype to query

* addresing eric comments
2022-07-22 12:53:01 -04:00
Diego Medina
6e0ddcf848
fix: [explore][mixed time series chart] when user change size of view query window, query B part will disappear (#20750) 2022-07-22 20:39:13 +08:00
Yongjie Zhao
f011abae2b
feat: the samples endpoint supports filters and pagination (#20683) 2022-07-22 20:14:42 +08:00
Diego Medina
51869f32ac
Temporal X Axis values are not properly displayed if the time column has a custom label defined (#20819) 2022-07-22 17:05:37 +08:00
Evan Rusackas
fe9eb58ede
chore: bumps the handlebars plugin package version to match the family. (#20813) 2022-07-22 15:18:45 +08:00
Diego Medina
279ab954b1
fix: chart empty state & result panel when multiple queries are executed display incorrectly (#20816) 2022-07-22 14:58:42 +08:00
Kamil Gabryjelski
af1bddffad
fix(explore): Adhoc columns don't display correctly (#20802)
* fix(explore): Adhoc columns have empty labels

* Add unit test

* Address comments
2022-07-21 21:11:49 +02:00
Michael S. Molina
3311128c5e
fix: Reverts #20749 and #20645 (#20796)
* Revert "fix: Error when saving datasource from Explore (#20749)"

This reverts commit 92f3621c75.

* Revert "refactor: Unify shared datasources reducers and actions (#20645)"

This reverts commit 2a705406e1.
2022-07-20 17:03:19 -03:00
Just[in]Do it!
1debacaaca
feat(dashboard): Make FilterBar width resizable (#20778)
* Add Resizable panel in DashboardBuilder to adjust the width for FiltersPanel
* store the adjusted width for individual dashboard in localStorage to memorize the state
* migrate DashboardBuilder test code by testing-library and jest
2022-07-20 09:56:55 -07:00
Stephen Liu
d90b973235
fix(plugin-chart-echarts): layout broken when resizing (#20783)
* fix(plugin-chart-echarts): layout broken when resizing

* use useLayoutEffect
2022-07-20 09:40:39 -06:00
Stephen Liu
d925b0c883
fix(heatmap): add detail descriptions for heatmap 'normalize across' (#20566)
* fix(heatmap): change 'Normalize Across' to 'Color Based On' and add some label

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/plugins/legacy-plugin-chart-heatmap/src/controlPanel.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* fix lint

Co-authored-by: Evan Rusackas <evan@preset.io>
2022-07-20 09:39:22 -06:00
Yongjie Zhao
9c7bcfcead
fix: core coverage and add a coverage step in workflow (#20784)
* fix: core coverage

* add step in workflow
2022-07-20 08:56:03 -03:00
Cody Leff
5ed85f59a1
Fix missing metadata. (#20684) 2022-07-20 07:31:21 -03:00
Yongjie Zhao
bb5b8e4c4f
chore: add coverage command in package.json (#20769) 2022-07-20 18:30:30 +08:00
Cody Leff
84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation (#20673)
* Update explore URLs.

* More URL fixes.

* Make frontend accept true/false query params case-insensitively.

* Fix URL mistake.

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
Diego Medina
115ab700df
fix(sql lab): MultiSelector component render twice (#20706)
* fix(sql lab): MultiSelector component render twice

* filter null/undefined tables
2022-07-19 08:33:15 -03:00
Hugh A. Miles II
1101922178
fix change dataset (#20751) 2022-07-18 14:23:11 -04:00
Michael S. Molina
92f3621c75
fix: Error when saving datasource from Explore (#20749) 2022-07-18 14:35:19 -03:00
Hugh A. Miles II
510c1c4817
fix: set reference to columns properly for sqllab -> explore (#20747)
* set reference to columns properly

* fix logic
2022-07-18 12:32:31 -04:00