Commit Graph

11128 Commits

Author SHA1 Message Date
Stephen Liu
2cb3635256
fix(deck.gl): multiple layers map size is shrunk (#18939) 2022-02-25 18:26:49 +08:00
Stephen Liu
0b1bc5b5de
fix(native-filter): fix required filters of a dashboard won't load properly (#18695) 2022-02-25 17:13:36 +08:00
Jinghuayao
2bd8d3b349
test(Native Filter): User can create parent filters using "Filter is hierarchical (#18915)
* add new native test for parent filter
2022-02-25 00:27:26 -08:00
Smart-Codi
4923256b01
fix: Monospacing errors in dashboards & charts (#18796)
* fix: Monospacing errors in dashboards & charts

* removed unnecessary styling
2022-02-24 23:20:01 -07:00
Smart-Codi
0db49b1a7c
fix Metadata browser in SQL not render nicely in Safari (#18855) 2022-02-24 23:16:31 -07:00
Phillip Kelley-Dotson
8d38675cbc
chore: add intersect method from backend to fontend for upload extensions (#18811)
* chore: add intersect method from be to font end

* fix lint

* add suggestion

* fix python test

* run precommit

* fix pytlint

* update changes from masters
2022-02-24 17:42:55 -08:00
Erik Ritter
420a63f343
fix(sqllab): Un-render deselected tabs (#18934) 2022-02-24 13:01:02 -08:00
Hugh A. Miles II
209e3f4554
feat: DBC-UI Globally available across the app 🌎 (#18722)
* more data nav menu

* fix lint and fix nav css

* update test and remove icons

* Update superset-frontend/src/views/components/Menu.test.tsx

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>

* Apply suggestions from code review

* use backend app.link to show new nav changes

* fix lint

* update test

* usetheme and remove chaining

* add more suggestions

* fix lint

* working global db connection

* add allowed extensions to bootstrap and hard code links

* remove backend links

* fix test

* apply stashed gsheets

* fix check for google sheets

* setup gsheets

* add extensions to frontend conf

* fix test and add be changes

* remove package json changes

* test is python test passes

* update python test and reremove app links

* fix tslint issues

* fix other linting tools

* fix pylint

* fix test

* fix

* refactor

* fix lint

* working fixed test

* clean up test

* address concerns

* address concerns

* change to tenarary

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2022-02-24 13:00:44 -08:00
Beto Dealmeida
822dd6de5d
chore: update UPDATING re: SIP-68 (#18935) 2022-02-24 11:34:34 -08:00
Beto Dealmeida
00c99c91ec
feat: new dataset/table/column models (#17543)
* feat: new models for SIP-68

* feat: new dataset models DB migration

* Add shadow write (WIP)

* Physical dataset shadow write (WIP)

* Virtual dataset shadow write (WIP)

* Update migration to populate models

* Cascade delete columns

* after_delete

* Update hook

* Add metric test

* Do not rename tables

* Small fixes

* Fix migration

* Fix tests

* Fix more tests

* Even more tests

* Addressing comments (WIP)

* Fix migration

* Rebase and update head

* Fix unit tests

* Add external management cols

* Small fixes
2022-02-24 11:02:01 -08:00
michael-hoffman-26
9fd18e98ac
refactor(ImportModelsCommand): clean code, extract logic into methods (#18866)
Co-authored-by: michael_hoffman <michael.hoffman@nielsen.com>
2022-02-24 20:50:55 +02:00
Smart-Codi
c1ee75dd8e
fix: filter indicator pointing issue on popover (#18853) 2022-02-24 11:34:21 -07:00
Jinghuayao
0af671fa25
test(native filter): add new native filter test for time column filter (#18850)
* add new native filter test for time column filter
2022-02-24 10:24:14 -08:00
David Aaron Suddjian
da3bc48803
feat: On window focus, redirect to login if the user has been logged out (#18773)
* /me api

* test it

* watch for window activation and check auth

* simplify

* more comment

* making ci happy

* mypy should ignore tests
2022-02-24 10:09:41 -08:00
Hugh A. Miles II
94e245d5eb
add force condition for exporting csv (#18911) 2022-02-24 09:24:33 -08:00
Ville Brofeldt
5752372dd2
refactor(docs): clean up deploy of static files (#18923) 2022-02-24 14:01:26 +02:00
Ville Brofeldt
16380906d1
fix(docs): add missing static files to build (#18920) 2022-02-24 13:17:50 +02:00
Ville Brofeldt
a378a1f572
docs: remove old viz plugin docs (#18914) 2022-02-24 11:54:22 +02:00
dependabot[bot]
db8f5087dc
chore(deps-dev): bump css-loader in /superset-frontend (#17977)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.2.0 to 6.5.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.2.0...v6.5.1)

---
updated-dependencies:
- dependency-name: css-loader
  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>
2022-02-23 18:32:14 -07:00
Paulo Cauca
7345795a2f
fix: Source from Apache Foundation's website link (#18894)
This PR fixes a link to latest version on Download the source from Apache Foundation's website link

from : https://dist.apache.org/repos/dist/release/superset/1.0.0/
to: https://dist.apache.org/repos/dist/release/superset/1.4.1/
2022-02-23 17:59:12 -05:00
Minh Vuong
dafc841e22
feat: allow adding pod labels (#18848) 2022-02-23 11:58:03 -08:00
Jesse Yang
cdd4fa58d0
fix(dashboard): incorrect chart error with slow dataset api request (#18852)
* fix(dashboard): incorrect chart error with slow datasource api request

* update comments

* Add key to styled loading component
2022-02-23 11:02:00 -08:00
michael-hoffman-26
2c86d1a2b7
docs(Import API): update function description, overwrite real meaning (#18882)
Co-authored-by: michael_hoffman <michael.hoffman@nielsen.com>
2022-02-23 20:53:59 +02:00
Corbin Robb
0ae1ca7e02
chore(tests-backend): migrate snowflake and sqlite to unit tests (#18854)
* migrate snowflake and sqlite

* change structure to better match the other unit tests

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-02-23 11:11:10 -06:00
Geido
f38bcab936
Fix database list (#18886) 2022-02-23 18:56:41 +02:00
Kamil Gabryjelski
0922c3ff2d
feat(native-filters): Implement filter cards (#18874)
* feat(native-filters): Filter cards first pass

* Add dependencies row and lots of improvements

* Display tooltip correctly

* Styling fix

* Remove accidentaly added changes

* Address comments

* Fix type

* Fixes
2022-02-23 16:59:40 +01:00
Erik Ritter
324601e0bb
fix: FilterBox date endpoints to use [inclusive, exclusive) (#18857) 2022-02-23 07:37:39 -08:00
Michael Zusev
0edb97907f
docs: fix toc position scroll bug (#18868) (#18878) 2022-02-23 09:25:46 -05:00
Kamil Gabryjelski
e5c7478026
feat(native-filters): Don't scroll main window when scrolling filter bar (#18876) 2022-02-23 15:04:27 +01:00
Ville Brofeldt
700829b74a
docs: add GA conf to config (#18861)
* docs: add GA conf to config

* add license and bump docusaurus
2022-02-23 10:33:12 +02:00
Kamil Gabryjelski
9d5c0505cf
feat(native-filters): Re-arrange controls in FilterBar (#18784)
* feat(native-filters): Re-arrange controls in FilterBar

* Typo fix

* Add tests

* Fix tests

* Address PR reviews

* Add 1px bottom padding to icon

* Fix test

* Tiny refactor

* Change buttons background

* Add hover state to Clear all button

* Fix Clear All button logic so it clears all selections

* Remove redundant useEffect

* Set zindex higher than loading icon

* Fix scrolling issue
2022-02-22 17:45:53 +01:00
Yongjie Zhao
4c16586067
fix(key-value): lost url_params after long-url feature (#18846) 2022-02-22 21:50:50 +08:00
Geido
a9a892945e
fix: Position of arrows in Table chart (#18739)
* Fix arrow position

* Improve position

* Add right position

* Improve styling
2022-02-22 15:42:05 +02:00
Evan Rusackas
7cad143ae6
chore: npm audit fix in cypress-base (#18820) 2022-02-22 09:22:40 +02:00
saurabh gulati
d632590eff
stop query on the processing engine when user clicks STOP on SQL Lab (#18789)
Co-authored-by: Saurabh Gulati <saurabh.gulati@fedex.com>
2022-02-22 09:19:34 +02:00
Geido
535634310b
Fix annotation cache (#18788) 2022-02-21 16:57:22 +02:00
Stephen Liu
c491829e99
chore: unify usages of nvd3 library (#18828) 2022-02-21 11:37:57 +01:00
Sujith Kumar S
7e51b200b4
fix(mssql): support top syntax for limiting queries (#18746)
* SQL-TOP Fix For Database Engines

MSSQL is not supporting LIMIT syntax in SQLs. For limiting the rows, MSSQL having a different keyword TOP. Added fixes for handling the TOP and LIMIT clauses based on the database engines.

* Teradata code for top clause handling removed from teradata.py

Teradata code for top clause handling removed from teradata.py file, since we added generic section in base engine for the same.

* Changes to handle CTE along with TOP in complex SQLs

Added changes to handle TOP command in CTEs, for DB Engines which are not supporting inline CTEs.

* Test cases for TOP unit testing in MSSQL

Added multiple unit test cases for MSSQL top command handling and also along with CTEs

* Corrected the select_keywords name key in basengine

Corrected the select_keywords name key in basengine

* Changes based on as per review.

made the required corrections based on code review to keep good code readability and code cleanliness.

* Review changes to correct lint and typo issues

Made the changes according to the review comments.

* fix linting errors

* fix teradata tests

* add coverage

* lint

* Code cleanliness

Moved the top/limit flag check from sql_lab to core.

* Changed for code cleanliness

Changes for keeping code cleanliness

* Corrected lint issue

Corrected lint issue.

* Code cleanliness

Code cleanliness

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2022-02-21 09:58:39 +02:00
Niko Rebenich
a29153778e
Update configuring-superset.mdx (#18819)
Fixes typo dateime -> datetime
2022-02-21 07:52:35 +02:00
smileydev
3c17c609c9
fix(altered-modal): displayed the metric value in altered modal correctly (#18813)
Co-authored-by: Evan Rusackas <evan@preset.io>
2022-02-20 16:27:46 -08:00
Srinivasan Subramanian
32409b71be
Update INTHEWILD.md (#18824)
Added Unvired usage in enterprise tech
2022-02-20 21:03:01 +02:00
Srini Kadamati
e3129e8999
docs: add_db_logos (#18818)
* docs: added yugabytedb and teradata logos in all the right places

* docs: added yugabytedb and teradata logos in all the right places
2022-02-18 20:49:12 -05:00
smileydev
91236a5225
fix(sqllab): Removed the tooltip from CopyToClipboard button in sqllab (#18749)
* fix(15849): Removed the tooltip from CopyToClipboard button in sqllab

* chore(sqllab): added props for tooltip in CopyToClipboard component

* fix(sqllab): Added arg to storybook and refactor the component

* fix(sqllab): added a test case for hideTooltip
2022-02-18 16:22:21 -07:00
Jacob Roope
e7ff4a58e6
docs: Added reference and link to configure instructions for docker-compose… (#18815)
Co-authored-by: Jacob Roope <[jacobcroope@gmail.com]>
2022-02-18 11:59:04 -08:00
Yongjie Zhao
987740aa8d
fix: contribution operator meets nan value (#18782) 2022-02-18 23:28:28 +08:00
Yongjie Zhao
38cd696981
refactor: move date_parser to unittest (#18810) 2022-02-18 20:15:31 +08:00
Xiang Fu
ea9a904725
Adding pinot logo to ReadMe (#18798) 2022-02-18 14:06:33 +08:00
Xiang Fu
642e80cc64
Update pinot docs with fixed pinot connection (#18800) 2022-02-18 14:04:42 +08:00
dependabot[bot]
a0a01a1771
chore(deps): bump hosted-git-info in /superset-frontend (#18805)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 22:48:10 -07:00
dependabot[bot]
d3d778134c
chore(deps): bump url-parse from 1.5.3 to 1.5.7 in /docs (#18804)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 22:47:41 -07:00