Elizabeth Thompson
0c470feaef
move metric parsing to state instantiation ( #15069 )
2021-06-09 14:54:25 -07:00
Elizabeth Thompson
21aa3daae3
display all metric results in editor ( #15031 )
2021-06-07 19:12:56 -07:00
Yongjie Zhao
e6bc7c99e7
feat: add type_generic and is_dttm to table metadata ( #14863 )
2021-06-03 08:20:47 +08:00
David Aaron Suddjian
152b0d0575
fix(explore): checkbox form control formatting ( #14701 )
...
* fix(explore): add inline option for the field that only gets used in one place
* typescriptify
* unnecessary component wrapping
2021-05-19 14:04:09 -07:00
Evan Rusackas
ad699e8b48
fix: don't show busted label for unknown data types ( #14585 )
2021-05-12 23:16:54 -07:00
Michael S. Molina
331eb10fb9
refactor: Bootstrap to AntD - Form - iteration 4 ( #14546 )
2021-05-12 23:01:43 -07:00
Michael S. Molina
a52ff13b5d
chore: Moves Card to the components folder ( #14139 )
2021-04-29 11:51:41 -07:00
Michael S. Molina
d0be1ff79e
chore: Moves Tabs to the components folder ( #14136 )
2021-04-27 00:15:21 -07:00
Michael S. Molina
d1b458c4c5
chore: Moves Radio to the components folder ( #14133 )
2021-04-20 08:48:10 -07:00
Bruno Motta
95ed8735f1
chore: well component to card component(Updating PR #12200 ) ( #14033 )
...
* replace Well componenet with Card component
* Fix lint errors
* Fix lint
* Addressing comments
* Addressing comments
* Fix lint errors
* Exporting Card from index.tsx and adding storybook variants
* Fix some refactoring
* Fix errors
* solving conflicts and lint errors
* Update superset-frontend/src/common/components/Card.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/src/common/components/Card.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
Co-authored-by: Nikola Gigic <nik.gigic@gmail.com >
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2021-04-09 15:06:44 -07:00
AAfghahi
f19f2c3ac8
fix: Floating Menu in SQL Left Bar ( #13858 )
...
* floating table git issue
* made changes
* floating table git issue
* made changes
* long table names
* floating table git issue
* made changes
* floating table git issue
* made changes
* long table names
* floating table git issue
* made changes
* floating table git issue
* made changes
* long table names
* table values
* aligned
* active key
* changed to customStyle
* update dropdown styles
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2021-04-05 15:54:28 -07:00
Michael S. Molina
9d6832dc27
test: Adds tests and storybook to CertifiedIcon component ( #13457 )
2021-03-30 14:31:35 -07:00
Erik Ritter
64785c20bd
feat: add warning metadata to tables and metrics ( #13606 )
2021-03-17 21:27:34 -07:00
Geido
d1f6245bcd
test: Tests, dedicated directory and Storybook for the Badge component ( #13513 )
...
* Move to dir and add storybook
* Add tests
* Remove no-restricted-imports
2021-03-10 12:29:59 -08:00
Michael S. Molina
42ab57850d
Migrate Bootstrap Alert to AntD ( #12101 ) ( #12122 )
2021-02-21 20:50:18 -08:00
AAfghahi
69b0ed663d
fix: added text and changed margins ( #12923 )
2021-02-08 17:26:55 -05:00
Michael S. Molina
5a79a7d993
Migrates Radio component from Bootstrap to AntD. ( #12738 )
2021-02-02 11:26:26 -08:00
Michael S. Molina
c781ab8adf
Migrates Button component from Bootstrap to AntD ( #12832 )
2021-02-01 15:13:10 -08:00
Michael S. Molina
fc20e8b594
Apply capitalization guidelines - iteration 4 ( #12343 ) ( #12450 )
2021-01-22 10:11:38 -08:00
Geido
3444d654ed
fix(explore): Scroll only table in Change Dataset and Edit Dataset Modals ( #12598 )
2021-01-21 10:34:41 -08:00
Jesse Yang
9acf48fd1e
chore: upgrade eslint, babel, and prettier ( #12393 )
2021-01-10 17:26:35 -08:00
Michael S. Molina
8682c6fc1c
refactor: Fix anchor-is-valid lint warnings ( #12010 )
...
* Fix anchor-is-valid lint warnings
* Change IconTooltip to use named exports
2020-12-21 23:58:05 -08:00
Rob DiCiuccio
4d329071a1
feat(SIP-39): Async query support for charts ( #11499 )
...
* Generate JWT in Flask app
* Refactor chart data API query logic, add JWT validation and async worker
* Add redis stream implementation, refactoring
* Add chart data cache endpoint, refactor QueryContext caching
* Typing, linting, refactoring
* pytest fixes and openapi schema update
* Enforce caching be configured for async query init
* Async query processing for explore_json endpoint
* Add /api/v1/async_event endpoint
* Async frontend for dashboards [WIP]
* Chart async error message support, refactoring
* Abstract asyncEvent middleware
* Async chart loading for Explore
* Pylint fixes
* asyncEvent middleware -> TypeScript, JS linting
* Chart data API: enforce forced_cache, add tests
* Add tests for explore_json endpoints
* Add test for chart data cache enpoint (no login)
* Consolidate set_and_log_cache and add STORE_CACHE_KEYS_IN_METADATA_DB flag
* Add tests for tasks/async_queries and address PR comments
* Bypass non-JSON result formats for async queries
* Add tests for redux middleware
* Remove debug statement
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
* Skip force_cached if no queryObj
* SunburstViz: don't modify self.form_data
* Fix failing annotation test
* Resolve merge/lint issues
* Reduce polling delay
* Fix new getClientErrorObject reference
* Fix flakey unit tests
* /api/v1/async_event: increment redis stream ID, add tests
* PR feedback: refactoring, configuration
* Fixup: remove debugging
* Fix typescript errors due to redux upgrade
* Update UPDATING.md
* Fix failing py tests
* asyncEvent_spec.js -> asyncEvent_spec.ts
* Refactor flakey Python 3.7 mock assertions
* Fix another shared state issue in Py tests
* Use 'sub' claim in JWT for user_id
* Refactor async middleware config
* Fixup: restore FeatureFlag boolean type
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2020-12-10 20:21:56 -08:00
Geido
2c323426d1
refactor: Move Badge to Antdesign ( #11899 )
...
* Move Badge to Antdesign
* Export enhanced badge only
* Center number in badge
2020-12-04 17:06:54 -08:00
Evan Rusackas
38b720b0a7
style: eslint curly rule ( #11913 )
...
* style: eslint curly rule
* curly for ts
2020-12-03 10:20:05 -08:00
Grace Guo
61064b9634
add fix for extra comments for #11781 ( #11902 )
2020-12-02 18:13:42 -08:00
Grace Guo
f292015ccd
fix (dataset editor): allow Source tab readOnly mode ( #11781 )
...
* fix (dataset editor) add read-only mode for Source tab
* add feature flag, add unit tests
* rebase and fix comment
* add message for padlock
* move padlock to the bottom of tab
2020-12-01 17:10:33 -08:00
Kamil Gabryjelski
55a3404b71
refactor: Replace react-bootstrap tabs with Antd tabs ( #11118 )
...
* Replace tabs in BuilderComponentPane
* Replace tabs in ControlPanelsContainer
* Replace tabs in AdhocMetricEditPopover
* Replace Tabs in DatasourceEditor
* Replace tabs in AdhocFilterEditPopover
* Replace tabs in DateFilterControl
* Bug fix
* Change Tab styles
* Fix tests
* Fix cypress tests
* Lint fix
* Fix tests
* Change Tabs style in ControlPanelsContainer
* Change tabs content height
* Lint fix
* Add data test
* Fix e2e test
* Move Tabs file to separate dir
* Fix after rebase
* Fix e2e tests
* Fix after rebase
2020-10-30 22:05:31 -07:00
Erik Ritter
ca40877640
feat: add certifications to tables ( #11450 )
2020-10-30 11:28:01 -07:00
adam-stasiak-polidea
a99d795eaf
chore: cypress selectors refactor in explore module ( #11309 )
...
* cypress selectors refactor in explore module
* added delay to typing to make test more stable
* fixed missing click
2020-10-27 13:01:45 -07:00
Ville Brofeldt
ecdff724ea
feat: enable metadata sync for virtual tables ( #10645 )
...
* feat: enable metadata sync for virtual tables
* add migration and check for empty schema name
* simplify request
* truncate trailing column attributes for MySQL
* add unit test
* use db_engine_spec func to truncate collation and charset
* Remove redundant migration
* add more tests
* address review comments and apply templating to query
* add todo for refactoring
* remove schema from tests
* check column datatype
2020-10-27 07:58:38 +02:00
Ville Brofeldt
8575439f48
fix: is_temporal should be overridden by is_dttm value ( #11429 )
2020-10-27 07:22:27 +02:00
Jesse Yang
8aecffd83b
refactor: typing for explore Control and messageToasts ( #11416 )
2020-10-24 21:40:36 -07:00
adam-stasiak-polidea
fc03549299
chore: Added data-test attributes for testing ( #11254 )
...
* Added data-test attributes for testing
* fixed incorrect naming change
* review changes
2020-10-14 16:12:01 -07:00
Lily Kuang
8e58730092
fix(dataset): update user list endpoint ( #11221 )
2020-10-12 17:11:00 +01:00
Maxime Beauchemin
3d7b805755
chore: more 'datasource' -> 'dataset' renaming ( #11055 )
...
* chore: more 'datasource' -> 'dataset' renaming
* fix build
* explicitely setting disabled to false to avoid cypress confusion
* fix tests
* RAT
2020-10-05 20:04:17 -07:00
Maxime Beauchemin
5f55d94b9b
style: rename label 'table name'->'dataset name' ( #11126 )
2020-10-01 15:13:01 -07:00
Lily Kuang
8b458ac172
fix: double scroll bars on dataset editor ( #11095 )
...
* fix double scroll bar on dataset editor
* add table name to virtual tab
2020-09-28 19:28:27 -07:00
Lily Kuang
e337355162
refactor: table selector on dataset editor ( #10914 )
...
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com >
2020-09-28 11:16:03 -07:00
Kamil Gabryjelski
2fd8fca207
chore: Clean up some console warnings ( #11061 )
...
* Upgrade a few packages
* Update some prop types
* Update HTML
* Moar warning fixes
* Remove wrapper div
2020-09-28 09:43:21 -07:00
Kamil Gabryjelski
4835d3b0a2
ESLint: Re-enable rule no-access-state-in-setstate ( #10870 )
...
* Re-enable rule no-access-state-in-setstate
* Move accessing event values out of async functions
2020-09-20 23:48:23 -07:00
Kamil Gabryjelski
557a303cc5
ESLint: Enable rule no-named-as-default ( #10879 )
...
* Enable rule no-named-as-default
* Fix wrong import
2020-09-18 13:41:01 -07:00
Jesse Yang
0129c4253d
feat: move ace-editor and mathjs to async modules ( #10837 )
...
Follow up on #10831 , move brace and mathjs to async modules so that the initial page load for dashboards most pages can be faster.
2020-09-15 14:12:06 -07:00
Kamil Gabryjelski
e28f3d6220
Re-enable rule line-between-class-members ( #10862 )
2020-09-14 15:41:32 -07:00
Kamil Gabryjelski
a75c36281d
Re-enable rule jsx-curly-brace-presence ( #10869 )
2020-09-14 10:44:03 -07:00
Kamil Gabryjelski
352e8a1afd
Re-enable rule prefer-destructuring (only for objects) ( #10867 )
2020-09-14 10:11:20 -07:00
John Bodley
a3e2e65121
fix: Making the database read-only ( #10823 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-09-10 16:23:24 -07:00
Jesse Yang
9a59bdda48
refactor: merge/upgrade superset-ui packages ( #10790 )
...
* refactor: merge/upgrade superset-ui packages
* Fix flaky big number test
* Fix Flaky AdhocFilters test
2020-09-09 13:18:55 -07:00
Maxime Beauchemin
3d8857ecc8
style: rename 'Source' top nav item to 'Data' ( #10715 )
...
* style: rename 'Source' top nav item to 'Data'
* Fix tests
* tables -> datasets
* rename datasource -> dataset
* lint
* more renaming
* use npm ci
2020-08-29 18:09:47 -07:00
Evan Rusackas
9fe30ab71e
style: Pass at propagating (and enhancing) Button component throughout Superset ( #10649 )
...
* getting rid of weird focus/active outline ring
* Buttons... buttons _everywhere_
* linting
* Nixing views/CRUD/dataset/Button component
* fixing 2 typing errors
* fixing more TS errors
* prefer src path for include
* one more real button, one less CSS class
* one more "button" to "Button"
* Published Status is now a proper clickable Label
* nixing the CRUD button again
* touching up stories, with SupersetButton story
* SIP-34 button colors
* adding polished package to mix colors
* updating button colors to match Superset theme
* abstracting away from bootstrap-specific props (might pivot libraries soon!)
* more abstraction from bsStyle/bsSize props
* exchanging styles for a prop
* linting
* restoring feature flag to stock
* using src alias
* last <button> replacement
* this classname would never be applied
* more linting action
* fixing unsupported bsSize 'medium', and cta typing error
* more cta action
* unnecessary styles
* errant bsSize prop
* cleanup
* tweaks to make new New button work
* Linting
* fixing a couple tests
* fixing theme based test failure
* margin tweak for NEW button
* another fixed test
* another fixed test
* fixing two more tests
* fixing last broken tests.
* always be linting
* Adding tertiary/dashed buttons
* cleaning up QueryAndSave buttons
* fixing "link" button styles
* fixing/updating link button styles
* cta buttons on Modal component
* linting.
* exporting button story knobs, making ALL knobs safe for export.
* capitalizing a file... no big whoop
* Basic button tests
* renaming button - temporarily
* renaming file to fix capitalization issue
* passing theme through to a difficult popover.
* fixin' a newly busted unit test
* lint fixin'
* oops, shouldn't have changed this prop!
* adding a dive() to themedShallow, and fixing a cypress/jest test
* addressing lint stuff
* touching up stories, with SupersetButton story
* SIP-34 button colors
* updating button colors to match Superset theme
* abstracting away from bootstrap-specific props (might pivot libraries soon!)
* linting
* restoring feature flag to stock
* cleanup
* Linting
* renaming button - temporarily
* renaming file to fix capitalization issue
* oops, shouldn't have changed this prop!
* adding a dive() to themedShallow, and fixing a cypress/jest test
* addressing lint stuff
* nixing new modal button
* Fixing another popover/button issue that should break cypress
* lint ✨
* passing classNames through to new button (should fix some tests)
* cleaning unused classes, making cypress tests use data attrs
* fixin' the test
* fixing another class-based test with data-test attr
* no longer passing theme as prop to buttons in popovers... themeprovider is better
* outline/border tweaks!
2020-08-28 17:34:28 -07:00