Ville Brofeldt
f286647140
chore(native-filters): remove instant filtering option ( #15365 )
...
* chore(native-filters): remove instant filtering option
* fix test
2021-07-01 13:38:56 +03:00
Ville Brofeldt
4630abb5a8
feat(native-filters): add support for preselect filters ( #15427 )
...
* feat(native-filters): add support for sharing preselected filters
* abc
* add serialization
2021-06-29 18:57:49 +03:00
Kamil Gabryjelski
f109da479d
perf(dashboard): Improve perf of highlighting charts in scope of active filter ( #15424 )
...
* perf(dashboard): Improve perf of highlighting charts in scope of active filter
* More optimizations
* fix tests
* Fix lint
* bug fix
2021-06-29 12:55:53 +02:00
Michael S. Molina
bdb9b0a9be
chore: Rewrites dashboard IconButton component ( #14174 )
2021-06-25 15:15:20 -03:00
Kamil Gabryjelski
f0b64190b5
feat(native-filters): Set default scope by filters' and charts' datasets ( #15302 )
...
* feat(native-filters): Set default scope by filter's and charts datasets
* Fix undefined error
* Use JSON.stringify in dependency array
* Fix lint issue
* Lock scope after switching radio buttons
* Fix weird eslint issue
* Change prop names
* Implement useComponentDidUpdate
* Fix lint
* Refactor useComponentDidUpdate
* Remove screen.debug()
2021-06-24 09:23:35 +02:00
Phillip Kelley-Dotson
c211f7df8e
refactor: icon to icons in DatasourceEditor ( #15240 )
...
* intial commit
* lint
* fix test
* fix lint
* remove console.
* Removing pixel placement override.
Co-authored-by: Evan Rusackas <evan@preset.io >
2021-06-22 15:07:09 -07:00
Michael S. Molina
0c22266041
chore: Improves the native filters bar layout ( #15115 )
2021-06-16 14:17:14 +03:00
Corbin Robb
b179863e25
refactor: Convert TableElement to TypeScript ( #14978 )
...
* Convert TableElement to typescript
* Change type names to better match naming conventions in other files
* Fix import order and update tests on TableElement
* Remove defaultProps
* Destructure the props
* Use Rest and Spread syntax to condense props destructuring
* Fix TypeScript errors and add comment to explain antd props and types weirdness
* Remove comment, add consistency with other files, and use method chaining to make more concise
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local >
2021-06-15 13:29:45 -07:00
Ajay M
045fa1bc7a
feat(dashboard): Let users download full CSV of a table ( #15046 )
...
* - Convert SliceHeader to TSX in progress
- Add menu option to download full CSV. Probably will change it
* Add Download Full CSV feature, and tests
* Added more tests, more TS fixes
* Added feature flag
* Update @superset-ui package versions
* Update @superset-ui packages versions
* use backend config instead of hardcoding number of rows
* Update tests
* front end test fix
* Lint fixes and test fixes
2021-06-14 14:26:18 -07:00
Yaozong Liu
856a2bd5ed
fix(explore): fix y-axis lower bound 0 value ( #15091 )
2021-06-13 11:24:39 +08:00
Kamil Gabryjelski
51f0d4fd98
feat(native-filters): Hide filters which don't affect any visible charts ( #15063 )
...
* feat(native-filters): Hide filters which don't affect any visible charts
* Fix lint errors
* Add comments
* Code review fix
* Fix tests
* Refactor logic in FilterControls
2021-06-11 13:41:08 +02:00
Yongjie Zhao
834bb9409d
fix(datasets): consistent dataset list ( #15014 )
2021-06-10 10:05:33 +08:00
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
Corbin Robb
004a6d9e54
refactor: Convert TableElement.jsx component from class to functional with hooks ( #14830 )
...
* Change TableElement from a class component to a functional component
* Replace class state checks in TableElement_spec.jsx with checks testing elements they change
* Refactor small bit of logic to use optional chaining
* Add optional chaining to some logic
* Fix IconTooltip and add IconTooltip to the collapse button
* Fix custom icon using IconToolTip so it better matches the original
* Update collapse/expand icon to use Icons component instead of importing from antdesign directly
* Fix eslint errors
* Clean up some code for readability
Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local >
2021-06-03 16:04: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
Kamil Gabryjelski
405f95b6af
feat(dashboard/native-filters): Hide filters out of scope of current tab ( #14933 )
...
* Optimize finding charts and tabs in scope
* Put filters out of scope in Collapse
* Use lastFocusedTabId instead of directPathToChild
* Fix tests
* Fix cypress test
* Uncomment e2e test
2021-06-02 20:38:18 +02:00
Michael S. Molina
0c0eccb81a
chore: Improves the native filters UI/UX - iteration 3 ( #14824 )
2021-05-26 10:49:00 +03:00
Kamil Gabryjelski
63dc035d6a
feat(explore): Remove default for time range filter and Metrics ( #14661 )
...
* feat(explore): Remove default for time range filter and Metrics
* Merge errors with same messages
* Fix e2e test
* Rename a variable
* Bump packages
* Fix unit tests
2021-05-25 15:55:41 +02:00
AAfghahi
252c64b397
fix: Additional ResultSet tests ( #14741 )
...
* fixing tests
* added testing
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
* removed decribe
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2021-05-24 17:42:09 -04:00
Kamil Gabryjelski
c831655913
feat(native-filters): Highlight charts affected by focused native filter ( #14693 )
...
* Highlight charts affected by focused native filter
* Remove tabs animation on dashboard
* Remove a test that checks for "animated={true}" prop on tabs
* Move hooks types to a separate interface
2021-05-21 15:54:33 +02:00
Michael S. Molina
be8c176df2
chore: Removes less from SliceAdder ( #14448 )
2021-05-19 00:16:44 -07:00
Evan Rusackas
c2bd684454
fix(Explore): fixes broken layout of tooltips ( #14529 )
...
* fix: moves LESS styles into Emotion, fixes broken layout of tooltips
* fix: tests
* style: linting
* style: better styling location
2021-05-18 21:55:09 -07:00
Ajay M
84e8dc71f6
feat(dashboard): View query of the chart in dashboard ( #14667 )
...
* Extract view query component out
* Typo correction
* Fix and rename tests
* Remove logs, and test code
* Rename file - fix tests
* Fix a typo
* Linting errors, add Apache License Header
2021-05-18 13:17:11 -07:00
AAfghahi
a7a011cce5
feat: Better return messages in SQL Editor ( #14381 )
...
* Sqllab limit
* Add migration script
* Set default values
* initial push
* revisions
* moving migration to separate PR
* revisions
* Fix apply_limit_to_sql
* all but tests
* added unit tests
* result set
* first draft
* revisions
* made user required prop, added it to all places ResultSet is imported
* changed QueryTable test to allow for useSelector
* Query Table working
* working with heights
* fixed scrolling
* got rid of animated
* fixed tests, revisions
* revisions
* revisions
* heights
* fun with heights
* alert state
* aaron helped me fix this
* better alert messages
* fixed result set test
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2021-05-18 11:02:06 -07:00
David Aaron Suddjian
f16c708fab
fix(dashboard): check edit permissions correctly on frontend ( #14626 )
...
* fix(dashboard): check edit permissions correctly on frontend
* fix types, appease linter
* handle nulls better
2021-05-14 12:18:38 -07:00
Phillip Kelley-Dotson
e4e23ea487
fix: fix adhocpopovers tab animate. ( #14478 )
...
* fix popover
* addd tabs default css
* fix lint
* fix tests
* address comments
* lint fix
* fix test
* lint
2021-05-13 20:30:27 -07:00
Michael S. Molina
d31958cbd2
fix: Fixes #12672 ( #14525 )
2021-05-13 12:53:24 -07:00
Ville Brofeldt
3f6bd1e4a4
feat: add generic type to column payload ( #14547 )
...
* feat: add generic type to column payload
* feat: add generic type to column payload
* xit flaky test
2021-05-13 09:36:09 +03:00
Michael S. Molina
331eb10fb9
refactor: Bootstrap to AntD - Form - iteration 4 ( #14546 )
2021-05-12 23:01:43 -07:00
Phillip Kelley-Dotson
cee22e28c0
refactor: remove panel from userinfo component ( #14364 )
...
* first pass
* fix merge
* fix lint
* covert pane to styled comp
* add theme
* fix lint
* fix test
* remove unused import
2021-05-08 15:04:16 -07:00
Michael S. Molina
e7a4734742
chore: Removes tabs animation by default ( #14496 )
2021-05-08 14:22:16 -07:00
Michael S. Molina
79ff96269b
refactor: Bootstrap to AntD - Form - iteration 3 ( #14502 )
2021-05-08 12:34:52 -07:00
Michael S. Molina
68058b0ad9
chore: Moves spec files to the src folder - iteration 4 ( #14380 )
2021-05-05 22:01:05 -07:00
Michael S. Molina
331310db9b
refactor: Bootstrap to AntD - Form - iteration 2 ( #14379 )
2021-05-05 22:00:37 -07:00
Kamil Gabryjelski
b030c9801c
chore: Move styles from .less stylesheet to emotion in Explore ( #14485 )
...
* Move some styles from .less stylesheet to emotion in Explore
* Replace Global styles with local styled components
* Address comments
2021-05-05 15:36:52 +02:00
Jesse Yang
23014e9233
chore: upgrade @emotion ( #14454 )
2021-05-04 15:26:16 -07:00
simcha90
582900c170
perf(native-filters): Load native filters after charts ( #14443 )
...
* fix:fix get permission function
* refactor: filter default value
* refactor: update default value loading
* refactor: apply defaultValues
* lint: fix lint
* lint: fix lint
* test: fix test
* refactor: use extraFormData for reload charts
* feat: load native filters after after charts
* feat: load filters after charts
* fix: revert changes
* test: fix timers
* test: fix tests
2021-05-04 16:07:40 +03:00
Duy Nguyen Hoang
9a22fb00d9
fix: CSV Export permission is not consistent ( #13713 )
2021-05-04 10:19:58 +03:00
simcha90
bbb1f2d757
perf(native-filters): avoid unnecessary reloading of charts ( #14408 )
...
* fix:fix get permission function
* refactor: filter default value
* refactor: update default value loading
* refactor: apply defaultValues
* lint: fix lint
* lint: fix lint
* test: fix test
* refactor: use extraFormData for reload charts
* test: fix tests
* test: fix tests
* test: fix tests
2021-05-03 14:56:41 +03:00
Geido
545e257537
feat: Dynamic imports for the Icons component ( #14318 )
...
* Add aria-label and twotone
* Enhance LazyIcon
* Fix tests and solve ject warnings
* Add new line
* Revert package-lock to master
* Fix failing test
* Implement icon overrides
* Fix failing storybook
* Clean up
* Improve var name
2021-04-29 11:49:39 -07:00
Michael S. Molina
1d6a746a09
refactor: Boostrap to AntD - Tabs ( #14048 )
2021-04-28 23:49:50 -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
4fbb572568
refactor: Bootstrap to AntD - Form - iteration 1 ( #14106 )
2021-04-26 15:03:53 -07:00
simcha90
7ff35dfdfb
fix(native-filters): Fix indicators ( #14334 )
...
* fix:fix get permission function
* fix: hide featured filters
* test: fix FF in tests
* test: fix FF in tests
* fix: fix unset cross filters
2021-04-26 13:22:11 +03:00
simcha90
3e8bf96642
fix(native-filters): Fix first loading of charts ( #14332 )
...
* fix:fix get permission function
* fix: fix unnecessary loading for native filters
* test: fix mocks
2021-04-25 13:58:53 +03:00
Michael S. Molina
aada73302f
chore: Moves spec files to the src folder - iteration 3 ( #14202 )
2021-04-23 16:19:12 -07:00
Michael S. Molina
1bc73f2cba
chore: Moves spec files to the src folder - iteration 2 ( #14201 )
2021-04-23 16:18:46 -07:00
Michael S. Molina
98b450aa76
chore: Moves spec files to the src folder - iteration 1 ( #14200 )
2021-04-23 16:18:16 -07:00
Yongjie Zhao
67535bb320
refactor: reorganize dateFilterUtils.tx ( #14309 )
...
* refactor: reorganize dateFilterUtils.tx
* move spec to src dirctory
2021-04-23 16:05:50 +08:00