Commit Graph

28 Commits

Author SHA1 Message Date
Ran Byron
3df372434f [Widget Params] Migrated edit params + new widget dialog to Ant Modal (#3387) 2019-02-04 21:00:59 +02:00
Levko Kravets
0c45d69662 Dashboard Parameters (#2756)
* getredash/redash#2641 Step 1: split Add Widget/Add Textbox buttons

* Convert Add widget/textbox dialogs to React components

* getredash/redash#2641 Step 2: Implement new dashboard parameters logic

* Resolve conflicts and fix build errors

* getredash/redash#2641 Refactoring and improve code quality

* Add Edit parameter mappings dialog to the widget

* getredash/redash#2641 Changes after code review

* Use Ant's Select component instead on <select> tags

* Fix Antd imports

* Fix Antd imports

* Fix Cannot read property 'getParametersDefs' of undefined

* Fix widgets static params bugs (don't show input, don't init from URL)

* Minor UI/UX fixes
2019-01-15 13:14:54 +02:00
Sami Jaktholm
9c8d06578a feat: add support for expanding dashboard visualizations (#2824)
* 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.
2018-10-14 10:42:31 +03:00
Levko Kravets
ec17cc7eab getredash/redash#2854 Widget titles wrong rendering on public dashboards (#2870) 2018-09-28 11:26:37 +03:00
Zsolt Kocsmarszky
77831d1c91 Adjust query header colors 2018-07-06 14:37:40 +02:00
Levko Kravets
17a677b6d0 Dashboard: make etire widget header clickable 2018-06-13 21:23:09 +03:00
Zsolt Kocsmarszky
bdbeebdf86 Improve the header of the query by moving the visualization name to the first place 2018-06-11 17:19:45 +02:00
Arik Fraimovich
4a9b93a131 Improve dashboard refresh UX: show previous data while refreshing.
Also refactored the Widget (client side) model to accomodate the necessary changes.
2018-04-30 11:01:36 +03:00
Arik Fraimovich
d02386488c Fix: dashboard refresh was broken due to introduction of track by to ng-repeat. 2018-04-08 15:32:14 +03:00
Levko Kravets
be9bcaeb3d Multiple fixes:
* Fix: line chart with category x-axis: when some values missing, wrong hints displayed on hover
* Fix: second Y-axis not displayed when stacking enabled
* Set of dashboard improvements and bug fixes
    - set minimal height of widgets to 1 (was 4)
    - bug: for some widgets auto-height wasn't calculated properly (sometimess too small, sometimes too large)
    - bug: for small widgets, top-right menu was cut to widgets bounds
    - bug: with opened top-right menu widgets with auto-height started "dancing"
    - bug: at some point auto-height feature was disabling by itself (in fact - it depends on `angular-grindter`s internal processes)
    - fix: widget with empty contents had extra 40px of white space (paddings of container)
* Add scrollbars to pivot table widgets
* Fix: 100% CPU loading caused page lags
2018-03-23 19:25:21 +03:00
Zsolt Kocsmarszky
75c94c2cbd Fix parameter bottom spacing on widgets 2018-01-31 22:06:10 +01:00
Arik Fraimovich
c3cb2cc28b Merge pull request #2126 from getredash/layout_fixes
Layout fixes (mainly schema browser)
2017-12-07 19:45:55 +02:00
Zsolt Kocsmarszky
68177d31b3 Fix wide tables on queries and related elements like pagination 2017-12-06 21:30:27 +01:00
Arik Fraimovich
2c36563e50 View query link in widget should link to source view 2017-12-05 16:42:27 +02:00
Zsolt Kocsmarszky
63e76628cf Fix showing refresh time on public dashboard 2017-12-05 15:34:46 +01:00
Arik Fraimovich
a9384d3a09 Merge branch 'master' into design/refinement 2017-11-22 18:19:40 +02:00
Levko Kravets
d765f6edb6 Some fixes for Table and Pivot viz 2017-11-21 09:08:09 +02:00
Zsolt Kocsmarszky
a1fdaa998b Revert hiding refresh button, still keep refresh functionality on last refreshed date 2017-11-20 16:03:49 +01:00
Zsolt Kocsmarszky
ab77f00526 Move refresh button under latest refresh time 2017-11-19 21:34:40 +01:00
Zsolt Kocsmarszky
c3ca2e2ec1 Small improvement on widget styling 2017-11-18 21:02:50 +01:00
Zsolt Kocsmarszky
9420d2683e Drop 'Updated:' prefix 2017-11-13 15:38:34 +01:00
Zsolt Kocsmarszky
3e7e06d4b4 Add time icon next to updated time 2017-11-13 14:33:50 +01:00
Zsolt Kocsmarszky
ea7b09d18e Add extra classes for widget elements for easier styling 2017-11-09 23:37:52 +01:00
Levko Kravets
627dc26004 In editing mode hide menu button and show remove button instead 2017-11-07 16:31:24 +02:00
Levko Kravets
43bf051d51 Cleanup CSS 2017-11-07 10:41:29 +02:00
Levko Kravets
bbcbb3edc6 CR2 2017-11-06 21:52:23 +02:00
Levko Kravets
6a7d2291b4 getredash/redash#335 Better dashboard editor 2017-11-06 21:50:11 +02:00
Arik Fraimovich
acd33ec852 Auto register Angular components, pages, etc 2017-10-25 23:34:51 +03:00