Commit Graph

5569 Commits

Author SHA1 Message Date
Geido
25114a7b97
feat: Horizontal filter bar states (#22064)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-18 14:15:28 +02:00
Geido
896c832649
fix: Add scrollTopOnPagination property to Table (#22115) 2022-11-18 14:14:22 +02:00
Beto Dealmeida
17c2bd89a6
feat: auto select schema (#22160) 2022-11-17 21:16:52 -08:00
Geido
d352b74ff4
chore: Upgrade antd@4.10.3 (#22007) 2022-11-17 22:48:54 +02:00
Corbin Robb
83d990db4f
test(sqllab): Convert tests to RTL for SqlEditor (#22093) 2022-11-17 13:10:13 -05:00
EugeneTorap
d76f305343
chore: Use queryEditorId in SqlEditor child components (#21650) 2022-11-16 08:06:20 -05:00
JUST.in DO IT
4f2e264b3f
chore(sqllab): Change icon color for running sql (#22050) 2022-11-15 12:33:53 -08:00
JUST.in DO IT
c3f1873c43
fix(sqllab): Add templateParams on kv store (#22013) 2022-11-14 10:46:21 -08:00
Michael S. Molina
824dc7188b
fix: Right click on country map with code filter (#22081) 2022-11-14 08:52:31 -05:00
Daniel Vaz Gaspar
7c6fabb033
chore: deprecate /superset/fetch_datasource_metadata mig to API v1 (#22102) 2022-11-14 08:51:26 +00:00
Yongjie Zhao
5b67e0712d
refactor: update documents and rename variables (#22074) 2022-11-11 18:04:56 +08:00
Eric Briscoe
defe5c8ba7
feat: Integrate ant d table component into DatasetPanel (#21948)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-10 18:02:51 -06:00
Eric Briscoe
736b53418a
feat: create table component based on ant design Table (#21520)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-11-09 17:33:27 -05:00
Corbin Robb
cdec09243b
test: Fix act errors in DndColumnSelectControl tests (#22068) 2022-11-08 16:24:43 -05:00
JUST.in DO IT
ef6b9a97d5
feat(dashboard): confirm overwrite to prevent unintended changes (#21819) 2022-11-08 13:06:19 -08:00
Beto Dealmeida
cd1b379bdf
fix: accept only JSON credentials (#22040) 2022-11-07 12:42:33 -08:00
Lyndsi Kay Williams
7a52b22237
test: Fix act errors in DndMetricSelect test (#22048) 2022-11-07 12:33:57 -06:00
Michael S. Molina
aa48cae6fb
chore: Adds RTL tests to DropdownContainer (#22041) 2022-11-07 10:11:28 -05:00
Jack Fragassi
c870fbe9e2
feat: Add 3 new extension points for inserting custom icons (#22027) 2022-11-04 11:53:57 -07:00
Michael S. Molina
7d1df3b78d
feat: Improves SafeMarkdown HTML sanitization (#21895) 2022-11-04 10:34:02 -04:00
Michael S. Molina
b040211970
feat: Adds more customization properties to DropdownContainer (#22031) 2022-11-04 10:20:49 -04:00
Stephen Liu
9b6322b640
fix(native-filters): panels are collapsed when switch native filters (#21976) 2022-11-04 19:10:08 +08:00
JUST.in DO IT
5e1eecb3e7
chore(dataset): enable reload for schema and table (#22032) 2022-11-03 17:59:05 -07:00
Kamil Gabryjelski
68e8b00cde
feat(dashboard): Support changing filter bar location (#22004) 2022-11-03 16:50:34 +02:00
Yongjie Zhao
d52d72ce64
refactor: Feature flags getter (#22015) 2022-11-03 22:30:22 +08:00
Michael S. Molina
97e3e790a3
feat: Adds the DropdownContainer component (#21974) 2022-11-03 14:53:50 +01:00
Cody Leff
4cbd70db34
fix: Revert shared controls typing change. (#22014) 2022-11-03 11:58:38 +08:00
Lyndsi Kay Williams
ba65f66897
fix: Change downloadAsImage to use Superset theme (#22011) 2022-11-02 21:24:10 -05:00
Yongjie Zhao
429f246f7a
refactor: clean up codes (#22002) 2022-11-03 00:16:10 +08:00
Geido
4e33235020
chore: Verify edit permission for Horizontal filter bar (#21990) 2022-11-02 12:02:33 +02:00
JUST.in DO IT
3a023392e6
fix: invalid float number format by json-bigint (#21996) 2022-11-02 01:04:17 -07:00
Yongjie Zhao
a9b229dd1d
feat: support mulitple temporal filters in AdhocFilter and move the Time Section away (#21767) 2022-11-02 08:21:17 +08:00
Ville Brofeldt
dc7399540b
chore: bubble up more db error messages (#21982) 2022-11-01 07:54:27 +02:00
Geido
5c27aafc0b
feat: Selectable dropdown triggered by icon component (#21955) 2022-10-31 19:02:40 +01:00
JUST.in DO IT
3bb9187797
fix: invalid float number format by json-bigint (#21968) 2022-10-31 10:20:43 -07:00
Stephen Liu
66f166be0f
perf(native-filters): reduce the re-rendering of native filter modal (#21781) 2022-10-31 13:35:54 +08:00
Stephen Liu
bf001931c8
perf(native-filters): improve native filter modal form performance (#21821) 2022-10-30 23:55:48 +08:00
Eric Briscoe
d1807db041
fix: Adds logging for SPA route navigation with React router (#21960) 2022-10-28 13:00:45 -07:00
Phillip Kelley-Dotson
d3f930a557
fix: add form data for empty state control to save dataset (#21944) 2022-10-28 11:43:42 -07:00
Anthony Gainor
7f563cf92d
chore: Remove several React app console warnings and errors v2 (#21725)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-10-28 19:08:10 +08:00
Kamil Gabryjelski
3c7a081281
fix(explore): Small changes in metadata bar copy and tooltip placement (#21952) 2022-10-28 11:40:18 +02:00
Kamil Gabryjelski
9d25453425
fix(explore): Chart save modal displays error instead of failing silently (#21920) 2022-10-27 23:30:59 +02:00
JUST.in DO IT
fb8231b50c
fix(sqllab): wiped out unsaved changes by delayed actions (#21877) 2022-10-27 13:20:34 -07:00
Geido
7e3e13321b
fix: Most common flaky Cypress tests (#21941) 2022-10-27 21:00:36 +03:00
Cody Leff
95b43238a0
fix(dashboard): Remove bar at bottom of dashboard edit sidebar (#21807) 2022-10-27 22:58:00 +08:00
Rui Zhao
edce579047
feat(dashboard): Move dashboard auto refresh intervals options to config (#21924)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-10-27 08:31:49 -03:00
JUST.in DO IT
40024064ae
fix: BIGINT rendering regression in chartAction (#21937) 2022-10-26 15:04:20 -07:00
Michael S. Molina
779d9f7533
feat: Adds the HORIZONTAL_FILTER_BAR feature flag (#21935) 2022-10-26 08:39:10 -03:00
Geido
fa67315f5b
fix: Default temporal column in Datasource (#21857) 2022-10-25 14:42:11 +03:00
JUST.in DO IT
792820ef48
fix(sqllab): remove set state on component update lifecycle (#21771) 2022-10-24 10:50:30 -07:00
Phillip Kelley-Dotson
88e98d576c
fix(sqllab): fix control x to stop query (#21899) 2022-10-24 12:51:22 -04:00
Antonio Rivero Martinez
c19708b432
feat(rightmenu): Add Datasets to + Menu and Hide Databases when one has been connected (#21530) 2022-10-24 12:45:23 -04:00
Lyndsi Kay Williams
175ec854b9
feat: Add dataset visuals for when a table is selected (#21893) 2022-10-24 12:43:13 -04:00
Geido
a36ab71a27
fix: Ensure data cleanup in Cypress (#21921) 2022-10-24 18:25:36 +03:00
Ville Brofeldt
f5977caf44
chore(plugin-chart-echarts): bump ECharts to 5.4.0 (#21916) 2022-10-24 17:09:24 +03:00
Michael S. Molina
3da9687328
chore: Improves D2D loading indicator (#21908) 2022-10-21 13:24:57 -03:00
Geido
c2834cc14c
chore: Remove CROSS_REFERENCES feature flag (#21815) 2022-10-21 15:11:49 +03:00
Geido
2fe68a3633
chore: E2E Dashboards Cross-references (#21805) 2022-10-21 15:10:35 +03:00
Cody Leff
40f82545ab
fix(dashboard): Ensure correct positioning of "Drill to detail by" submenu (#21894) 2022-10-21 08:49:31 -03:00
JUST.in DO IT
f4a4ab41e0
fix: type of AnnotationLayer (#21878) 2022-10-21 19:11:18 +08:00
Cody Leff
e418694150
fix: Mistaken use of BootstrapUser type (#21892) 2022-10-20 18:02:02 -03:00
Usiel Riedl
9a063abb3b
feat(explore): add config for default time filter (#21879)
Co-authored-by: Usiel Riedl <usiel.riedl@automattic.com>
2022-10-20 20:09:51 +08:00
Geido
b17ef18aae
chore: Color consistency E2E tests (#21622)
Co-authored-by: stephenLYZ <750188453@qq.com>
2022-10-20 14:16:29 +03:00
Lyndsi Kay Williams
28c7636c59
fix: Change timer font to monospace (#21876) 2022-10-19 16:53:34 -05:00
Cody Leff
76e57ec651
feat(dashboard): menu improvements, fallback support for Drill to Detail (#21351) 2022-10-19 18:34:46 -03:00
Kamil Gabryjelski
cddc361adc
feat(explore): Don't discard controls with custom sql when changing datasource (#20934) 2022-10-19 15:29:38 +02:00
Anthony Gainor
ec20c0104e
fix(dashboard): Prevent XSS attack vector (#21822)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-10-19 09:54:20 -03:00
mapledan
7c4102c20e
feat(select filter): add CRLF separator for Windows (#21867)
Co-authored-by: mapledan <s1991829@gmail.com>
2022-10-19 08:49:23 -03:00
Yongjie Zhao
9aa804e070
fix: categorical x-axis can't apply the label of column (#21869) 2022-10-19 18:47:02 +08:00
Michael S. Molina
47b1e0ca9d
feat: Disables HTML rendering in Toast by default (#21853) 2022-10-19 07:44:50 -03:00
Yongjie Zhao
0a4ecca9f2
fix: custom SQL in the XAxis (#21847) 2022-10-19 11:40:52 +08:00
Andrew
df7840c041
chore: Added translate functions (#21816) 2022-10-19 09:54:16 +08:00
Yongjie Zhao
f38115489b
fix: drilling on the categorical xaxis on the mixed chart (#21845) 2022-10-19 09:08:28 +08:00
Yongjie Zhao
f41d0b0cbf
fix: drilling on the categorical xaxis on the stacked barchart v2 (#21844) 2022-10-18 19:47:53 +08:00
Geido
383dc29ad1
fix: Allow comma in Number Format (#21817) 2022-10-18 14:28:07 +03:00
Lyndsi Kay Williams
8f4415bc83
fix: Dataset left panel now uses client side search (#21770) 2022-10-17 15:02:33 -05:00
Lyndsi Kay Williams
fcb98003a3
fix(sqllab): Fix spacing on Schedule option in SqlEditor dropdown (#21832) 2022-10-17 14:54:45 -05:00
Stephen Liu
7a7181a244
feat(color): color consistency enhancements (#21507) 2022-10-17 17:01:20 +08:00
Ville Brofeldt
4c1777f20d
fix(alerts): restrict list view and gamma perms (#21765) 2022-10-15 10:03:26 +03:00
Elizabeth Thompson
196c3671e2
refactor: serialize extra json in state (#21523) 2022-10-14 14:55:20 -07:00
Lyndsi Kay Williams
df3b5a8305
fix: Dataset creation header is now uneditable and holds proper default values (#21557)
Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
2022-10-13 17:17:24 -05:00
Eric Briscoe
2258fbf878
fix(CustomFrame): Resolves issue #21731 where date range in explore throws runtime error (#21776) 2022-10-13 09:52:35 -07:00
Geido
49b48eeca4
feat: Cross-referenced Dashboards in Chart list (Column + Filter) (#21760)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-10-13 14:50:03 +03:00
Cody Leff
d5b4bdeb72
fix(plugin-chart-handlebars): Update webpack/babel config to fix build/runtime warnings/errors (#21779) 2022-10-12 21:32:31 -06:00
Michael S. Molina
11d7d6e078
fix: Preserve unknown URL params (#21785) 2022-10-12 15:52:36 -07:00
Yongjie Zhao
8f74e46d45
fix: regression in #21766 (#21782) 2022-10-12 19:28:55 +08:00
Yongjie Zhao
8f61e3c5d9
refactor: preparation for time section migration (#21766) 2022-10-12 08:38:30 +08:00
Hugh A. Miles II
bd3166b603
chore: cleanup on catalog check for Gsheets (#21738) 2022-10-11 15:19:12 -04:00
Antonio Rivero Martinez
605b6920a6
fix(datasets): Stop showing alert when saving from query (#21442) 2022-10-11 10:24:11 -07:00
Lyndsi Kay Williams
d21e1d799d
fix(sqllab): Async queries are now fetched properly (#21698)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
2022-10-11 12:21:37 -05:00
Kamil Gabryjelski
406e44bba1
perf(dashboard): Virtualization POC (#21438) 2022-10-11 15:06:00 +02:00
Cody Leff
070b865e32
chore(explore): Add tests for getControlValuesCompatibleWithDatasource (#21744) 2022-10-11 08:31:46 -03:00
Stephen Liu
db075d4157
chore(deps): bump react-map-gl from 4.0.10 to 6.1.19 (#21748) 2022-10-11 14:47:25 +08:00
JUST.in DO IT
d7ee443a13
fix(sqllab): resultset disappeared on switching tabs (#21741) 2022-10-10 10:06:34 -07:00
Shubham Sinha
20b9dc8444
feat(embedded-dashboard): Share Switchboard State for Sending Events from Plugins (#21319) 2022-10-10 16:27:43 +03:00
Hugh A. Miles II
aef6217a80
fix: Gsheets takes 2 clicks to save (#21740) 2022-10-07 19:40:15 -04:00
JUST.in DO IT
0c461497ff
chore(sqllab): refactor addQueryEditor for new tab (#21711) 2022-10-07 17:57:39 -03:00
Jakob Miksch
ca3abffb81
docs: wording in template (#21491) 2022-10-07 15:21:39 -03:00
JUST.in DO IT
35d9cb38a8
fix(explore): chart link is broken without localStorage (#21707) 2022-10-07 15:11:04 -03:00
Michael S. Molina
200bed6f7e
feat: Shows related dashboards in Explore (#21685) 2022-10-07 12:59:49 -03:00
Michael S. Molina
0ff1e49e3c
fix: Null values on Treemap right-click (#21722) 2022-10-07 08:08:10 -03:00
Mayur
61319fd759
feat(sqllab): save query parameters in database (#21682) 2022-10-07 12:49:14 +05:30
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