Commit Graph

2469 Commits

Author SHA1 Message Date
Maxime Beauchemin
d0b5b449b2 Add a ColorPickerControl (#3653)
* Add a ColorPickerControl

* Tests
2017-10-15 23:38:38 -07:00
Jeff Niu
bad6938d1a [New Viz] Partition Diagram (#3642)
* Added Partition Visualization

* added unit tests
2017-10-12 21:54:59 -07:00
timifasubaa
48e28eff9b Add description for running specific test (#3665) 2017-10-12 20:53:37 -07:00
michellethomas
f87163413b Making the sort order for metrics pull from fd for time table viz (#3661) 2017-10-12 17:51:26 -07:00
Ali Cirik
52a9f2742b Make columns that return an exception on click unsortable. (#3417) 2017-10-11 22:36:12 -07:00
michellethomas
7f07fbefbc Adding sort time table (#3651)
* Updating time_table component to sort

* Removing old sort
2017-10-11 21:25:17 -07:00
Ganesh Krishnan
93660c6838 added aihello as superset user. (#3647) 2017-10-11 21:17:54 -07:00
Maxime Beauchemin
3ebadbcda9 Fix #3612 - reverse sign in difference calculation (#3646) 2017-10-11 21:14:39 -07:00
Denny Biasiolli
3df3e0d681 Fixing some warnings during tests (#3648)
* ColorSchemeControl: fixing bad use of PropTypes

Accessing PropTypes via the main React package is deprecated, and will be
removed in React v16.0. Use the latest available v15.* prop-types package from
npm instead. For info on usage, compatibility, migration and more, see
https://fb.me/prop-types-docs

* Control: adding PropTypes.func in types allowed inside `value` prop

This removes a warning during yarn tests

Fix #3589

* tests(QueryStateLabel): removing missing prop warning

```
Warning: Failed prop type: The prop `query` is marked as required in
`QueryStateLabel`, but its value is `undefined`.
    in QueryStateLabel
```

* SaveQuery: removing invalid prop `target` supplied to `Overlay`.

This removes a warning during yarn tests:

```
Warning: Failed prop type: Invalid prop `target` supplied to `Overlay`.
```

* RunQueryActionButton: removing `isRequired` from queryState props

This removes a warning during yarn tests:
```
Warning: Failed prop type: The prop `queryState` is marked as required in
`RunQueryActionButton`, but its value is `null`.
```
2017-10-11 21:07:52 -07:00
Jeff Niu
4a3c09187a [Translations] Restored lost French translations (#3645)
* Added some missing translations

squash

* Restored previous French translations
2017-10-10 17:52:39 -07:00
Maxime Beauchemin
76f8d33d81 [sql lab] fix impersonation + template issue (#3644)
When the database impersonation flag is on, a query using a template
fails. It has to do with templating using a database connection without
a username being specified by the caller, along with the fact that the
work is taking place on a worker, outside a web request, where
referencing g.user raises this exception.
2017-10-10 17:52:22 -07:00
Maxime Beauchemin
6cc6637454 Pin moment.js library since 2.19.0 creates problem (#3641)
The 2.19.0 released today (2017-10-10) creates issues with the
DateFilterControl somehow. Pining lib to latest known version.
2017-10-10 15:53:03 -07:00
Maxime Beauchemin
d7f8a7fde3 [time_table] adding support for URLs / links (#3600)
Using Mustache templating and providing {{ metric }} as well as
{{ ...formData }} as context.
2017-10-10 11:54:21 -07:00
michellethomas
80eb9c2c64 Set tooltip to show extent of sparkData (#3626)
* Set tooltip to show extent of sparkData

* Using d3format instead of round
2017-10-10 11:53:53 -07:00
Grace Guo
bd45e3b19a add explicit message display for 'Fetching Annotation Layer' error (#3631) 2017-10-10 11:49:53 -07:00
Maxime Beauchemin
b866b33dee [bugfix] Template rendering failed: '_AppCtxGlobals' object has no attribute 'user' (#3637)
Somehow the nature of `g` in Flask has changed where `g.user` used to
be provided outside the web request scope and its not anymore.

The fix here should address that.
2017-10-10 11:46:28 -07:00
Grace Guo
8994bdacbd fix long title text wrapping in editable-title component (#3638)
fix https://github.com/apache/incubator-superset/issues/3628
2017-10-10 11:45:48 -07:00
Maxime Beauchemin
f3b403d346 [minor] proper tooltip on ControlHeader's instant re-render trigger (#3625) 2017-10-09 23:28:14 -07:00
Yu Xiao
5ad4167512 add annotation option and a linear color map for heatmap viz. (#3634)
* add annotation option and a linear color map for heatmap viz.

* error fixes.

* fixes for requested changes
2017-10-09 23:17:51 -07:00
Maxime Beauchemin
ca67a7a4e9 [bugfix] empty From date filter NoneType error (#3633)
Error "AttributeError: 'NoneType' object has no attribute 'split'" is
fired.
2017-10-09 20:59:11 -07:00
Riccardo Magliocchetti
64ef8b14b4 remove unused imports (#3621)
* superset: remove unused imports

Spotted by pyflakes

* superset: removed unused get_session
2017-10-08 21:04:09 -07:00
Jeff Niu
912c6f6231 fixing date/time filter keys (#3611) 2017-10-07 13:07:23 -07:00
Maxime Beauchemin
6f1351fbbb [bugfix] #3593 'Chart Options' panel is missing (#3606) 2017-10-06 00:43:55 -07:00
Maxime Beauchemin
f75dc0271d Removing git artifact (#3601) 2017-10-05 09:25:05 -07:00
Maxime Beauchemin
1fb8716231 [hotfix] fixing issues around new time_table viz (#3599) 2017-10-04 16:22:11 -07:00
Maxime Beauchemin
ed212440b5 [hofix] work around circular deps (#3598)
* [hofix] work around circular deps

* lint
2017-10-04 14:48:32 -07:00
Maxime Beauchemin
1528288b59 [time table] fix reversed ratio (#3597) 2017-10-04 13:11:02 -07:00
Jeff Niu
7c936e7f60 [Feature/Bugfix] Datepicker and time granularity options to dashboard filters (#3508)
* Feature: added datepicker and time granularity options to dashboard filter

* Added option for Druid datasource time filters

* added more checkbox control over dashboard time filters
2017-10-04 12:43:29 -07:00
Denny Biasiolli
ff268a7526 updating react-alert dependency to v2.3.0 (#3596)
it was downgraded in commit 7045018d86.
The old version used React.PropTypes and it was deprecated.
This version is compatible with React 15+.

Fix #3588
2017-10-04 12:08:06 -07:00
Maxime Beauchemin
e9804aedff [translations] generating missing strings (#3577) 2017-10-04 12:07:46 -07:00
Jeff Niu
e95132ddc3 [Bugfix/Feature] Fixed slice render staggering on dashboard first load (#3478)
* Feature: disable dashboard refresh staggering

* Removed refresh staggering everywhere except during periodic render
2017-10-04 10:23:17 -07:00
Maxime Beauchemin
bb0f69d074 New "Time Series - Table" visualization (#3543)
* [WiP] adding a new "Time Series - Table" viz

* Adding drag-n-drop to collection

* Using keys in arrays

* tests
2017-10-04 10:17:33 -07:00
Maxime Beauchemin
645de384e3 [sql lab] fix numeric sort in data table (#3587)
Currently numerical values sort as alpha, this addresses the issue.
2017-10-04 10:17:01 -07:00
fabianmenges
15ecdeb3ba Fxing bug in label generation for multiple groupbys (#3594) 2017-10-04 09:40:30 -07:00
Naoya Kanai
04ea3addc4 update immutable.js to v3.8.2 (MIT license) (#3591) 2017-10-04 09:07:12 -07:00
Jeff Niu
7e64f2e988 [Feature] Copy-to-clipboard button in View Query (#3571)
* added copy-to-clipboard button to explore/view query

* modified CopyToClipboard to deselect current before copying
2017-10-03 22:34:40 -07:00
Jeff Niu
40fbf1c761 Allow users to see query string when query returns no data (#3585) 2017-10-03 22:32:17 -07:00
fabianmenges
a85968eadb [Bugfix]: Explore view does not respect custom timeout. (#3582) 2017-10-03 22:20:32 -07:00
Jeff Niu
efc63669a6 Fixed creating new filter options in FilterBox (#3584) 2017-10-03 22:20:10 -07:00
Jeff Niu
076f9cd095 Added custom pasteSelect to handle paste events (#3562) 2017-10-03 15:58:18 -07:00
Maxime Beauchemin
fdbc936dc9 Bumping React to 15.6.2 (MIT license) (#3569)
I think that leaves only immutable.js with the ASF-incompatible PATENTS clause

I asked for a 3.8.x MIT release of the immutable lib here:
https://github.com/facebook/immutable-js/issues/1309
2017-10-03 15:57:42 -07:00
Maxime Beauchemin
18e459e19e v0.20.1 (#3576) 2017-10-03 00:04:43 -07:00
michellethomas
064363df78 After saving slice fixing redirect (#3572) 2017-10-02 18:19:52 -07:00
Jeff Niu
f8cc05b54e Added label+percent and label+value display options to pie chart (#3565) 2017-10-02 15:53:11 -07:00
Denny Biasiolli
9baca6758d Removing yarn warnings during install (#3567)
* removing deprecated babel-preset-es2015 in favor of babel-preset-env

This removes this yarn warning during install:

```
warning babel-preset-es2015@6.24.1:
Thanks for using Babel: we recommend using babel-preset-env now:
please read babeljs.io/env to update!
```

* updating sinon to 4.0.0

This removes wrench from its dependencies and this yarn warning during install:

```
warning wrench@1.3.9: wrench.js is deprecated!
You should check out fs-extra (https://github.com/jprichardson/node-fs-extra)
for any operations you were using wrench for.
Thanks for all the usage over the years.
```
2017-10-02 15:25:37 -07:00
Maxime Beauchemin
b39d165913 [nvd3] fix single metric showing up in legend (#3563) 2017-10-02 10:42:16 -07:00
Kan Ouivirach
bc3ad64619 Add Pronto Tools to user list (#3558) 2017-10-02 08:41:04 -07:00
Gábor Hermann
0bd2ac5353 Minor documentation fix (#3553) 2017-09-29 16:47:18 -07:00
Maxime Beauchemin
03e2af8bd9 CHANGELOG for 0.20.0 (#3545) 2017-09-28 14:42:57 -07:00
timifasubaa
82b85d1d6c Explore update button labels (#3534)
* resolve ui ambiguity

* resolve button name ambiguity

* update test
2017-09-28 14:40:11 -07:00