Commit Graph

5360 Commits

Author SHA1 Message Date
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