Commit Graph

385 Commits

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