* Autocomplete toggle improvements:
* Refactor to its own component.
* Show state in tooltip (enabled/disabled).
* Disable the toggle if autocomplete is not possible (no schema/too many tokens).
* Remove unsued code.
* Custom icons font (currently has only two icons).
Generated with Icomoon. If we extend its use, we should probably automate this and move to its own package.
* Don't disable live autocomplete for data sources without schema.
It can still be useful to autocomplete from local keywords.
* Differentiate between autocomplete toggle states with an icon.
Also added explicit message for the disabled state.
* Remember thes state of autocomplete.
* Only auto register init functions.
* Revert "remove pytest_watch (#3048)"
This reverts commit 096eba3876.
* Revert "address tag display on query list page (#2803)"
This reverts commit 99115a12e6.
Add page size settings.
| name | default | description |
| :---- | :------ | :---------- |
| `REDASH_PAGE_SIZE` | 20 | How many items are displayed in one page as default. |
| `REDASH_PAGE_SIZE_OPTIONS` | 5,10,20,50,100 | How many steps as page_size. |
This feature has requested at the meetup in Japan.
https://redash-meetup.connpass.com/event/101420/
* Add Jest packages
* Add first test
* Install eslint rules for jest & move deps to dev
* Configure cirlce to run jest
* package.json: Remove dev command
* package.json: clean command
* Don't autoload test files.
* Fix: webpack-dev-server was recompiling all the files on every change
* Update CircleCI step names
* Add DB2 as a data source using ibm-db python package
* fix some codeclimate issue
* fix long line and missing white space
* Manage case of bad import
* Add DB2 query_runner as default query runner
* Fixed minor PEP8 rules
* Fix search size on smaller tablet size
* Less prominent tag counter
* Fix hiding logo
* Add missing space between icon and button text
* Different embed icon
* Revert embed icon to its original
* Better edit source icon + markup cleanup
* feat: add support for expanding dashboard visualizations
These changes implement support for expanding a dashboard visualization
into a larger modal dialog.
This is useful if you have a dashboard with lots of small widgets and
want to inspect one of the widgets more closely. In the past, this
would've required you to navigate to the query page to see a larger
version of the visualization. With these changes, visualizations can
be expanded right from the dashboard.
The implementation is simple as it just renders the visualization into
a modal dialog. Other parts of the widget (e.g. parameters) are not
included in this dialog.
* chore(widget-dialog): use query-link widget to render title
This reduces code duplication a bit. The link is made read-only
as navigation doesn't close the modal dialog.
* fix: make ui-select dropdown z-index > modal dialog z-index in dashboard page
Otherwise the dropdown renders behind the modal dialog if filter value
is changed from the modal view of a widget.