Commit Graph

416 Commits

Author SHA1 Message Date
dependabot[bot] bdc6a1d4e3
chore(deps-dev): bump @types/jquery in /superset-frontend (#17452)
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery) from 3.3.32 to 3.5.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery)

---
updated-dependencies:
- dependency-name: "@types/jquery"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 13:47:37 +02:00
dependabot[bot] 5622531a2f
chore(deps-dev): bump eslint-import-resolver-webpack (#17453)
Bumps [eslint-import-resolver-webpack](https://github.com/import-js/eslint-plugin-import) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/resolvers/webpack/v0.13.1...resolvers/webpack/v0.13.2)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-webpack
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 12:59:03 +02:00
Ville Brofeldt 18c7aec985
chore: remove deprecated selects and deps (#17522) 2021-11-23 12:41:16 +02:00
dependabot[bot] 29bc9f424b
chore(deps-dev): bump @babel/cli in /superset-frontend (#17500)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.15.7 to 7.16.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.0/packages/babel-cli)

---
updated-dependencies:
- dependency-name: "@babel/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 11:17:40 +02:00
dependabot[bot] 8d8fbac838
chore(deps-dev): bump @types/react-loadable in /superset-frontend (#17454)
Bumps [@types/react-loadable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-loadable) from 5.5.4 to 5.5.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-loadable)

---
updated-dependencies:
- dependency-name: "@types/react-loadable"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 15:17:39 +02:00
Yongjie Zhao 9070b6b19c
refactor(monorepo): stage 1 (#17427)
* skip geojson in pre-commit

update prettier

* update package.json

update package.json

u package

pkg

pkg2

* lint main repo 2

lint main repo

lint

* lintrc

lintrc 2

lintrc2

lintrc 3

lintrc

* fix import

* refresh lock file

* fix break line make @ts-ignore invalid

* update rat-excludes

rat-excludes

update rat-excludes

* update eslintrc.js

* lint lint lint
2021-11-17 15:31:36 +08:00
Evan Rusackas 96bdcc3493
chore: bumping react syntax highlighter and thusly prismjs (#17439) 2021-11-16 08:55:00 -07:00
Yongjie Zhao 7f4c240810
chore: bump superset-ui 0.18.25 (#17438) 2021-11-15 22:21:22 +08:00
Ville Brofeldt e2a429b0c8
feat(explore): adhoc column expressions [ID-3] (#17379)
* add support for adhoc columns to api and sqla model

* fix some types

* fix duplicates in column names

* fix more lint

* fix schema and dedup

* clean up some logic

* first pass at fixing viz.py

* Add frontend support for adhoc columns

* Add title edit

* Fix showing custom title

* Use column name as default value in sql editor

* fix: Adds a loading message when needed in the Select component (#16531)

* fix(tests): make parquet select deterministic with order by (#16570)

* bump emotion to help with cache clobbering (#16559)

* fix: Support Jinja template functions in global async queries (#16412)

* Support Jinja template functions in async queries

* Pylint

* Add tests for async tasks

* Remove redundant has_request_context check

* fix: impersonate user label/tooltip (#16573)

* docs: update for small typos (#16568)

* feat: Add Aurora Data API engine spec (#16535)

* feat: Add Aurora Data API engine spec

* Fix lint

* refactor: sql_json view endpoint: encapsulate ctas parameters (#16548)

* refactor sql_json view endpoint: encapsulate ctas parameters

* fix failed tests

* fix failed tests and ci issues

* refactor sql_json view endpoint: separate concern into ad hod method (#16595)

* feat: Experimental cross-filter plugins (#16594)

* fix:fix get permission function

* feat: add cross filter chart in charts gallery under FF

* chore(deps): bump superset-ui to 0.18.2 (#16601)

* update type guard references

* fix imports

* update series_columns schema

* Add changes that got lost in rebase

* Use current columns name or expression as sql editor init value

* add integration test and do minor fixes

* Bump superset-ui

* fix linting issue

* bump superset-ui to 0.18.22

* resolve merge conflict

* lint

* fix select filter infinite loop

* bump superset-ui to 0.18.23

* Fix auto setting column popover title

* Enable adhoc columns only if UX_BETA enabled

* put back removed test

* Move popover height and width to constants

* Refactor big ternary expression

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Rob DiCiuccio <rob.diciuccio@gmail.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: joeADSP <75027008+joeADSP@users.noreply.github.com>
Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com>
Co-authored-by: simcha90 <56388545+simcha90@users.noreply.github.com>
2021-11-15 12:50:08 +02:00
Yongjie Zhao ffa55f7b7f
chore: add dependencies for monorepo (#17403) 2021-11-12 11:13:51 +08:00
Yongjie Zhao b58f94ad2e
chore: bump @typescript-eslint/eslint-plugin to 5.3.0 (#17367) 2021-11-08 23:48:51 +08:00
Yongjie Zhao ee87b01766
chore: bump superset-ui 0.18.20 (#17362) 2021-11-08 13:04:29 +08:00
Geido 59a6502efe
fix: Color consistency (#17089)
* Update label colors on the fly

* Clean up

* Improve getFormDataWithExtraFilters

* Improve code structure

* Remove labelColors from formData

* Exclude label_colors from URL

* Refactor color scheme implementation

* Clean up

* Refactor and simplify

* Fix lint

* Remove unnecessary ColorMapControl

* Lint

* Give json color scheme precedence

* Add label_colors prop in metadata

* Separate owners and dashboard meta requests

* Remove label_colors control

* bump superset-ui 0.18.19

* Fix end of file

* Update tests

* Fix lint

* Update Cypress

* Update setColorScheme method

* Use Antd modal body
2021-11-03 19:22:38 +02:00
Ville Brofeldt 9515ba68dc
chore: bump superset-ui to 0.18.17 (#17310) 2021-11-02 09:13:33 +02:00
AAfghahi 5948a9fd02
fix(AlertReportModal): Text Area Change (#17176)
* Text Area Change

* added unique key to component

* tests passing

* changed css

* data flow and naming convention
2021-10-29 15:30:20 -07:00
John Bodley ce558e0764
chore: bump superset-ui to 0.18.17 (#17270)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-10-28 14:44:57 -07:00
Yongjie Zhao be6cca561d
chore: bump deckgl 0.4.13 (#17266) 2021-10-28 16:24:15 +08:00
Yongjie Zhao faf7c74e44
chore: bump superset-ui v0.18.16 (#17251)
* chore: import ES module from chart-controls

* chore: bump superset-ui v0.18.16
2021-10-27 23:35:48 +08:00
Yongjie Zhao dbf5225e1f
chore: bump to superset-ui 0.18.15 (#17232)
* bump 0.18.15

* prettier and update lock file
2021-10-26 19:25:34 +08:00
Phillip Kelley-Dotson 4cc095c10a
update ui packages to 18.14 (#17151) 2021-10-19 08:36:58 -07:00
David Aaron Suddjian 4a9107d7f1
chore: upgrade highlight.js (#17067) 2021-10-15 10:17:45 -07:00
Phillip Kelley-Dotson 98f6edd16a
upgrade to 18.3 (#17121) 2021-10-15 08:51:45 -07:00
Ville Brofeldt e055e59a19
chore: remove redundant po2json dev dependency (#17129) 2021-10-15 15:25:39 +03:00
Lyndsi Kay Williams 732e5891e5
test: Cypress 7.0.0 migration (#16911)
* Copied changes from original PR, minus package-lock.json files

* Reverted command name change

* Fixed package.json in superset-frontend

* Test adjustments
2021-10-14 17:01:11 -07:00
John Bodley b9ff85d9ea
chore(engine): Translate fractional time grains—requires @superset-ui bump (#17078)
* chore(engine): Translate fractional time grains

* Bump @superset-ui

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-10-12 21:40:48 -07:00
Yongjie Zhao 6cdb324377
chore: bump superset-ui 0.18.10 (#17009) 2021-10-07 19:37:41 +08:00
David Aaron Suddjian 1cd0124fd5
chore: upgrade babel (#16885)
* upgrade babel versions

* upgrade babel eslint parser

* fix test
2021-10-05 15:02:57 -07:00
Erik Ritter 2757b93fea
fix: Use production build config for cypress tests (#16978)
* fix: Use production build config for cypress tests

* set usedExports to global
2021-10-05 11:13:33 -07:00
Grace Guo 85e3cec521
chore:upgrade superset-ui dependencies (#16965) 2021-10-04 15:31:36 -07:00
Michael S. Molina 05632b9804
chore: Moves the stylesheets folder to the assets folder (#16880)
* chore: Moves the stylesheets folder to the assets folder

* Changes {src} to src
2021-09-30 09:28:38 -03:00
Michael S. Molina 27a40d2a67
chore: Upgrades Storybook to version 6.3.8 to make it compatible with Webpack 5 (#16857) 2021-09-27 14:51:53 -03:00
Ville Brofeldt f703c12ae8
chore: bump superset-ui to 0.18.8 (#16850) 2021-09-27 11:54:05 +03:00
Ville Brofeldt a3413197de
chore: upgrade to Node 16 (#16809)
* chore: upgrade to Node 16

* add docs

* fix test
2021-09-25 07:26:35 +02:00
Erik Ritter c933250dad
chore: Remove immutable.js (#16823) 2021-09-23 22:23:42 -07:00
Ville Brofeldt 4086bedb68
chore: bump superset to 0.18.6 (#16807) 2021-09-23 14:03:03 +03:00
Michael S. Molina 99d15b25b0
chore: Moves the images folder to the assets folder (#14429)
* chore: Moves the images folder to the assets folder

* Rebases
2021-09-22 10:28:51 -03:00
Kamil Gabryjelski 486e0d412c
chore: Upgrade Webpack to v5 (#16701)
* Upgrade Webpack to v5

* Remove mapbox hack

* Replace url-loaders and file-loaders with asset modules

* Remove 1 rule

* Change --colors to --color

* Remove invalid option (--no-progress)

* Remove url-loader, bump plugin

* Fix AnnotationLayer formula check

* Remove redundant tests

* Bump cypress packages

* Remove old comment

* Fix tests

* Remove checks for number of scripts in markdown test

* Cosmetic changes

* Add tests

* Fix test

* Fix test

* Fixes test warnings

* disable flaky test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2021-09-22 14:24:54 +03:00
simcha90 985aa06439
chore: Upgrade immer package version (#16741)
* fix:fix get permission function

* chore: update immer

* chore: update immer
2021-09-20 09:36:56 +03:00
Yongjie Zhao 67b13308ca
chore: bump superset-ui 0.18.5 (#16725) 2021-09-18 08:06:08 +08:00
Ville Brofeldt 836b5e2c86
feat: add support for generic series limit (#16660)
* feat: add support for generic series limit

* refine series_columns logic

* update docs

* bump superset-ui

* add note to UPDATING.md

* remove default value for timeseries_limit
2021-09-16 12:09:08 +03:00
Ville Brofeldt 7cbced8833
chore(deps): bump superset-ui to 0.18.2 (#16601) 2021-09-06 12:20:29 +03:00
Elizabeth Thompson a0db5367d2
bump emotion to help with cache clobbering (#16559) 2021-09-02 13:48:21 -07:00
Yongjie Zhao 2e11b05d73
chore: bump superset-ui to 0.18.1 (#16563) 2021-09-02 09:03:43 +03:00
Ville Brofeldt 75a1b19174
chore: bump superset-ui to 0.18.0 (#16544) 2021-09-02 13:16:03 +08:00
Geido db11c3e6c8
feat: Draggable and Resizable Modal (#16394)
* Implement resizable prop

* Implement resizableConfig

* Implement fluid Syntax Highlighter

* Implement draggable

* Destroy on close

* Implement draggableConfig

* Enhance with footer calculation

* Add new line

* Make whole header draggable trigger
2021-08-25 16:11:16 +03:00
Ville Brofeldt 5eded9fe1b
chore(viz): bump superset-ui to 0.17.87 (#16420) 2021-08-24 11:10:23 -07:00
Erik Ritter a9f502b67b
fix: big number default date format (#16383) 2021-08-20 16:08:54 -07:00
Ville Brofeldt 86f4e691d4
chore(viz): bump deckgl plugin to 0.4.11 (#16353) 2021-08-19 19:19:48 +03:00
Evan Rusackas 42cd21e383
chore: bump superset-ui to v0.17.85 (#16350) 2021-08-19 09:32:24 +03:00
Phillip Kelley-Dotson f94695480a
chore: bump superset-ui packages to 0.17.84 (#16251)
* initial bump

* commit pack-lock file
2021-08-13 13:40:26 -06:00
Evan Rusackas cdcc161846
fix: Remove Advanced Analytics tag for 2 charts (#16240)
* removing AA tag from TimeTableChartPlugin

* package bump for echarts (removes AA tag there)

* package-lock bump for new echarts plugin
2021-08-12 15:32:39 -06:00
Ville Brofeldt 4df3672baa
chore: bump superset-ui to 0.17.82 (#16186) 2021-08-11 10:08:12 +03:00
Ville Brofeldt 63ace7b288
feat(cross-filters): add support for temporal filters (#16139)
* feat(cross-filters): add support for temporal filters

* fix test

* make filter optional

* remove mocks

* fix more tests

* remove unnecessary optionality

* fix even more tests

* bump superset-ui

* add isExtra to schema

* address comments

* fix presto test
2021-08-10 17:18:46 +01:00
Maxime Beauchemin 79e8d77acc
chore: remove TerserPlugin step for build (#16163) 2021-08-10 17:09:40 +08:00
adam-stasiak 578a9e9d53
build: Removed jsx-remove-data-test-id usage from code for multi-build-variant testing (#15386)
* enabled customized production build with testIds

* fix for docker

* changed substitution

* changed substitution
2021-08-09 10:11:26 -06:00
Kamil Gabryjelski af204ff449
chore(explore): bump deckgl to 0.4.9 (#16086) 2021-08-05 18:10:23 +02:00
Kamil Gabryjelski a59d458e41
chore(explore): Create new entrypoints for Echarts Timeseries (#15942)
* feat(explore): Create new entrypoints for Echarts Timeseries

* Change order of some charts

* bump superset-ui

* also bump echarts package

* fix UT

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-08-05 07:28:16 +02:00
Ville Brofeldt 7332055ff6
chore: bump superset-ui to 0.17.78 (#16058) 2021-08-04 13:03:34 +03:00
Ville Brofeldt c8a8347b43
chore: bump superset-ui to 0.17.77 (#16034) 2021-08-02 11:48:54 -07:00
Elizabeth Thompson e0576786c3
add feature flag to header bar (#16031) 2021-08-02 10:57:29 -07:00
Ville Brofeldt eda38a758e
chore: bump superset-ui to 0.17.74 (#15923) 2021-07-28 16:14:14 +03:00
Yongjie Zhao 94e759dbfa
chore: bumping superset-ui 0.17.73 (#15901) 2021-07-27 14:26:39 +08:00
Yaozong Liu fb5dce07b7
chore: implement new mockup to the new viz gallery (2nd iteration) (#15868)
* chore: implement new mockup to the new viz gallery

* fix: update package-lock

* fix: add license

* fix: reduce duplication and fit within the sidebar

* fix: ut
2021-07-26 11:10:39 -07:00
Yongjie Zhao 873daf3867
chore: bumping superset-ui 0.17.72 (#15895) 2021-07-26 14:38:33 -03:00
Elizabeth Thompson b81f120916
add timezone selector component (#15880) 2021-07-26 09:30:35 -07:00
Elizabeth Thompson 9c854ff1f1
bump typescript (#15847) 2021-07-22 16:30:25 -07:00
Kamil Gabryjelski 040b94119b
chore: bump superset-ui to 0.17.71 (#15839) 2021-07-22 17:10:45 +02:00
Yongjie Zhao dd800162c5
chore: bump 0.17.70 (#15795) 2021-07-20 19:32:40 +08:00
Yongjie Zhao 069d5cb6a4
chore: bump superet-ui 0.17.69 (#15767) 2021-07-19 02:00:39 +08:00
Kamil Gabryjelski e9383e6d00
chore(explore): Bump plugin-chart-pivot-table (#15742) 2021-07-16 18:22:16 +02:00
Erik Ritter fe68e45f52
fix: Reduce js bundle size (#15721) 2021-07-16 07:02:37 -07:00
ʈᵃᵢ 0ed97eb696
docs: update dev superset version (#15718) 2021-07-15 20:02:01 -06:00
Yongjie Zhao 517f8c0a7a
chore: bump superset-ui/plugin-chart-echarts 0.17.65 (#15633)
* chore: bump echart 0.17.65

* npm lock file
2021-07-13 09:48:42 +08:00
David Aaron Suddjian 257385e888
feat(explore): Upgraded viz select gallery (#15303)
* add modal layout with description, rework styles

* thirty percent

* test correctly

* avoid any changes in modal height

* typescriptify

* feat(viz): add categories to the viz picker (#15304)

* feat(viz): add categories to the viz picker

* fix test types

* add a catch-all category

* tweak layout

* upgrade superset-ui to get new metadata

* do i look like i know what a jpeg is

* fix tests

* lint

* remove script count test requirement

* fix e2e test

* feat(explore): Viz picker search improvements (#15399)

* upgrade superset-ui, install fuse.js

* add metadata to plugin context

* get search working

* layout improvements

* fix tests

* Update superset-frontend/src/explore/components/controls/VizTypeControl/index.tsx

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

* use typography size instead of grid unit

* comments

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

* feat(explore): Examples image gallery in the viz type control (#15489)

* feat(explore): add section for example images in viz type control

* fix jpg webpack config

* formatting

* feat(Explore): Viz gallery component tweaks (#15520)

* separate viz gallery from the modal

* use gallery directly in add slice view

* more formatting on the add slice container

* restyle the thumbnail list

* explicit thumbnail width and height

* remove crappy hack

* remove useless line

* comment

* sort categories

* comments

* tweak search behavior

* fix tests

* open gallery to the currently selected viz type

* null safety

* show all plugins when searching empty string

* get the new metadatas

* adjust categories scrolling behavior

* add time series table metadata

* upgrade superset-ui

* attempt fixing tests

* upgrade descriptions

* fix unit test

* attempt fixing e2e again

* max width for viz gallery

* update package lock

* undo unnecessary webpack changes

* don't show search results until something is entered

* force modal to open to selected viz type

* tweaks to search behavior

* gallery layout tweaks

* enshrine pivot table v2 in a place of honor

* feat(viz): Clear viz gallery when navigating between categories (#15577)

* start viz gallery with null selection, clear when switching categories

* fix AddSliceContainer tests

* show a message when there is no viz type selected

* composition > inheritance

* clarify searching code

* comment

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-07-12 10:59:10 -07:00
Yongjie Zhao 367d47bec5
chore: bumping superset-ui 0.17.64 (#15615)
* chore: bumping superset-ui 0.17.64

* fix jest
2021-07-09 18:29:57 +08:00
Evan Rusackas 4685d86d63
fix: Revert "chore: Bump @svgr/webpack to 5.5.0" (#15589)
* Revert "chore: bump @svgr/webpack to 5.5.0 (#15349)"

This reverts commit 53aa35177a.

* refreshing package-lock after rebasing
2021-07-08 14:23:59 -06:00
Hugh A. Miles II d4480f5c9a
feat: Database Connection UI (#14881) 2021-07-01 14:40:27 -07:00
Kamil Gabryjelski 53aa35177a
chore: bump @svgr/webpack to 5.5.0 (#15349) 2021-06-24 23:33:59 -06:00
simcha90 048609d120
feat(native-filters): Show/Highlight errored/focused status (#15276)
* fix:fix get permission function

* feat: show error status for required filters

* test: fix tests

* refactor: fix CR notes
2021-06-22 14:25:08 +03:00
Ville Brofeldt 7237324983
chore: bump superset-ui to 0.17.58 (#15220) 2021-06-17 11:21:27 +03:00
Kamil Gabryjelski 9ba2983f42
chore: Bump plugin-chart-pivot-table to 0.17.57 (#15168)
* chore: Bump plugin-chart-pivot-table to 0.17.57

* Bump other superset-ui packages to 0.17.56

* Fix package-lock
2021-06-15 12:02:40 +02:00
Ajay M 045fa1bc7a
feat(dashboard): Let users download full CSV of a table (#15046)
* - Convert SliceHeader to TSX in progress
- Add menu option to download full CSV. Probably will change it

* Add Download Full CSV feature, and tests

* Added more tests, more TS fixes

* Added feature flag

* Update @superset-ui package versions

* Update @superset-ui packages versions

* use backend config instead of hardcoding number of rows

* Update tests

* front end test fix

* Lint fixes and test fixes
2021-06-14 14:26:18 -07:00
Erik Ritter e8414dfb52
fix: disappearing tooltips on dashboards (#15073) 2021-06-09 18:41:40 -07:00
Ville Brofeldt 78d30896f3
chore: bump superset-ui to 0.17.53 (#14968) 2021-06-03 16:37:42 +03:00
Kamil Gabryjelski 405f95b6af
feat(dashboard/native-filters): Hide filters out of scope of current tab (#14933)
* Optimize finding charts and tabs in scope

* Put filters out of scope in Collapse

* Use lastFocusedTabId instead of directPathToChild

* Fix tests

* Fix cypress test

* Uncomment e2e test
2021-06-02 20:38:18 +02:00
Kamil Gabryjelski 507d4d791f
chore: Bump @superset-ui/legacy-preset-chart-deckgl to 0.4.7 (#14871) 2021-05-28 17:30:21 +02:00
Kamil Gabryjelski 63dc035d6a
feat(explore): Remove default for time range filter and Metrics (#14661)
* feat(explore): Remove default for time range filter and Metrics

* Merge errors with same messages

* Fix e2e test

* Rename a variable

* Bump packages

* Fix unit tests
2021-05-25 15:55:41 +02:00
Ville Brofeldt e9657afe4b
feat(native-filters): add search all filter options (#14710)
* feat(native-filters): add search all filter options

* add tests

* fix default value

* implement ILIKE operator

* rebump packages

* fix test

* address comments

* fix state changes coming from application

* fix debouncer
2021-05-24 16:33:59 +03:00
Michael S. Molina 1b47902e47
chore: Removes react-bootstrap and react-bootstrap-slider (#14641) 2021-05-17 10:22:22 -07:00
Evan Rusackas 568061e8d4
feat: bumping echarts plugin, adding new treemap plugin (#14560)
* chore: bumping echarts plugin

* feat: Upgrading to new treemap

* bump @superset-ui/plugin-chart-echarts 0.17.47

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-05-13 22:52:17 +08:00
Ville Brofeldt 3f6bd1e4a4
feat: add generic type to column payload (#14547)
* feat: add generic type to column payload

* feat: add generic type to column payload

* xit flaky test
2021-05-13 09:36:09 +03:00
Ville Brofeldt 19b408b08d
chore: bump superset-ui to 0.17.44 (#14515) 2021-05-07 09:31:34 +03:00
Jesse Yang ae256a9119
chore: bump sankey and pivot table chart to 0.17.43 (#14477) 2021-05-05 11:17:18 -07:00
Jesse Yang 23014e9233
chore: upgrade @emotion (#14454) 2021-05-04 15:26:16 -07:00
Amit Miran 158ac302d8
chore: bump table plugin to 0.17.42 (#14460) 2021-05-04 17:41:02 +03:00
Jesse Yang a75e4af99b
fix(viz): bump superset-ui to fix bugs in table and graph chart (#14438) 2021-05-03 16:23:42 -07:00
ʈᵃᵢ 86d2a616c1
fix(emotion): add separate namespace for menu app (#14362) 2021-04-27 15:53:55 -06:00
Evan Rusackas 8e6803f65f
chore: Bumping lodash version in Superset (#14203)
* Bumping lodash in main package

* new package lock with updated lodash
2021-04-27 14:54:56 -06:00
Hugh A. Miles II 44c09b5383
feat: Setup `supersetText` configuration to overwrite errors (#14256)
* Setup error message overwrite config`

* fix

* bad reabse

* bad rebase 2

* remove unneeded comment

* working dynamic importing

* saveeee

* working textUtil file

* add ignore tslint

* fix linting

* fix linting

* import order

* setup guard statements

* linting again

* linting again

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-04-27 15:03:35 -04:00
Amit Miran 22f9e12a3b
chore: bump 0.17.38 (#14355)
* chore: bump 0.17.37

* chore: update package-lock

* chore: revert echarts upgrade

* bump echarts package to 0.17.38

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-04-27 09:30:39 +03:00
Erik Ritter 97e086051c
chore: bump superset-ui (#14253) 2021-04-20 15:16:58 -07:00
Amit Miran ca359402bd
chore: bump package.json (#14222)
* chore: bump package.json

* chore: bump package.json and lock
2021-04-19 06:52:24 +03:00
Ville Brofeldt 7e0e9ac3fc
feat(viz): add mixed and radar chart (#14197) 2021-04-16 23:59:32 +08:00
Kamil Gabryjelski cab110e354
Enable the new pivot table (#14187) 2021-04-16 10:46:50 +02:00
simcha90 8ef572a412
refactor(native-filters): update dataMask and ExtraFormData schema (#13983)
* refactor: updates usage of `ownFilters` to `ownState`

* refactor: update dataMask (final)

* lint: fix lint

* refactor: revert feat

* fix: fix missed chart configuration

* add filter set migration

* apply new changes

* fix migration revision

* update migration

* fix jest mock

* js lint

* fix test types

* update tests and types

* remove append_form_data from tests

* fix findExistingFilterSet tests

* add migration test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-04-15 17:43:29 +03:00
dependabot[bot] a548b69201
build(deps): bump urijs from 1.19.4 to 1.19.6 in /superset-frontend (#13393)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.4 to 1.19.6.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.4...v1.19.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 23:15:27 -07:00
Jesse Yang 3c88d2542c
fix(country-map): update geojson and control layout (#14063) 2021-04-13 10:14:27 -07:00
Ville Brofeldt bfa6140b15
fix(viz): bump superset-ui 0.17.30 (#14045)
* fix(viz): bump superset-ui 0.17.30

* fix test

* bump react-table to match the version in superset-ui
2021-04-09 20:49:38 +03:00
Jesse Yang b9e601487a
chore: bump @superset-ui/plugin-chart-table to 0.17.28 (#13953)
* chore: bump @superset-ui/plugin-chart-table to 0.17.28

* Bump chrono-node
2021-04-06 09:55:35 +08:00
Amit Miran f6f412b4ae
chore: bump to new superset-ui version (#13932) 2021-04-02 18:27:10 +03:00
Jesse Yang 65940770ac
feat(explore): adhoc column formatting for Table chart (#13758) 2021-04-01 23:28:42 -07:00
AAfghahi 64f967cb2d
refactor: New schedule query button (#13797) 2021-03-26 09:56:59 -04:00
Hugh A. Miles II 71ca5aca5b
refactor: Revert "refactor: ScheduleQueryButton into functional component (#134… (#13785)
This reverts commit 2c3d9e9b1e.
2021-03-24 22:50:59 -04:00
AAfghahi 2c3d9e9b1e
refactor: ScheduleQueryButton into functional component (#13443) 2021-03-24 17:46:24 -04:00
Cemre Mengu ff0c9e93c3
feat: use cross-env when running dev-server (#13743)
* feat: use cross-env when running dev-server

* use cross-env for other inline env vars
2021-03-24 09:19:00 -07:00
Rob DiCiuccio 452b53092b
feat: Refactor asyncEvent middleware and add websocket support (#13696) 2021-03-23 07:23:23 -07:00
Erik Ritter 64785c20bd
feat: add warning metadata to tables and metrics (#13606) 2021-03-17 21:27:34 -07:00
Jesse Yang bd1d6acb0c
fix(query): order by adhoc metrics should trigger group by (#13434)
* fix(query): properly select adhoc metrics in orderby

* Throw error when sql is empty

* Allow `metrics` to be None

* Always use alias in orderby for metrics

* Bump table chart version and migrate histogram to typescript

* Fix Histogram without groupby

* Fix Presto birth names test

* Raw records mode should not aggregate
2021-03-16 21:00:03 -07:00
Yongjie Zhao 1a46f93057
chore(explore): bump superset-ui 0.17.19 (#13593) 2021-03-12 15:16:59 +08:00
Jesse Yang 7656b2e68b
refactor: convert controlUtils to TypeScript (2 of 2) (#13520) 2021-03-11 17:19:15 -08:00
Ville Brofeldt 375797f649
feat(native-filters): add timegrain and column filter (#13484)
* feat(native-filters): add timegrain and column filter

* add fetch values predicate

* bump deps

* lint

* fix test

* add python test for legacy merge

* fix default value and isInitialized to not check strict equality

* Address comments

* add FilterValue type

* address review comments
2021-03-09 17:27:46 +02:00
Kamil Gabryjelski 7b370e6f17
feat: Implement drag and drop columns for filters (#13340)
* Implement DnD feature for filters

* minor refactor

* Fix types

* Fix undefined error

* Refactor

* Fix ts errors

* Fix conflicting dnd types

* Bump superset-ui packages

* Change DndItemType case to PascalCase

* Remove redundant null check

* Fix

* Fix csrf mock api call
2021-03-07 11:54:08 +02:00
simcha90 3970d7316b
feat(native-filters): Update filter bar buttons (#13506)
* refactor(native-filters): move data mask to root reducer

* refactor: update rest stuff for dataMask

* refactor: add ownCrrentState to explore

* fix: fix immer reducer

* fix: merge with master

* refactor: support explore dataMask

* refactor: support explore dataMask

* docs: add comment

* refactor: remove json stringify

* fix: fix failed cases

* feat: filter bat buttons start

* fix: fix CR notes

* fix: fix cascade filters

* fix: fix CR notes

* refactor: add clear all

* fix: fix CR notes

* fix: fix CR notes

* fix: fix CR notes

* feat: buttons in filter bar

* lint: update imports

* test: fix tests
2021-03-07 11:27:22 +02:00
simcha90 45972e9945
refactor(native-filters): Move `filtersState` to `dataMask` redux root (#13437) 2021-03-07 09:34:12 +02:00
Sam Faber-Manning 0318b6d4ae
feat: Add error pages (#13144)
* add custom error pages for 404 and 500 responses

* refactor error page styles into separate template

* move error pages to superset-frontend

* fix whitespace on error pages

* refactor error pages to be generated by jinja

* generate static error pages with webpack
2021-03-04 09:58:16 -08:00
simcha90 f19a830d9b
refactor(self-trigger): Split native filters state (#13137)
* feat: add cross filters

* refactor: fix CR notes

* lint: fix lint

* lint: fix lint

* feat: POC adding filters set feature

* chore: pre-commit

* refactor: under chage

* lint: fix TS

* fix: fix FF name

* refactor: move to behaviors

* lint: fix lint

* refactor: update state of native filters

* refactor: finish refactor nativeFilter state

* feat: split native filters state

* refactor: refactor Time filter to use new API

* refactor: refactor Time filter to use new API

* refactor: fix CR notes

* fix: fix update values in filter bar

* refactor: save filter sets in meta

* feat(filter-sets): save filters sets in metadata

* refactor: partially fix ts

* refactor: merge conflicts

* refactor: add behaviors property

* refactor: add behaviors property

* fix: undo py changes

* fix: under some changes

* refactor: synx with master

* fix: undo FF

* fix: undo FF

* lint: ts-ignore

* chore: update lock file

* refactor: update enum

* refactor: naming of enum

* test: fix test

* test: update mocks

Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-03-02 09:03:26 +02:00
Elizabeth Thompson 391d909d1e
npm audit security updates (#13367) 2021-03-01 23:51:23 +02:00
Yongjie Zhao 1e3130d588
feat(explore): ColumnSelectControl with drag-and-drop (#13210)
* initial dnd

* shift group by items

* lint

* fix shift options

* wip

* wip

* fix shift action

* support scalar dimentions

* control rename to DndColumnSelectControl

* remove unused files

* added feature flag

* ff to False by default

* fix ut

* lint

* improve code smell

* added indicator

* replace value when column is scalcar

* scalar to isArray

* var rename

* minor fix

* update dependence

* minor fix
2021-02-26 16:48:23 +08:00
Bruno Motta 6297ad7c8b
test: Switching FlashProvider to function component & creating tests (#13220) 2021-02-23 10:46:12 -06:00
Ville Brofeldt 87d6ad28ad
chore(viz): bump superset-ui 0.17.10 (#13258) 2021-02-22 08:24:31 +02:00
Kamil Gabryjelski c1aacde304
fix(explore): Fix downloading as image charts which use Mapbox (#13181)
* Fix downloading as image charts which use Mapbox

* Remove unused prop

* Bump deckgl version
2021-02-20 19:45:03 +02:00
Kamil Gabryjelski 19a60435b0
chore: bump node.js to v14 (#13215)
* Bump node version to v15.8.0

* Update node version in Dockerfile and docker-compose.yml

* Set node version to LTS - v14.15.5

* Bump node version in .nvmrc
2021-02-20 19:42:51 +02:00
Bruno Motta f85497e69b
test: Adding test and storybook to "Loading" component. (#13179)
* moving Loading.tsx to the Loading folder

* Creating storybook for Loading component

* Creating unit test for Loading component

* fix eof on package.json

* Improving accessibility and interface

* just to run CI again
2021-02-18 00:43:09 -08:00
Jesse Yang c9f76d58f0
chore: upgrade to npm 7 and superset-ui 0.17.9 (#13100) 2021-02-15 09:45:29 -10:00
Victor Malai 24ebf10976
feat: add sort_by_metric for charts with single metric (#13058) 2021-02-15 02:59:50 -08:00
Michael S. Molina 86807e40b7
Improves RTL configuration (#13079)
- Adds plugin:jest-dom/recommended to ESLint plugins list to enforce tests best practices

- Moves import @testing-library/jest-dom/extend-expect; from setup.ts to testing-library.tsx to avoid matchers collision

- Adds @testing-library/user-event to help simulate users events
2021-02-11 15:32:22 -08:00
Jesse Yang 6bc28a087c
chore: lock down npm to v6 (#13069) 2021-02-11 10:49:34 -08:00
Ville Brofeldt 42c4facb7e
fix(explore): pie chart label bugs (#13052) 2021-02-11 11:23:40 +02:00
Michael S. Molina dd0af74019
Updates storybook to version 6.1.17 (#13014) 2021-02-08 16:47:09 -08:00
Ville Brofeldt ac73991913
fix(viz): improve dtype inference logic (#12933) 2021-02-04 10:47:27 -08:00
Jesse Yang 9982fdebd8
test: fix table chart sort order E2E tests (#12936)
* test: fix table chart sort order E2E tests

* Upgrade npm packages
2021-02-04 13:27:45 +02:00
Ville Brofeldt 86b982a0a3
fix(viz): bump table viz to fix ordering bug (#12930) 2021-02-03 16:29:23 -08:00
Jesse Yang 783aae19c9
chore: bump superset-ui packages to v0.17.2 and v0.17.3 (#12854)
* chore: bump superset-ui packages to v0.17.2 and v0.17.3

* Bump also the nvd3 chart
2021-02-01 14:32:55 +02:00
Jesse Yang e3db935c62
refactor: migrate table chart to new API (#10270)
* refactor: migrate table chart to new API

* chore: bump superset-ui to 0.17.0

* Fix Cypress tests

* Apply soft-conversion to numeric metrics

Fix time column formatting test

* Add translation to chart does not exist error

* Bump to 0.17.1
2021-01-29 13:12:09 +02:00
Kamil Gabryjelski fcaa0acad5
chore: Upgrade react-dnd to 11.1.3 (#12815) 2021-01-28 18:34:56 -08:00
Ville Brofeldt ede879022c
fix(multiline): return all chart data on initial request (#12660)
* fix(multiline): return chart data on data request

* bump package

* optimize chart retrieval and fix chart form_data
2021-01-23 15:01:50 +08:00
Jesse Yang 7e77975d22
feat(explore): better search for dataset pane (#12675)
1. Upgrade match-sorter from 4.1.0 to 6.1.0
2. Add a debounce delay of 200 milliseconds to reduce excessive rendering (and searching)
3. Set keepDiacritics to true to improve performance
4. Display count of filtered results in "Showing x of xx", instead of the total results
5. Rank certified metrics to the top
2021-01-22 14:26:55 -08:00
Ville Brofeldt 734fb75219
chore(viz): bump superset-ui packages to 0.16.9 (#12632) 2021-01-21 13:50:47 +02:00
Evan Rusackas dd4256a841 chore: bumping superset UI packages (0.16.7 + 0.16.8) (#12564)
* chore: package bump manifest (package.json)

* fresh package lock
2021-01-19 09:38:04 -08:00
Evan Rusackas 7aba4c246a
chore: bump superset-ui deckgl plugin (#12466) 2021-01-13 00:10:47 -08:00