Kamil Gabryjelski
352e8a1afd
Re-enable rule prefer-destructuring (only for objects) ( #10867 )
2020-09-14 10:11:20 -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
Erik Ritter
09de805017
chore: enable no-unused-vars and prefer-template eslint rules ( #10350 )
2020-07-16 19:13:59 -07:00
Jesse Yang
4d179622fa
fix(explore): edit datasource does not update control states ( #10284 )
2020-07-10 12:46:25 -07:00
Jesse Yang
e94c9804a2
fix: optimize mapStateToProps for chart controls ( #10264 )
2020-07-09 00:33:48 -07:00
Jesse Yang
ed4f6e93ac
chore: bump superset-ui to v0.14.1 ( #10112 )
2020-06-22 11:14:23 -07:00
Ville Brofeldt
fc92692f49
feat: implement new version of word cloud ( #9962 )
2020-06-02 19:28:58 +03:00
Ville Brofeldt
1b72907b18
Revert "feat: bump superset-ui and implement queryFields in formData ( #9908 )" ( #9931 )
...
This reverts commit 2c97e72959 .
2020-05-27 22:50:14 +03:00
Ville Brofeldt
2c97e72959
feat: bump superset-ui and implement queryFields in formData ( #9908 )
...
* feat: Bump superset-ui packages for queryFields
* feat: Implement queryField in formData
2020-05-26 10:19:33 -07:00
Phillip Kelley-Dotson
333dc8529e
feat: tablechart plugin controls migration ( #9847 )
...
* delete controls
* move columnoption to controls
* update package and remove columnoption
* fix: remove console and fix import
* fix: lint
* update version
* fix last rebase
* fix: lint:
2020-05-21 12:15:02 -07:00
Jesse Yang
81ab8dd8b4
feat: upgrade react-select and make multi-select sortable ( #9628 )
...
* feat: upgrade react-select v1.3.0 to v3.1.0
Upgrade `react-select`, replace `react-virtualized-select` with a custom
solution implemented with `react-window`.
Future plans include deprecate `react-virtualized` used in other places, too.
Migrate all react-select related components to `src/Components/Select`.
* Fix new list view
* Fix tests
* Address PR comments
* Fix a flacky Cypress test
* Adjust styles for Select in CRUD ListView
* Fix loadOptions for owners select in chart PropertiesModal
TODO: add typing support for AsyncSelect props.
* Address PR comments; allow isMulti in SelectControl, too
* Clean up NaN in table filter values
* Fix flacky test
2020-05-19 16:59:49 -07:00
Ville Brofeldt
5485eb993c
feat: Add controlGroups to formData ( #9740 )
2020-05-06 14:53:13 +03:00
Evan Rusackas
5e4c291913
Controls cleanup pass ( #9578 )
...
* migrating date_filter
* normalized control
* filter_configs control
* column_collection control
* time_range_endpoints control
* time_range_fixed control
* url_params control
* cache_timeout control
* annotation_layers control
* color control unused?
* linters rule 🤘
* this should have been deleted earlier
* global_opacity, mapbox_label, mapbox_style, viewport_zoom
* linting
* comparison_type
* contribution control
* log_scale
* show_values
* table_filter
* pandas_aggfunc
* code control
* formatSelectOptions import
* lint
* markup_type control
* lintage
* date_time_format control, linting
* url control, test mods
* min_periods control
* rolling_periods
* rolling_type
* missing lib
* order_desc
* number_format
* link_length
* all_columns_y
* all_columns_x
* normalize_across, select_country, all_columns
* fixing test
* linter-caught dependencies
* waiting
* wait longer!
* utilizing tabOverride for Analytics
* tabOverride for Annotations and Layers
2020-04-24 16:12:26 -07:00
Jesse Yang
7b33d5457b
fix: change number format to original value to "~g" ( #9608 )
...
Originally it uses " ", which do give the original value, but will
not work when the `getNumberFormatter` in `superset-ui/number-format`
is called for the second time. Because the format will successfully
register as "" [1], but cannot be obtained again via `registry.get()`[2].
[1]: 44ad062dd0/packages/superset-ui-number-format/src/NumberFormatterRegistry.ts (L30)
[2]: dc804b7a70/packages/superset-ui-core/src/models/RegistryWithDefaultKey.ts (L36)
2020-04-22 10:07:37 -07:00
Jesse Yang
2b957a2c1e
Add raw number/integer option to d3 number formats ( #9562 )
2020-04-20 21:31:47 -07:00
Evan Rusackas
ea27e68ee1
Migrating shared NVD3 controls to new module ( #9525 )
...
* proto module
* caught a missed 'freq' unique control
* line_interpolation
* linting
* showLegend
* show_controls
* xAxisLabel
* bottomMargin
* x_ticks_layout
* missed one
* x_axis_format
* yLogScale
* y_axis_bounds
* linting
* nixing yarn lock
* x_axis_showminmax
* xAxisShowminmax control
* richTooltip
* linting, syntax fix
* show_bar_value, bar_stacked
* reduceXticks, yaxislabel
* left_margin, max_bubble_size, y_axis_showminmax
* show_labels
* send_time_range, y_axis_2_format, show_markers, order_bars
* nixing commented imports
* fake controls
* looking up actual controls for comparison.
* adding key to test setup
* controls inventory
* apache junk
* lint ✨
* ignore null controls
* fixing goofed up spread operation for xAxisFormat config
* lint ✨
* fixes for errors caused by <hr> element in filterbox controls
* fixing filter controls for 'druid_time_origin', 'granularity', 'granularity_sqla', 'time_grain_sqla'
* getControlsInventory -> getControlsForVizType
* further renaming of chartControlsInventory - > getControlsForVizType
Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
2020-04-17 11:40:50 -07:00
Ville Brofeldt
427d2a05e5
chore: Migrate unique FilterBox controls from controls.jsx ( #9566 )
...
* Migrate FilterBox controls from controls.jsx
* Linting
2020-04-17 12:20:32 +03:00
Evan Rusackas
6270f7dc24
Importing validators module from superset-ui ( #9465 )
...
* importing... this is going to break CI, but there it is.
* adding validator package.
* pluralization - maybe it should be plural, but whatevs
* updating validators to match new exports
* removing old validators
* lintage ✨
* validateNumeric -> validateNumber
* using legacyValidateInteger, legacyValidateNumber
* linting ✨
* removing extraneous package lock file
2020-04-14 12:00:25 -07:00
Evan Rusackas
b6bca9f137
Migrating shared DeckGL controls ( #9455 )
...
* Missed a couple unique controls!
* new shared module, with filter_nulls export.
* autozoom
* dimension
* nixing unneeded import
* stroke_width
* js_columns
* remaining js_* controls
* cleaning up unused stuff
* legend_format
* exports for prior commit
* legend_position
* line_column
* fill_color_picker
* filled, stroked, stroke_color_picker
* grid_size, extruded
* ... more gridsize
* viewport
* point_radius_fixed, spatial
* multiplier, line_type, line_width
* reverse_long_lat
* lint ✨
2020-04-06 18:37:25 -07:00
Evan Rusackas
1cdfb829d7
Eslint prefer-object-spread ( #9466 )
...
* The rule.
* The result
2020-04-03 17:05:16 -07:00
Evan Rusackas
265a2feb29
Migrating NVD3 Area's stacked_style config ( #9454 )
...
* Migrating NVD3 Area's stacked_style config
* test mods
* lint
* nonsense change
* undoing nonsense. Come on GitHub, WORK.
2020-04-03 12:50:28 -07:00
Evan Rusackas
cd572334c9
Migrating unique NVD3 viz controls ( #9445 )
...
* donut control
* labels outside
* linting
* x_log_scale, pie_label_type
* linting
* line_charts, line_charts_2
* marker_labels
* marker_line_labels, marker_lines, markers
* prefix_metric_with_slice_name, range_labels, ranges
* stacked_style
* Revert "stacked_style"
This reverts commit aae2d418b8f1950fbe32248b62e50a12fbf186bd.
* stacked_style take 2...
* Revert "stacked_style take 2..."
This reverts commit 38b7155f50143684c92a67b2a9fa16f65c269d35.
2020-04-03 12:50:07 -07:00
Evan Rusackas
9e79cf37f8
Migrating unique bigNumber(total) controls ( #9440 )
...
* migrating options controls
* lint ✨
* baby steps...
* shared BigNumber controls file
* capitalization matters
2020-04-02 10:52:32 -07:00
Evan Rusackas
c003189d0d
migrating unique controls ( #9446 )
2020-04-02 09:26:52 -07:00
Jianchao Yang
f0f4f7e91d
feat(visualization): add timeRangeFixed to Big Number w/ Trendlines ( #9341 )
...
* feat: add timeRangeFixed and increase font size for Big Number chart
* Update package-lock.json
2020-04-01 12:38:56 -07:00
Evan Rusackas
fd227888b6
Mirgrating unique Partition chart controls ( #9385 )
...
* mirgrating controls
* specific import
2020-03-27 09:16:36 -07:00
Evan Rusackas
98a26c4f2c
migrating controls ( #9373 )
2020-03-26 21:32:23 -07:00
Evan Rusackas
9fcdc93c06
Migrating horizon controls ( #9368 )
...
* migrating unique controls
* linting ✨
2020-03-26 15:16:07 -07:00
Evan Rusackas
b12188ec80
migrating unique controls ( #9374 )
2020-03-26 15:15:47 -07:00
Evan Rusackas
ccff6be969
Migrating unique BoxPlot controls ( #9392 )
2020-03-26 09:29:17 -07:00
Evan Rusackas
7e86e38dab
Migrating unique Table controls ( #9388 )
2020-03-26 09:28:51 -07:00
Evan Rusackas
bf0fa84bbc
migrating controls 🎛 ( #9386 )
2020-03-26 09:28:09 -07:00
Evan Rusackas
0061a3ebaf
Migrating unique DirectedForce controls ( #9359 )
...
* migrating controls
* Linting ✨
* oops... meant to pull this out in a conflict resolution.
2020-03-25 19:20:52 -07:00
Ville Brofeldt
fe53555fc2
Migrate unique Heatmap controls ( #9360 )
...
* Migrate Heatmap controls
* Lint
2020-03-24 21:43:20 +02:00
Evan Rusackas
3d738eecec
Treemap controls migration ( #9352 )
...
* Treemap
* linting
2020-03-23 22:33:08 -07:00
Evan Rusackas
b5a9bae106
migrating unique EventFlow controls ( #9358 )
...
* migrating unique controls
* Lint ✨
2020-03-23 22:32:55 -07:00
Evan Rusackas
20dd4182cb
Cal heatmap controls migration ( #9355 )
...
* controls migrated
* linting
2020-03-23 22:16:16 -07:00
Ali Bahjati
98ac72074c
Add Iran to Country Visualization ( #8940 )
2020-03-18 14:08:07 +02:00
Maxime Beauchemin
c04d6163e7
feat: add rolling window support to 'Big Number with Trendline' viz ( #9107 )
...
* Rolling big number
* addressing comment
2020-03-10 10:19:12 -07:00
David Aaron Suddjian
2913063924
SIP-32: Moving frontend code to the base of the repo ( #9098 )
...
* move assets out, get webpack dev working
* update docs to reference superset-frontend
* draw the rest of the owl
* fix docs
* fix webpack script
* rats
* correct docs
* fix tox dox
2020-02-09 17:53:56 -08:00