Grace Guo
b3107bb603
[explore] Split large reducer logic in ExploreViewContainer ( #3088 )
...
* split reducer logic for ExploreViewContainer
* fix saveModal component and unit tests
* revert changes in SaveModal_spec.
will make another commit just to improve test coverage for SaveModal component.
* remove comment-out code
* fix merge confilicts
2017-08-10 14:21:45 -07:00
Maxime Beauchemin
327c052456
[webpack] break CSS and JS files while webpackin' ( #3262 )
...
* [webpack] break CSS and JS files while webpackin'
* cleaning up some templates
* Fix pylint issue
2017-08-09 09:52:43 -07:00
eeve
033ba2cb66
Improve the chart type of Visualize in sqllab ( #3241 )
...
* Improve the chart type of Visualize in sqllab & Add some css & Fix the link address in the navbar
* add vizTypes filter
2017-08-09 09:12:21 -07:00
Maxime Beauchemin
2385cd445b
[explore] make edit datasource a basic link ( #3244 )
2017-08-08 12:29:24 -07:00
Riccardo Magliocchetti
ae0655028f
explore: redraw chart on width change too ( #3067 )
...
Fix #3028
2017-08-04 09:15:08 -07:00
Shao-Yen "Fred" Cheng
2ef9bfed20
[bug fix] Fix to #3137 and #3239 ( #3240 )
...
* #3137 add the leftover code from #3138 for fixing issue #3137
* #3239 Use slice id as the key instead of sliceName
2017-08-04 09:05:50 -07:00
Maxime Beauchemin
4ea770068b
Allowing to integrate time as a groupby value ( #3229 )
2017-08-02 21:33:27 -07:00
Rich @ RadICS
163f4e359c
Allow 'refresh_immune_slices' ( #2974 )
...
* Allow 'refresh_immune_slices'
* Changed param name, added note in FAQ
* Linting
2017-08-02 08:46:19 -07:00
Maxime Beauchemin
62fcdf2a92
[explore] DatasourceControl to pick datasource in modal ( #3210 )
...
* [explore] DatasourceControl to pick datasource in modal
Makes it easier to change datasource, also makes it such that the list
of all datasources doesn't need to be loaded upfront.
* Adding more metadata
2017-08-01 12:08:00 -07:00
Maxime Beauchemin
48821b5101
[sqllab] fix UI shows 'The query returned no results' momentarily ( #3214 )
...
this is visible when running async queries between the fetching and
success state as the rows are getting cached in the component
2017-08-01 10:26:13 -07:00
Maxime Beauchemin
48760849ec
[sqllab/cosmetics] add margin-top for labels in query history ( #3222 )
2017-08-01 10:25:13 -07:00
Andrew Pariser
58a704b84c
Autofocus search input in VizTypeControl modal onEnter ( #2929 )
2017-07-28 14:57:24 -07:00
Rogan
b58cfbcb91
add combine config for metrics in pivot table ( #3086 )
...
* add combine config for metrics in pivot table
* change method to stack/unstack
* update backendSync
2017-07-28 14:16:38 -07:00
Maxime Beauchemin
b888802e05
[sqllab] improve Hive support ( #3187 )
...
* [sqllab] improve Hive support
* Fix "Transport not open" bug
* Getting progress bar to show
* Bump pyhive to 0.4.0
* Getting [Track Job] button to show
* Fix testzz
2017-07-27 14:00:19 -07:00
Maxime Beauchemin
cf1d0f38ad
[bugfix] visualize flow error: 'Metric x is not valid' ( #3181 )
...
The metric name in the frontend doesn't match the one generated on the
backend. It turns out the explore view will default to the first
metric so specifying one isn't needed.
2017-07-26 09:22:25 -07:00
Maxime Beauchemin
fca982c609
[bugfix] fix bar order ( #3180 )
2017-07-26 09:22:03 -07:00
Rich @ RadICS
4268513653
Add 'show/hide totals' option to pivot table vis ( #3101 )
2017-07-25 21:11:38 -07:00
Rogan
b301ba1f57
Datasource cannot be empty ( #3035 )
2017-07-25 21:05:31 -07:00
Maxime Beauchemin
95509f2000
[bugfix] only filterable columns should show up in FilterBox list ( #3105 )
...
* [bugfix] only filterable columns should show up in FilterBox list
* Touchups
2017-07-25 20:50:41 -07:00
Maxime Beauchemin
49ab09101b
Fixing the damn build ( #3179 )
...
* Fixing the build
* Going deeper
2017-07-25 13:57:29 -07:00
Chris Williams
40d9e15126
Add event-flow visualization ( #3102 )
...
* [event-flow] add event flow visualizaton type from @data-ui/event-flow.
* [event-flow] update vis thumbnail
* [event-flow] update row limit label, remove duplicate chart controls
* [dependencies] add @data-ui/event-flow 0.0.2
* [linting] fix multiple imports
* [deps] bump mapbox-gl and react-map-gl to fix build
* [event-flow] bump to 0.0.3 for es2015 + stage-0 babel presets
* [deps] revert mapbox version bumps
* [event-flow] update png, bump to newest version, address reviewer comments, add min event count form.
* [event-flow] pin version
* [event-flow][spec] add test for coveralls
* [event-flow] revert spec
2017-07-21 16:29:25 -07:00
Grace Guo
27fab0d54f
allow user press Enter key to end editing title ( #3112 )
2017-07-17 08:58:10 -07:00
Maxime Beauchemin
091e93c831
[minor] change tooltip on 'Edit slice properties' ( #3116 )
...
* [minor] change tooltip on 'Edit slice properties'
* Upgrading npm version for travis
* Bumping node version to most recent
2017-07-16 22:29:30 -07:00
Shao-Yen "Fred" Cheng
7abe2d5eee
[ #3137 ] Use state.datasource.type instead of state.datasource_type when rendering ControlPanelsContainer ( #3138 )
2017-07-16 21:04:34 -07:00
Maxime Beauchemin
7b015faae9
[heatmap] basic non empty validation ( #3119 )
2017-07-15 20:07:57 -07:00
Maxime Beauchemin
7045018d86
New chart type : Chord Diagrams ( #3013 )
2017-06-26 16:44:47 -07:00
Maxime Beauchemin
a55f963e52
[bugfix] issue creating separators & markup slices ( #3041 )
2017-06-26 11:00:21 -07:00
Maxime Beauchemin
6eba6cac0b
[hotfix] xAxis broken on time series viz
2017-06-21 16:35:50 -07:00
Maxime Beauchemin
99e1de58bc
A set of minor fixes ( #3014 )
2017-06-21 12:09:49 -07:00
Maxime Beauchemin
593861eac6
[bugfix] fix metrics/metric control default ( #3009 )
...
We should pick an arbitrary metric by default. This broke when
improving the metrics selector recently.
2017-06-21 09:31:29 -07:00
Maxime Beauchemin
06fcaa3095
Stabilizing Celery / SQL Lab ( #2981 )
...
* upgrade celery to 4.0.2
* using Redis for unit tests (sqla broker not supported in Celery 4)
* Setting Celery's soft_time_limit based on `SQLLAB_ASYNC_TIME_LIMIT_SEC` config
* Better error handling in async tasks
* Better statsd logging in async tasks
* show [pending/running] query status in Results tab
* systematically using sqla NullPool on worker (async) to limit number
of database connections
2017-06-20 13:55:03 -07:00
Maxime Beauchemin
7e5e229f48
Improving TextAreaControl to support code and modal ( #2988 )
2017-06-19 22:27:16 -07:00
Maxime Beauchemin
3e51c61dbf
[explore] improve bubble viz ( #2927 )
...
* [explore] improve bubble viz
* allow for custom axis formatters
* reorg the control panels
* Addressing comments
2017-06-19 22:09:09 -07:00
Grace Guo
591e512327
add test coverage for SqlEditorLeftBar ( #2984 )
2017-06-19 11:39:32 -07:00
Grace Guo
1dcf2c4326
fix local state 'columns' ( #2896 )
...
* fix local state 'columns'
* fix method name per code review
2017-06-15 15:30:13 -07:00
Grace Guo
fb6ef26a24
add test coverage for ResultSet component ( #2972 )
...
* add test coverage for ResultSet component
2017-06-15 13:51:09 -07:00
Alanna Scott
00b34d7fbd
[js-testing] add tests for explore actions ( #2976 )
...
* move to explore folder and delete explorev2 folder
* add tests for fetchDatasourceMetadata
* tests for fetchDatasources, fetchDatasourceMetadata
* use $.ajax for fetch dashboards and write test
2017-06-15 12:26:22 -07:00
Grace Guo
8329ea2b9b
Edit Dashboard title and Slice title in place ( #2940 )
...
* Edit Dashboard title and Slice title in place
Add EditableTitle component into Dashboard and Explore view to support edit title inline.
2017-06-14 12:52:12 -07:00
Maxime Beauchemin
24e3c7f89a
[dashboard] notify instead of modal onSave ( #2941 )
...
* [dashboard] notify instead of modal onSave
* Addressing comments
2017-06-12 21:04:46 -07:00
Maxime Beauchemin
1eff48facb
Bumping some dependencies ( #2945 )
...
Most notably Flask AppBuilder to 1.9.0
2017-06-12 13:21:14 -07:00
Maxime Beauchemin
16141ecb94
[explore] improve metric(s) and groupby(s) controls ( #2921 )
...
* [explore] improve metric(s) and groupby(s) controls
- surface verbose_name, description & expression in controls
- [table viz] surface verbose name in table header
* Fixing tests
* Addressing comments
* Fixing tests (once more)
2017-06-09 11:29:55 -07:00
Alanna Scott
24292dbc11
add new slice form improvements ( #2928 )
...
* dont set first datasource as default
* not used
* add a disabled class if datasource is not selected
* sort datasources alphabettically
* make btn disabled is no datasource is selected
* fix linting
2017-06-08 10:49:02 -07:00
Maxime Beauchemin
24a2f5b8f0
[big number] various improvements ( #2912 )
...
* [big number] various improvements
* dynamic number of X axis ticks based on width to prevent label overlap
* corrected overflow on the x axis
* improved tooltips (precise arrow and visible data point circle on hover)
* Fixing tooltips in heatmap viz
2017-06-08 08:50:30 -07:00
Alanna Scott
d3ace6d63f
[js-testing] type checking for dates.js ( #2893 )
...
* tests for dates.js
* linting
* test fduration output
* ignore warnings in code climate
* use eslint-2 otherwise defaults to eslint-3
* test eslint 1
* remove channel rule
* disable checks
* checks for eslint engine
2017-06-07 22:27:21 -07:00
Alanna Scott
205eed8350
add more tests for Timer ( #2889 )
2017-06-07 22:12:07 -07:00
Alanna Scott
5bf40e2256
[slices] add simple new slice form ( #2800 )
...
* initial structure for add new slice page
* simplify add slice form
* add a test
* fix long line
* use underscore for template name
* fix controls path
* fix vis types select
2017-06-07 22:08:59 -07:00
Grace Guo
c9e5fbb09b
[dashboard]Add timeout message on Dashboard view ( #2910 )
...
Same as explore view, if query takes > 45 seconds not returned, we will show Query timeout warning message. Otherwise user will see 504 Gateway timeout error.
2017-06-06 12:05:05 -07:00
Grace Guo
0d3f57a78d
fix a linting error ( #2895 )
2017-06-02 15:52:39 -07:00
Alanna Scott
04fb0e2c2d
fix js error on explore view ( #2894 )
...
* fix js error on explore view
* bump version
2017-06-02 14:36:51 -07:00
Alanna Scott
677c427b16
delete DataPreviewModal, it doesn't get used anywhere ( #2882 )
2017-06-01 14:30:15 -07:00