Commit Graph

2249 Commits

Author SHA1 Message Date
Krist Wongsuphasawat
098a0198bc update travis badge 2021-11-26 11:44:33 +08:00
Krist Wongsuphasawat
6dc7871f05 v0.3.0 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
efd7f676ed add core to readme 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
7097a0e89f Merge pull request #19 from apache-superset/kristw--new-core
Add new core modules from incubator-superset
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
b9391d3c6b add badges 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
cc0411865d add license 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
a285b55b80 Merge pull request #18 from apache-superset/kristw--rename-core
rename core package to connection
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
68c8873370 Merge pull request #17 from apache-superset/kristw--readme
Update readme and remove unnecessary items from package.json
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
730d532087 v0.2.1 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
1b6bf6355f Update README.md
Add badges
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
4df2ca0148 Update README.md 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
d4eee73672 Update README.md 2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
3594d09191 Merge pull request #16 from apache-superset/kristw--wran
Make the translation module less strict and won't crash the app if not configured.
2021-11-26 11:44:32 +08:00
Krist Wongsuphasawat
267c7c063c v0.2.0 2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
d77f81d0b7 Merge pull request #15 from apache-superset/kristw--translation-num
Add tn / translateWithNumber
2021-11-26 11:44:31 +08:00
Chris Williams
282e719bb1 [build-config] move to monorepo root (#11)
* [build-config] move to monorepo root

* [lint-staged] testing

* [@babel/runtime] move to package level

* [build-config] update travis.yml for root build

* [lint] generate prettier config before linting

* [build-config] ^0.0.24

* [jest] add test:watch script

* [translation] remove package scripts

* [core] set author

* [core] add .eslintrc for root overrides

* [root] fix lint + prettier scripts

* [travis][jest] try --no-cache --debug

* [travis][jest] try running jest directly

* build-config@^0.0.25 to fix jest

* travis and test script to non-debug mode

* [travis] lerna bootstrap instead of installing 2x

* [npmrc] package-lock=false

* [travis] lerna bootstrap in script not install

* [travis] install and run tests per-package

* yarn workspaces are magical
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
fca5c4bf67 Merge pull request #14 from apache-superset/kristw--publishconf
update package.json to include publishConfig
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
524ea2df2c v0.1.0 2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
0981b6dc5b Merge pull request #13 from apache-superset/kristw--translator-lint
Fix lint issues in translation module
2021-11-26 11:44:31 +08:00
Krist Wongsuphasawat
e2c83f92e9 Merge pull request #12 from apache-superset/kristw--translation
Add @superset-ui/translation
2021-11-26 11:44:31 +08:00
Chris Williams
e0c71f0188 v0.0.7 2021-11-26 11:44:31 +08:00
Chris Williams
d9cc46fd17 [SupersetClient] include csrfToken passed in configuration in headers (#10) 2021-11-26 11:44:31 +08:00
Chris Williams
1f2b4fe765 v0.0.6 2021-11-26 11:44:31 +08:00
Chris Williams
f0b02cdf21 [SupersetClient] allow csrf token to be passed as configuration (#9)
* [SupersetClient] allow csrf token to be passed as configuration

* [SupersetClient] update readme

* [build-config] ^0.0.20

* [SupersetClient] fix test.

* [build-config] ^0.0.21

* [build-config] ^0.0.22

* [build-config] ^0.0.23
2021-11-26 11:44:31 +08:00
Chris Williams
405dda57ac v0.0.5 2021-11-26 11:44:31 +08:00
Chris Williams
1bc6e79bb2 [core][client] mirror window.location.protocol format in config (#8) 2021-11-26 11:44:30 +08:00
Chris Williams
446914ed0d v0.0.4 2021-11-26 11:44:30 +08:00
Chris Williams
f5d62e3f33 [core] support empty CSRF token (#7)
* [core][deps] remove unused deps

* [core][test] add test for response.ok=false

* [core] support csrf_token=''

* [core][tests] move mock to sole function that uses it
2021-11-26 11:44:30 +08:00
Chris Williams
eabb10de4f v0.0.3 2021-11-26 11:44:30 +08:00
Chris Williams
fc471d6511 [core] add parseMethod (#5)
* [core] expose 'parseMethod' in SupersetClient and callApi for text responses

* [parseResponse][test] fix parseMethod test

* [monorepo] gitignore .npmrc

* [core][deps] @data-ui/build-config => ^0.0.14

* [monorepo] tweak npm scripts

* [core] clean up parseResponse

* [core] clean up parseResponse more

* [core] don't fallback to text parsing if response is supposed to be json, allow for null responseParser

* [core][tests] fix borken tests, return promises instead of calling done()
2021-11-26 11:44:30 +08:00
Chris Williams
d821d5c9b2 v0.0.2 2021-11-26 11:44:30 +08:00
Chris Williams
c3b28b8202 [core] add missing babel-runtime dep (#4) 2021-11-26 11:44:30 +08:00
Chris Williams
d50f0fdbcf v0.0.1 2021-11-26 11:44:30 +08:00
Chris Williams
39677afc8a [monorepo] add travis + codecov (#3)
* [monorepo] initial attempt at travis

* [monorepo] coveralls => codecov

* [monorepo] don't lerna bootstrap?

* [monorepo] ignore lock files, add lint:fix script

* [core] add node-fetch dev dep

* [monorepo] tweak codecov call

* [monorepo] tweak codecov call take ii

* [monorepo] codecov again

* [core][deps] build-config@^0.0.11

* [core][jest] add <rootDir> to coveragePathIgnorePatterns paths

* [core][jest] add collectCoverageFrom config

* [core][jest] try adding rootDir to collectCoverageFrom glob

* [core][deps] build-config@0.0.12

* [travis] yolo

* [travis] this is the one

* [travis] install global codecov

* [travis] no quotes in yml

* [travis] no quotes in yml part 2
2021-11-26 11:44:30 +08:00
Chris Williams
c4b946f965 Merge pull request #1 from apache-superset/chris--core-package
[SIP-4] add lerna monorepo and`@superset-ui/core` package with `SupersetClient`
2021-11-26 11:44:30 +08:00
Chris Williams
01bcbefac6 it's starting 2021-11-26 11:44:30 +08:00
Yongjie Zhao
41f551edfc feat: add monorepo config
update

update
2021-11-26 11:44:30 +08:00
Daman Arora
cf3f0e5b55
chore: migrate DragHandle component from jsx to tsx (#17326)
* migrate DragHandle component from jsx to tsx

* Convert class based component to functional component
2021-11-25 11:18:56 +02:00
Kamil Gabryjelski
7353a2bd75
fix(explore): Metric control breaks when saved metric deleted from dataset (#17503) 2021-11-24 13:06:11 +01:00
Geido
83e49fc9ee
feat: Certify Charts and Dashboards (#17335)
* Certify charts

* Format

* Certify dashboards

* Format

* Refactor card certification

* Clear details when certified by empty

* Show certification in detail page

* Add RTL tests

* Test charts api

* Enhance integration tests

* Lint

* Fix dashboards count

* Format

* Handle empty value

* Handle empty slice

* Downgrade migration

* Indent

* Use alter

* Fix revision

* Fix revision
2021-11-24 13:42:52 +02:00
Ajay M
9576478a5d
feat(dashboard): Add divider component in native filters (#17410)
* Tests are working, type errors are fixed

* Fix filterset

* add license header to the new file

* fix test

* PR comments

* Linting

* test fix

* small fix
2021-11-23 16:13:56 -08:00
Corbin Robb
c216565190
Remove loading span, add empty-loading-bar css class, change empty loading rows length to 12, remove width logic on empty loading columns (#17515)
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2021-11-23 15:13:53 -08:00
Evan Rusackas
6d66963489
fix: hiding HiddenControl inputs for real, to reduce bootstrap space consumption (#15182)
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-23 15:08:24 -08:00
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
Jesse Yang
27e7fb3a7c
chore: update node version in nvmrc (#17492)
#16809 updated node version but it didn't update nvmrc.
2021-11-23 11:18:22 +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
Ville Brofeldt
5d1c9078ad
chore(translations): fix translation literals (#17501)
* chore(translations): fix translation literals

* fix table name types and translations

* fix lint

* join concat'd messages
2021-11-23 10:06:09 +02:00
Daman Arora
daff9b4673
chore: migrate FormattedNumber component from jsx to tsx (#17361)
* migrate FormattedNumber component from jsx to tsx

* Unset default prop on format

* undo asserting and overriding the type for num

* Add a ts comment to ignore error
2021-11-22 13:42:37 -08:00