Commit Graph

476 Commits

Author SHA1 Message Date
Evan Rusackas 9c3f40d87c
chore(dependencies): remove unused ansi-regex (#26687) 2024-01-22 10:58:43 -07:00
Evan Rusackas 9f7db406f1
chore(dependencies): removes unused @visx/tooltip (#26686) 2024-01-22 10:58:37 -07:00
Evan Rusackas 775474366e
chore(dependencies): remove unused @babel/runtime-corejs3 (#26685) 2024-01-22 10:58:31 -07:00
Evan Rusackas c989a1cbce
chore(dependencies): removes unused bootstrap-slider (#26684) 2024-01-22 10:57:57 -07:00
Michael S. Molina d9a3c3e1dd
refactor: Removes the Filter Box code (#26328)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2024-01-19 09:54:53 -03:00
Michael S. Molina 8f8c435d7c
refactor: Removes the Profile feature (#26462) 2024-01-18 15:36:40 -03:00
Michael S. Molina 4d9144eca5
refactor: Migrates legacy Sunburst charts to ECharts and removes legacy code (#26350) 2024-01-18 11:59:08 -03:00
dependabot[bot] b4621d2f2a
build(deps-dev): bump style-loader from 3.3.3 to 3.3.4 in /superset-frontend (#26520)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:26:25 -07:00
dependabot[bot] dec241be4e
build(deps): bump moment-timezone from 0.5.37 to 0.5.44 in /superset-frontend (#26545)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 16:22:31 -07:00
dependabot[bot] 7f9a03bfea
build(deps): bump react-draggable from 4.4.3 to 4.4.6 in /superset-frontend (#26559)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:55:17 -07:00
dependabot[bot] 517991d7bc
build(deps): bump react-resizable from 3.0.4 to 3.0.5 in /superset-frontend (#26568)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-14 16:55:03 -07:00
Kamil Gabryjelski 5e85f5c81f
chore: Add downloadAsImage types, change filter selector (#26297) 2023-12-21 08:53:23 +01:00
Evan Rusackas 84ac72f550
feat(releasing): adding SHA512 and RSA signature validation script to verify releases (#26278) 2023-12-18 11:46:56 -07:00
Evan Rusackas 8437a235c9
feat(telemetry): Adding Scarf based telemetry to Superset (#26011)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-12-14 11:55:51 -07:00
Evan Rusackas 46e677823e
chore: adding 'no-experimental-fetch' node option by default (#25628) 2023-12-12 14:35:22 -07:00
Daniel Vaz Gaspar 4fc2758e6a
fix: bump node-fetch to 2.6.7 (#26091) 2023-11-27 09:23:52 +00:00
Kamil Gabryjelski b5e7e707b3
chore: Allow external extensions to include their own package.json files (#26004) 2023-11-21 15:43:50 +01:00
Jack 74dbada473
feat(Export as PDF - rasterized): Adding rasterized pdf functionality to dashboard (#25696) 2023-10-30 21:54:33 -04:00
Evan Rusackas ef1807cd7e
chore(feature?): Bump `scarf-js` to 1.3.0 to get more telemetry data (#25602) 2023-10-12 09:43:30 -06:00
JUST.in DO IT 34f99708d4
chore(sqllab): Typescript for SqlEditor component (#25228) 2023-10-05 12:33:01 -04:00
Ville Brofeldt f6ce40d246
chore: upgrade node to most recent 16.x (#25362) 2023-09-26 04:00:41 -07:00
Arjun Devarajan 5878c117f2
feat: use Scarf Gateway for Superset npm downloads (#24433)
Co-authored-by: Arjun Devarajan <arjun.devarajan@scarf.sh>
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
2023-07-19 15:00:45 -06:00
EugeneTorap 117435f0d8
chore: update UI dev libs and fix warnings & vulnerabilities (#24648) 2023-07-10 20:44:35 -06:00
Hugh A. Miles II 750113441c
chore: update d3-colors (#24505) 2023-06-27 15:12:03 -04:00
Hugh A. Miles II cd8418496f
chore: update ansi-regex (#24503) 2023-06-23 15:06:25 -07:00
Michael S. Molina e922f0993d
feat: Removes the preset-chart-xy plugin (#23943) 2023-06-08 15:42:10 -03:00
Michael S. Molina af24092440
feat: Migrates TreeMap chart (#23741) 2023-06-08 11:27:08 -03:00
Michael S. Molina 522eb97b65
feat: Migrates Pivot Table v1 to v2 (#23712) 2023-06-08 10:13:39 -03:00
Hugh A. Miles II 8fb0d6e450
chore: update packages for vanta FE security concerns (#24106) 2023-05-17 20:45:41 -04:00
EugeneTorap 1670275571
feat: Use AntD table in FilterableTable (#23035)
Co-authored-by: justin-park <justin.park@airbnb.com>
2023-05-12 16:36:35 -03:00
JUST.in DO IT d96b72d46f
chore(sqllab): Refactor react-query by redux-toolkit query (#23760) 2023-05-08 14:25:23 -07:00
JUST.in DO IT 842659dbfe
refactor: useEffectEvent for efficient deps (#23871) 2023-05-03 11:52:04 -07:00
Etienne Baratte a170ae4368
feat: custom d3 number locale (#20075) 2023-05-02 12:29:33 -06:00
Michael S. Molina 09bd40bf15
fix(revert): Reverts storybook-addon-mock inclusion (#23818) 2023-04-26 08:53:13 -03:00
Nicolas Charpentier 60c2e7013d
docs: cleanup references to `apache-superset/superset-ui` (#23796) 2023-04-25 09:18:27 -06:00
JUST.in DO IT 75021a1eac
refactor: introduce redux toolkit (#23460)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-04-12 10:26:32 -07:00
Kamil Gabryjelski 8c374f391d
chore: Dataset specific MetadataBar (#23429)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2023-03-24 11:03:55 +01:00
dependabot[bot] 067c2e35b2
build(deps-dev): bump webpack from 5.52.1 to 5.76.0 in /superset-frontend (#23366)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 13:37:36 -06:00
Lily Kuang 376ad39576
chore: upgrade @ant-design/icons for react upgrade (#22890) 2023-03-08 14:18:43 -07:00
Lily Kuang a70b7ac3b0
chore: refactor SparklineCell for react 17 and react 18 upgrade (#23145) 2023-02-24 12:49:53 -08:00
Lily Kuang 493181c977
chore: refactor SliceAdder for react 17 and react 18 (#23009) 2023-02-07 13:38:32 -08:00
dependabot[bot] c5b25ebf17
chore(deps): bump ajv and react-jsonschema-form in /superset-frontend (#21809)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 09:31:56 -07:00
Lily Kuang 8dea7e151e
chore: upgrade react-router-dom to 5.3.4 (#22878) 2023-01-31 13:09:57 -08:00
Lily Kuang e80f878ab7
chore: upgrade packages for react v17 upgrade (#22914) 2023-01-31 11:08:12 -08:00
Lily Kuang 88119a9930
chore: migrate @vx/responsive to @visx/responsive for react 18 upgrade (#22815) 2023-01-31 10:55:29 -08:00
Lily Kuang 446d1779e1
chore: upgrade react-reverse-portal for react upgrade (#22779) 2023-01-26 09:02:25 -08:00
Lily Kuang 6021d6f699
chore: upgrade react-table for react 18 upgrade (#22780) 2023-01-26 09:01:59 -08: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
Lily Kuang 5f823b2777
chore: upgrade react-datetime, react-intersection-observer and react-checkbox-tree (#22585) 2023-01-23 14:36:34 -08:00
Lily Kuang e05ac858f4
chore: upgrade react-resize-detector (#22592) 2023-01-17 17:25:34 -08:00
dependabot[bot] ffa015887b
build(deps): bump express and @applitools/eyes-storybook in /superset-frontend (#22731)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 20:57:33 -07:00
dependabot[bot] 3c5f75d4c2
chore(deps): bump parse-path and lerna in /superset-frontend (#21612)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 09:46:34 -07:00
Lily Kuang 5d38992024
chore: upgrade react-redux (#22596) 2023-01-11 17:32:40 -06:00
Lily Kuang 516d56b7e8
chore: upgrade react-window (#22645) 2023-01-09 12:20:46 -08:00
Lily Kuang 8f865ce1ce
chore: upgrade use-immer (#22646) 2023-01-09 12:20:20 -08:00
Lily Kuang 82b0c23fb2
chore: upgrade react-checkbox-tree (#22583) 2023-01-04 10:50:21 -08:00
Lily Kuang 40dba06094
chore: upgrade react-ace (#22573) 2023-01-04 09:16:01 -08:00
Lily Kuang 11c9c8a00c
chore: upgrade interweave (#22572) 2023-01-04 09:15:41 -08:00
dependabot[bot] 0ca5e0e0db
build(deps): bump @ant-design/icons from 4.2.2 to 4.8.0 in /superset-frontend (#22158)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 09:57:26 -07:00
Geido d352b74ff4
chore: Upgrade antd@4.10.3 (#22007) 2022-11-17 22:48:54 +02:00
JUST.in DO IT ef6b9a97d5
feat(dashboard): confirm overwrite to prevent unintended changes (#21819) 2022-11-08 13:06:19 -08:00
Michael S. Molina 7d1df3b78d
feat: Improves SafeMarkdown HTML sanitization (#21895) 2022-11-04 10:34:02 -04:00
JUST.in DO IT 3a023392e6
fix: invalid float number format by json-bigint (#21996) 2022-11-02 01:04:17 -07:00
JUST.in DO IT 3bb9187797
fix: invalid float number format by json-bigint (#21968) 2022-10-31 10:20:43 -07:00
Cody Leff 95b43238a0
fix(dashboard): Remove bar at bottom of dashboard edit sidebar (#21807) 2022-10-27 22:58:00 +08:00
JUST.in DO IT 40024064ae
fix: BIGINT rendering regression in chartAction (#21937) 2022-10-26 15:04:20 -07:00
Stephen Liu db075d4157
chore(deps): bump react-map-gl from 4.0.10 to 6.1.19 (#21748) 2022-10-11 14:47:25 +08:00
dependabot[bot] b8c1aa5ff2
chore(deps): bump node-forge and webpack-dev-server in /superset-frontend (#21169)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 15:11:42 -06:00
dependabot[bot] 4913da1511
chore(deps): bump moment-timezone from 0.5.33 to 0.5.37 in /superset-frontend (#21565)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 14:11:39 -06:00
JUST.in DO IT 65a11b6f45
refactor: introduce react-query on api resource hook (#21240) 2022-09-01 13:39:34 -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
EugeneTorap fa0be30d49
chore: Dump all babel libs (#21121) 2022-08-18 12:55:21 +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
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
Yongjie Zhao bb5b8e4c4f
chore: add coverage command in package.json (#20769) 2022-07-20 18:30:30 +08:00
dependabot[bot] 6ee9be203a
chore(deps-dev): bump jsdom from 16.4.0 to 20.0.0 in /superset-frontend (#20649)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 15:48:46 -06:00
Diego Medina c5d3678a31
fix: Unable to download the Dashboard as image in case there's an image added through Markdown (#20362)
* fix: Unable to download the Dashboard as image in case there's an image added through Markdown

* licence
2022-06-30 00:22:49 +08:00
smileydev df8bb46ee2
fix(fonts): Show the all the A's in our workspace correctly, not funky (#20361)
* fix(fonts): make to fix the issue of broking the Inter font char A

* fix(css & fonts): make to install from npmjs.org
2022-06-15 00:28:54 -06:00
Michael S. Molina a7e3d6b964
chore: Upgrades Storybook from 6.4.19 to 6.4.22 (#20008) 2022-05-11 10:09:03 -03:00
Geido c3ba86ecc5
feat: Run Applitools on public Storybook (#19852)
* Test storybook workflow

* Add test workflow

* Fix eof

* Update workflow

* Install apt dependencies

* Schedule nightly

* Enhance workflow

* Add secret Applitools key

* Update config

* Add batchName
2022-05-09 14:17:22 +02:00
dependabot[bot] b975eeee87
chore(deps-dev): bump eslint-plugin-prettier in /superset-frontend (#19894)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.1 to 4.0.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.3.1...v4.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:20:53 -06:00
Geido ed1309e6bd
fix: Dates alignment in Table viz (#19668)
* Fix dates alignment

* Add package lock changes

* Update package-lock

* Clean up
2022-04-28 11:37:49 +02:00
Stephen Liu f9d28a1072
chore: add eslint custom plugin to prevent translation variables (#19828) 2022-04-27 17:44:13 +08:00
Jeremy e632b82395
feat: Adds plugin-chart-handlebars (#17903)
* adds: plugin chart handlebars

* adds: handlebars plugin to main presets

* update: npm install

* chore: lint

* adds: dateFormat handlebars helper

* deletes: unused props

* chore: linting plugin-chart-handlebars

* docs: chart-plugin-handlebars

* adds: moment to peer deps

* update: use error handling

* update: inline config, adds renderTrigger

* update: inline config, adds renderTrigger

* camelCase controls

* (plugins-chart-handlebars) adds: missing props

Adds missing propeties in test formData

* (plugin-chart-handlebars) fixes test

* (plugin-handlebars-chart) use numbers for size

* (feature-handlebars-chart) fix viz_type

* (plugin-handlebars-chart) revert

revert the viz_type change. it was in the wrong place.

* fix test and add license headers

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-04-26 14:34:28 +03:00
Jesse Yang 4ba62cad95
chore(build): upgrade less-loader (#19703) 2022-04-19 09:18:16 -07:00
Geido 2de5e6fac4
chore: Remove Legacy Force Directed viz plugin (#19492)
* Add theme vars

* Remove plugin
2022-04-06 11:51:51 +03:00
Kamil Gabryjelski 60dcd651f4
feat(explore): SQL popover in datasource panel (#19308)
* feat(explore): SQL popover in datasource panel

* Fix acequire not defined

* Rebase and fix tests

* Disable highlighting gutter

* Use ace-build acequire instead of brace
2022-04-03 13:26:56 +02:00
Evan Rusackas b689ac2d11
chore: bump storybook to 6.4.19, migrating config, and linting storybook config (#19245)
* chore: bump storybook to 6.4.19 and reconfigure accordingly

* now linting the storybook directory, since it gets validated by CI

* linting 
2022-03-28 14:02:47 -03:00
Geido 6b9113a17b
chore: Eslint custom plugin to warn about hex and literal colors (#19239)
* wip

* Add eslint custom plugin

* Refactor

* Clean up

* Update superset-frontend/buildtools/eslint-plugin-theme-colors/index.js

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

* Refactor

* Update superset-frontend/buildtools/eslint-plugin-theme-colors/index.js

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

* Clean up

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-03-28 16:11:34 +03:00
Ville Brofeldt 6141a9aa4a
chore: add support for npm8 (#19365) 2022-03-25 11:07:30 +02:00
Kamil Gabryjelski a8a48af7fa
chore: Make font-weights themable, fix font faces (#19236)
* fix(fonts): Import all necessary font packages

* Make html tags themable

* Set bold font weight to 600, add medium font weight to theme

* Replace hard coded font weights with theme variables

* Change some font weight light elements to normal

* Fix tests

* Fix bug in pivot table

* Address code review comments
2022-03-22 09:36:15 +01:00
Stephen Liu dc575080d7
feat: improve color consistency (save all labels) (#19038) 2022-03-21 15:20:04 +08:00
Grace Guo d41f9b23a4
chore(superset 2.0): remove front-end deprecated code (#19241) 2022-03-18 11:23:00 -07:00
chanyou0311 2cc5678dfc
Install and use vm-browserify for sandboxedEval (#19059) 2022-03-08 13:27:41 +02:00
Ville Brofeldt 834686a3d9
bump and harmonize urijs and xss (#18922) 2022-03-01 18:38:29 +02:00
Michael S. Molina 48a80950de
feat: Improve state key generation for dashboards and charts (#18576)
* feat: Improve state key generation for dashboards and charts
2022-02-14 17:09:06 -03:00
David Aaron Suddjian 225015fd5a
feat: Introduce a library for embedded iframe <-> host communication (#18652)
* improved logging

* switchboard, and window size

* lint

* tsconfig

* fix path

* fix release script

* tests, debug mode, and error handling

* moar debug mode

* package lock

* formatting

* comment

* wording

* appease the coverage gods

* Async assertions must be awaited or returned
2022-02-11 20:29:23 -08:00
Yongjie Zhao 46715b295c
refactor: remove unused ts-jest (#17996) 2022-01-11 23:43:45 +08:00
Yongjie Zhao e91b9a678f
refactor: move superset-ui dependencies to peerDependencies (#17965)
* chore: add commit message

* update learn

* update superset-ui-demo

* move superset-ui into peerDeps

* add --no-private argument in lerna version

* fix conflicts

* refresh lock file
2022-01-11 13:53:37 +08:00
Evan Rusackas c0a769581f
chore: bump typescript to 4.5.4, and adjust storybook story. (#17971)
* chore: bump typescript to 4.5.4, and adjust storybook story to pass linting

* ugh... missed a space. Thanks, linter :)

* nixing erroneous package lock file
2022-01-09 21:01:59 -07:00