Commit Graph

3306 Commits

Author SHA1 Message Date
Michael S. Molina
5e64211bdb
fix: Handles disabled options on Select All (#22830) 2023-02-09 08:31:58 -05:00
Antonio Rivero Martinez
ddd8d17aa4
fix(ssh_tunnel): Fix bug on database edition for databases with ssh tunnels (#23006)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2023-02-08 14:58:42 -06:00
Kamil Gabryjelski
98bf878d6e
fix(explore): Enable saving metric after changing title (#23020) 2023-02-07 23:23:52 +01:00
Lily Kuang
493181c977
chore: refactor SliceAdder for react 17 and react 18 (#23009) 2023-02-07 13:38:32 -08:00
Cody Leff
32fac77b5f
feat(datasets): Populate Usage tab in Edit Dataset view (#22670) 2023-02-07 10:34:30 -08:00
Artem Shumeiko
773d2a54a3
chore: Localization of superset pt. 3 (#22938)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-07 09:21:23 -07:00
JUST.in DO IT
a1b7eb3870
fix(sqllab): clean unwanted scrollbar (#22990) 2023-02-07 08:05:09 -07:00
Kamil Gabryjelski
7d5c86b44c
fix(explore): Save button incorrectly disabled when adding new metric with dnd (#23000) 2023-02-06 16:19:02 -05:00
Antonio Rivero Martinez
cf395ac2d8
feat(ssh_tunnel): SSH Tunnel Switch extension (#22967) 2023-02-03 15:34:54 -08:00
Michael S. Molina
c9b9b7404a
fix: Form data was not being passed to save/update slice (#22989) 2023-02-03 14:04:17 -05:00
Kamil Gabryjelski
5d550f449a
fix(explore): Mark time range dashboard filter with warning icon (#22984) 2023-02-03 12:26:05 -05:00
Michael S. Molina
b63ea6386f
fix: Prevents last temporal filter removal (#22982) 2023-02-03 10:50:12 -05:00
Kamil Gabryjelski
32d497785a
fix(native-filters): Don't include description icon in truncation calc (#22941) 2023-02-03 16:13:59 +01:00
Lyndsi Kay Williams
4970df0a65
test: Clean up QueryList test warnings (#22972) 2023-02-03 07:27:15 -06:00
Lyndsi Kay Williams
39f15b8d95
test: Fix act errors in DatabaseList test (#22970) 2023-02-03 07:25:52 -06:00
Phillip Kelley-Dotson
c05871eb37
feat: add tabs to edit dataset page (#22043)
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
2023-02-02 19:36:11 -06:00
Josh Soref
78ede590ee
chore(frontend): Spelling (#19676)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-02-02 11:23:11 -07:00
Lyndsi Kay Williams
e13ebb6134
test: Clean up AdhocFilterOption test warnings (#22915) 2023-02-01 16:37:02 -06:00
Cody Leff
b410dbb5dd
fix(datasets): Fix property selection on JSON response (#22944) 2023-02-01 11:58:03 -08:00
Lyndsi Kay Williams
260ac40b23
feat: Enable new dataset creation flow II (#22835) 2023-02-01 09:49:25 -06:00
Michael S. Molina
ebed50fd12
fix: Remove button is broken for metrics on Explore (#22940) 2023-02-01 10:33:42 -05:00
Kamil Gabryjelski
eaf53dbb27
fix(native-filters): Ensure that time range filter loses focus after closing modal (#22937) 2023-02-01 16:32:49 +01:00
Diego Medina
02cd75be8d
chore: Migrate /superset/tables/* to API v1 (#22501) 2023-02-01 12:45:57 +00:00
Lily Kuang
8dea7e151e
chore: upgrade react-router-dom to 5.3.4 (#22878) 2023-01-31 13:09:57 -08:00
Arash Afghahi
16800cc14c
fix: fix warning in ssh tunnel (#22912) 2023-01-31 14:06:15 -05:00
Lily Kuang
88119a9930
chore: migrate @vx/responsive to @visx/responsive for react 18 upgrade (#22815) 2023-01-31 10:55:29 -08:00
Cody Leff
a35aeb9d6b
fix(fab): Fix regression on FAB dropdowns (#22889) 2023-01-31 10:39:43 -08:00
Michael S. Molina
e9423c3c87
fix: Time range filter applied on a dashboard is not persisting to the chart explore (#22920) 2023-01-31 12:01:47 -05:00
Michael S. Molina
30abefb519
feat: Adds the ECharts Sunburst chart (#22833) 2023-01-31 11:39:18 -05:00
JUST.in DO IT
19779d7517
fix(sqllab): inconsistent addNewQueryEditor behavior (#21999) 2023-01-30 16:54:03 -07:00
Artem Shumeiko
c839d0daf5
chore: Localization of superset pt. 2 (#22772) 2023-01-30 09:20:43 -07:00
Diego Medina
b94052e438
chore: migrate /sql_json and /results to apiv1 (#22809) 2023-01-30 11:02:34 -05:00
Jack Fragassi
54f7a248a6
chore: deprecate /superset/filter/... endpoint, migrate to apiv1 (#22882) 2023-01-30 11:02:49 +00:00
Igor Șincariov
6cf434e5c1
feat: Add excel export (#22006)
Co-authored-by: Igor Șincariov <igorsinc@pm.me>
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2023-01-27 11:23:10 -07:00
Diego Medina
14878a160f
chore: Migrate /superset/queries/<last_updated_ms> to API v1 (#22611) 2023-01-27 13:20:56 -05:00
Diego Medina
bed10a0e2b
chore: deprecate /superset/slice_json/<int:slice_id> and /superset/annotation_json/<int:layer_id> (#22496) 2023-01-27 11:50:19 -05:00
Mayur
8226110be8
fix: revert RESTful apis and react view for RLS (#22818) 2023-01-26 18:04:00 -08:00
JUST.in DO IT
0045816772
fix(sqllab): reverts #22695 (#22861) 2023-01-26 14:15:42 -07:00
Geido
3fd4718ecb
fix: Convert TIMESTAMP_* to TIMESTAMP in Snowflake (#22872) 2023-01-26 19:49:44 +01:00
Evan Rusackas
6998f65e1d
chore: removing unnecessary double spaces, a.k.a. "shotgun holes" (#22852) 2023-01-26 11:48:41 -07:00
Lily Kuang
2400179fb0
chore: migrate react-diff-viewer to react-diff-viewer-continued for react 18 upgrade (#22834) 2023-01-26 09:01:31 -08:00
Stepan
5da09bf341
fix(Annotation Layers): Error when render options with renamed columns (#22453) 2023-01-25 21:25:34 +02:00
Geido
9ed2326a20
feat: Move cross filters to Dashboard (#22785) 2023-01-25 18:01:06 +01:00
Lyndsi Kay Williams
262c947273
test: Fix act errors in DatabaseModal test (#22846) 2023-01-25 07:36:19 -06:00
Lyndsi Kay Williams
ddd5cd3aec
test: Fix act errors in DatasourceControl test (#22845) 2023-01-25 07:36:05 -06:00
Jack Fragassi
050cbe938f
chore: Migrate /superset/recent_activity/<user_id>/ to /api/v1/ (#22789) 2023-01-25 09:26:50 +00:00
JUST.in DO IT
02a3c0d0e6
fix(sqllab): type error on renderBigIntStr (#22813) 2023-01-24 10:44:02 +13:00
Cody Leff
2a30bbce1a
chore: Convert direct uses of antd icons to 'Icons' component (#22516) 2023-01-23 14:42:27 -07:00
Beto Dealmeida
3084763eb7
fix: allow CSV upload in Other db (#22807) 2023-01-23 11:50:38 -08:00
Michael S. Molina
d479009e35
fix: Unexpected error on simple filter (#22814) 2023-01-23 10:25:28 -05:00
JUST.in DO IT
83893f8ff2
chore(dashboard): Log events for download as image (#22793) 2023-01-20 08:59:50 -07:00
Hugh A. Miles II
b9686fe6fa
feat: add ssh tunneling to dynamic form for Database Connection UI (#22689)
Co-authored-by: Antonio Rivero Martinez <38889534+Antonio-RiveroMartnez@users.noreply.github.com>
Co-authored-by: Antonio Rivero <antonioriverocode@gmail.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2023-01-20 17:41:39 +02:00
Michael S. Molina
1fe4a71f5b
feat: Adds a separator to Select All option (#22776) 2023-01-19 12:22:57 -05:00
Michael S. Molina
af73c59b0a
feat: Generic X-axis improvements (#22707) 2023-01-19 12:22:39 -05:00
JUST.in DO IT
d591cc8082
fix(sqllab): Invalid schema fetch for deprecated value (#22695) 2023-01-19 10:19:17 -07:00
Ville Brofeldt
577ac81686
chore(ci): fix numpy type errors and revert #22610 (#22782) 2023-01-19 14:53:48 +02:00
Kamil Gabryjelski
39c96d0568
chore: Migrate .less styles to Emotion (#22474) 2023-01-19 09:17:10 +01:00
Yash Mehta
aca2f1b201
chore: adding missing examples in the gallery for some chart types (#22766) 2023-01-18 10:16:40 -07:00
cccs-RyanK
02c9242d68
feat: Select all for synchronous select (#22084)
Co-authored-by: GITHUB_USERNAME <EMAIL>
2023-01-18 07:41:58 -05:00
Antonio Rivero Martinez
ad758c0802
feat(ssh_tunnel): Rename allow_ssh_tunneling and change the default value to False (#22723) 2023-01-17 19:11:41 -08:00
Lyndsi Kay Williams
c87f654901
feat: Enable new dataset creation flow (#22610) 2023-01-17 20:05:40 -06:00
Lyndsi Kay Williams
08078753b7
fix: Report screenshot cut off on left and right sides (#22614) 2023-01-17 12:08:00 -06:00
Michael S. Molina
d2a355b2fb
feat: Updates button styles of Modal pre-defined functions (#22737) 2023-01-16 12:48:22 -05:00
Diego Medina
3ed288d4ee
chore: Migrate /superset/stop_query/ to API v1 (#22624) 2023-01-16 14:07:52 +00:00
Cody Leff
f5c404fc51
fix(explore): Restore missing dataset states (#22693) 2023-01-13 09:42:38 -07:00
Christian Dreier
91850ebc57
fix: bootstraping frontend (#22720)
Co-authored-by: Christian Dreier <dreier.christian@gmail.com>
2023-01-13 15:04:24 +02:00
Lyndsi Kay Williams
2ccdb72830
fix: Spacing in alert modal (#22709) 2023-01-12 21:51:22 -06:00
EugeneTorap
1a0de496ee
chore: Move charts to src/pages folder (#22230) 2023-01-12 15:41:59 -05:00
AAfghahi
5a422b31c5
fix: alert modal bug fix (#22688) 2023-01-12 08:26:18 -05:00
Antonio Rivero Martinez
539936522f
feat(ssh_tunnel): SQLAlchemy Form UI (#22513)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-11 19:29:52 +00:00
JUST.in DO IT
a8f3a4fb6e
fix(sqllab): Overflow bigint in json-tree view (#22609) 2023-01-11 10:38:59 -07:00
Ville Brofeldt
7b15e6e3c7
fix(nav): make doc and bug buttons customizable (#22682) 2023-01-11 19:24:18 +02:00
Artem Shumeiko
f3696ceef3
chore: Localization of several charts and elements (#22150)
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
2023-01-11 09:42:54 -07:00
Diego Medina
44c9cf4de5
chore: Migrate /superset/search_queries to API v1 (#22579) 2023-01-11 09:22:41 -07:00
Ville Brofeldt
08f45ef207
fix(viz-gallery): respect denylist in viz gallery (#22658) 2023-01-10 19:08:30 +02:00
Kamil Gabryjelski
399f6e3ddc
feat(dashboard): Display a loading spinner while dashboard is being saved (#22588) 2023-01-10 16:48:51 +01:00
Mayur
159dcd7e62
feat(RLS): RESTful apis and react view for RLS (#22325) 2023-01-09 13:34:20 -07:00
Eric Briscoe
02e8511563
fix(dashboard): Add safety checks to areas that throw runtime errors in dashboard filters (#22648) 2023-01-09 11:40:15 -08:00
Ville Brofeldt
5b2ca97341
fix(sqllab): remove link to sqllab if missing perms (#22566) 2023-01-09 14:02:36 +02:00
EugeneTorap
30dab3a00a
chore: Bump flask libs (#22355) 2023-01-09 10:10:31 +00:00
Zamar
001100ddf0
feat(db_engine_specs): big query cost estimation (#21325)
Co-authored-by: zamar roura <zamar.roura@cabify.es>
Co-authored-by: Zamar Roura <zamarfazal@gmail.com>
2023-01-09 08:56:19 +02:00
Eric Briscoe
fad873c100
fix(dashboard): Add runtime safety checks and improved tests (#22457) 2023-01-06 14:45:49 -08:00
Yash Mehta
6e4d6e599b
chore: adding missing examples in the gallery for several chart types (#22597) 2023-01-05 11:43:32 +02:00
Lily Kuang
82b0c23fb2
chore: upgrade react-checkbox-tree (#22583) 2023-01-04 10:50:21 -08:00
Lily Kuang
11c9c8a00c
chore: upgrade interweave (#22572) 2023-01-04 09:15:41 -08:00
Lyndsi Kay Williams
cf156f17bb
chore: Use visibilityToggle prop to control password input visibility (#22363) 2023-01-03 18:37:07 -06:00
Musa Hamada
c2ace8dacb
fix(explore): datasource_type typo (#22543)
Co-authored-by: musa.hammadi <musa.hammadi@infostrategic.com>
2022-12-31 10:00:58 +00:00
Ville Brofeldt
b6d39d194c
feat(trino): support early cancellation of queries (#22498) 2022-12-24 06:31:46 +02:00
John Bodley
9e81c3a119
feat: update time comparison choices (again) (#22458) 2022-12-24 10:13:35 +13:00
Hugh A. Miles II
9b26794419
chore: Update dataset_id & dataset_type datasource_id & datasource_type for SPA explore (#22461) 2022-12-22 19:46:00 -05:00
Ville Brofeldt
b954f8f560
feat(welcome): make examples tab customizable (#22302) 2022-12-21 09:28:41 +02:00
Cody Leff
7a94f3afc6
fix(chart-list): Hide 'Dashboards added to' column. (#22475) 2022-12-20 14:50:18 -08:00
Lyndsi Kay Williams
1bab5b9eba
fix: Fixed spacing in alert modal (#22066) 2022-12-20 11:28:01 -06:00
Lyndsi Kay Williams
6b20e74442
fix: Create dataset polish/bug fix (#22262) 2022-12-20 11:05:40 -05:00
Lyndsi Kay Williams
fa919f3d8c
test: Fix act errors in VizTypeControl test (#22424) 2022-12-15 10:27:07 -06:00
Hiroki Sawano
9f3c43f839
fix(dashboard): Update owners of dashboard list after editing (#22383) 2022-12-15 09:18:08 +02:00
Elizabeth Thompson
608ffcbfb9
fix: make database connection modal ace fields uncontrolled (#22350) 2022-12-12 12:36:41 -08:00
Kamil Gabryjelski
605cfa045a
perf: Prevent rerendering and re-querying metadata of filters in horizontal bar (#22389) 2022-12-12 16:07:38 +01:00
Kamil Gabryjelski
a5a0cf9ffb
feat: Add oneLine mode to AsyncSelect (#22379) 2022-12-12 16:01:29 +01:00
Elizabeth Thompson
368e7e6b08
fix: make sure that gsheets db connection form loads properly (#22361) 2022-12-09 17:28:15 -08:00
Ville Brofeldt
012d1300c1
chore(viz): rename v1 and v2 charts (#22369) 2022-12-09 22:51:37 +02:00
Cody Leff
3b45ad8b97
feat(dashboard): Add edit button to dashboard native filters filter cards (#22364)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
2022-12-09 15:00:15 +01:00
Michael S. Molina
3a442e09bf
fix: Button resizing in horizontal filter bar (#22365) 2022-12-08 13:38:56 -05:00
Kamil Gabryjelski
de4f50909e
fix: Add tooltip to dropdown trigger in horizontal filter bar (#22373) 2022-12-08 18:23:44 +01:00
Michael S. Molina
1edfd7e1e1
fix: DropdownContainer items width calculation (#22371) 2022-12-08 12:03:19 -05:00
Geido
f64423a740
fix: Time filter position and click in Horizontal FilterBar (#22338) 2022-12-08 10:58:16 +01:00
Lyndsi Kay Williams
49f1cfc3f9
fix: Change dropdown in Alert/Report modal to use javascript for conditional rendering instead of css (#22360) 2022-12-07 18:24:52 -06:00
Kamil Gabryjelski
da64fa2525
fix: Reordering native filters ignored by filter bar (#22362) 2022-12-07 18:13:37 -05:00
Cemre Mengu
08f2c9b305
refactor(frontend): Make dashboard search box the first filter (#19721) 2022-12-07 15:56:53 -07:00
Anthony Gainor
0dbaaad83d
feat(explore-popover): Show disabled 'Save' button in explore popover (#21318)
Co-authored-by: Herbert Gainor <herbert.gainor@preset.io>
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2022-12-07 12:25:54 -05:00
Cody Leff
2731cbacbf
fix: Broken effect in useCSSTextTruncation hook (#22324) 2022-12-07 16:51:30 +02:00
Kamil Gabryjelski
3a4131ffc7
fix: Missing spacing in adhoc filters popover (#22346) 2022-12-07 08:37:03 +01:00
Kamil Gabryjelski
d2b76a8b1a
fix: Styling fixes for horizontal filter bar (#22337) 2022-12-06 21:04:17 +01:00
Lyndsi Kay Williams
4cf40fb286
test: Fix act errors in FixedOrMetricControl test (#22334) 2022-12-06 07:27:02 -06:00
Geido
e1ffdb95b1
chore: Add Horizontal FilterBar e2e tests (#22305) 2022-12-06 15:01:31 +02:00
Lyndsi Kay Williams
04b7a26365
feat: Flow for tables that already have a dataset (#22136) 2022-12-05 15:43:54 -06:00
Antonio Rivero Martinez
96de314c0c
fix(sqllab): Fix autocomplete for SQL Lab (#22329) 2022-12-05 13:15:27 -07:00
AAfghahi
5e1b8170ca
fix: add columns back into SQL Lab to Explore Flow (#22320) 2022-12-05 12:17:31 -07:00
Kamil Gabryjelski
2d30e9cbe9
feat: New time range label (#22317) 2022-12-05 19:46:15 +01:00
AAfghahi
aafb993ee2
fix: Display Error Messages in DB Connection Modal (#22200) 2022-12-05 10:02:17 -08:00
EugeneTorap
f3bf3ec2ed
chore: Remove actions prop and refactor code in SQL Lab (#22231) 2022-12-05 12:12:52 +01:00
Kamil Gabryjelski
b2d909f529
fix(dashboard): Fix dashboard's left side being cut off (#22319) 2022-12-05 12:03:23 +01:00
Eric Briscoe
92bc641067
fix(dashboard): dashboard actions fail when bad component id exists in children array (#22323) 2022-12-04 19:35:30 -08:00
Michael S. Molina
aba3b81e13
fix: DropdownContainer resize algorithm (#22318) 2022-12-04 16:52:27 +02:00
Diego Medina
09bb1cc3b5
fix(alerts): cron picker alignment issues (#22274) 2022-12-02 14:20:38 -07:00
Cody Leff
997950ecf5
chore(native-filters): Grid units, type guard, feature flag guard (#22307) 2022-12-02 19:55:03 +01:00
Elizabeth Thompson
5c77f1ad2a
feat: add databricks form (#21573) 2022-12-02 10:36:27 -08:00
Geido
df91664217
feat: Programmatically open "more filters" dropdown in Horizontal Filter Bar (#22276)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-12-02 15:03:01 +02:00
Diego Medina
aa97ba4509
feat: root context provider extension point (#22188) 2022-12-01 13:29:51 -08:00
Kamil Gabryjelski
eb6045adfa
feat(native-filters): Adjust filter components for horizontal mode (#22273) 2022-12-01 15:41:19 -05:00
Michael S. Molina
8cf572858c
feat: Automatically closes the DropdownContainer when scrolling outside of the component (#22287) 2022-12-01 10:53:52 -05:00
Stephen Liu
309c064cc8
fix(dashboard): chart doesn't resize when tab switch (#22009) 2022-12-01 08:38:23 -05:00
Michael S. Molina
ead2834a77
fix: Horizontal filter bar resizing (#22286) 2022-12-01 08:11:22 -05:00
Cody Leff
04e0bb9f36
fix(native-filters): Misc spacing fixes for horizontal and horizontal overflow filter bar items (#22288) 2022-12-01 12:49:00 +01:00
Michael S. Molina
afc10a247b
feat: Adds overflow to the DropdownContainer popover (#22250) 2022-12-01 13:24:02 +02:00
Cody Leff
ffff3e4bf4
fix(native-filters): Add empty text node before OutPortal (#22289) 2022-12-01 10:56:11 +01:00
Michael S. Molina
3ffe7828a7
feat: Uses new table component in Drill to Detail (#22173) 2022-11-30 15:20:27 -05:00
Ville Brofeldt
b1f8fd4f64
chore(superset-ui): remove deprecated fields from QueryObject (#22272) 2022-11-30 15:54:11 +02:00
Cody Leff
91d19056cf
fix(dashboard): Change horizontal filter bar divider truncation logic (#22252) 2022-11-30 14:09:19 +01:00
Cody Leff
4657250bcf
chore(dashboard): Fix missing React key errors (#22266) 2022-11-30 07:36:16 -05:00
Cody Leff
969c9634f6
fix(dashboard): Force native filters into vertical orientation when FF off (#22265) 2022-11-29 23:47:48 +02:00
Cody Leff
a642d126f8
fix(dashboard): Fix FilterWithDataMask typing and add null check (#22260) 2022-11-29 20:40:09 +02:00
Kamil Gabryjelski
389e44e1c5
fix: Apply border radius and fix height for MetadataBar (#22010) 2022-11-29 15:10:18 +01:00
Cody Leff
435926b89e
fix(dashboard): Add correct icon, label and badge to horizontal native filters dropdown button (#22211)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-11-28 14:12:57 +01:00
Cody Leff
93158ea649
fix(dashboard): Fix hover labels for horizontal overflow native filter dividers (#22210)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-11-28 12:35:13 +01:00
Cody Leff
4b96474d6c
fix(dashboard): Fix filter card positioning for horizontal native filters (#22212) 2022-11-28 12:34:50 +01:00
Yongjie Zhao
0fdc520797
fix: the TimePicker overlay the AdhocFilter (#22234) 2022-11-28 17:12:40 +08:00
Yongjie Zhao
22fab5e58c
feat: Axis sort in the Bar Chart V2 (#21993) 2022-11-26 22:06:26 +08:00
JUST.in DO IT
cc2334e58c
chore(dashboard): Ignore empty json value for overwrite confirm (#22214) 2022-11-26 19:44:27 +08:00
Eric Briscoe
eba7b3d074
feat: Adds virtualization option to antd based Table component (#22135)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-11-25 10:17:42 -05:00
Kamil Gabryjelski
d1e576cbd1
fix(explore): Prevent infinite rerenders when editing dataset (#22219) 2022-11-25 16:00:21 +01:00
Cody Leff
64939f2872
feat: Make filters and dividers display horizontally in horizontal native filters filter bar (#22169)
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2022-11-25 12:59:10 +02:00
Eric Briscoe
1831e8c927
fix: (dashboard) Adds optional chaining to avoid runtime error (#22213) 2022-11-24 18:08:22 +01:00
Kamil Gabryjelski
1809d2b957
fix(explore): Value undefined and Unhashable type errors (#22207) 2022-11-23 20:45:10 +01:00
Maxime Beauchemin
888f43c6ad
chore: rename 'Change dataset' action to 'Swap dataset' (#22197) 2022-11-23 10:19:59 -08:00
Daniel Vaz Gaspar
a77b2d6ebf
chore: remove annotation layer FAB CRUD model view (#22178) 2022-11-22 16:19:57 +00:00
AAfghahi
f885a18fec
fix: Empty Error Alert Modal (#22186) 2022-11-21 22:18:00 -05:00
Elizabeth Thompson
78a4bd6bb2
fix: don't stringify extraJson in form (#22171) 2022-11-21 12:57:17 -08:00
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
Daniel Vaz Gaspar
7c6fabb033
chore: deprecate /superset/fetch_datasource_metadata mig to API v1 (#22102) 2022-11-14 08:51:26 +00: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
Michael S. Molina
97e3e790a3
feat: Adds the DropdownContainer component (#21974) 2022-11-03 14:53:50 +01: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
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
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
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
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
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
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
Michael S. Molina
47b1e0ca9d
feat: Disables HTML rendering in Toast by default (#21853) 2022-10-19 07:44:50 -03:00
Andrew
df7840c041
chore: Added translate functions (#21816) 2022-10-19 09:54:16 +08: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
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
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
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
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
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
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
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
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
EugeneTorap
15c3c34268
chore: refactor AceEditorWrapper to functional component (#21532) 2022-09-27 18:04:34 -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
AAfghahi
c4638fa2b9
feat: Dataset Creation Footer Component (#21241)
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
2022-09-23 18:40:10 -05:00
JUST.in DO IT
e2b77a7543
fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21316) 2022-09-23 14:28:42 -03: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
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
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
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
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
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
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
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
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
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
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
Kamil Gabryjelski
076af6003a
fix(explore): Incorrect conversion from simple bool filter to custom sql (#21293) 2022-09-01 17:06:42 +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
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
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
Cody Leff
5811262cf2
Add warnings if feature flags are read before initialization. (#21201) 2022-08-25 16:53:18 -06: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
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
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
Diego Medina
15b9f83150
chore: support trailing slashes in database api (#21123) 2022-08-22 15:15:04 +08:00
EugeneTorap
7c0963f6ae
chore: refactor FilterableTable to functional component (#21136) 2022-08-22 14:19:36 +08: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
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
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
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
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
Antonio Rivero Martinez
e2206a7151
Annotations: (#20720)
- Fix scrollbar when removing annotations
2022-08-02 14:31:48 -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
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
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
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
Kamil Gabryjelski
46deb79f50
fix: Fix chart title truncating when Chrome is zoomed out (#20847) 2022-07-26 10:21:17 +02: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