Commit Graph

739 Commits

Author SHA1 Message Date
ryan
1bc8e7a8d1 merge master, works with bar gauge now 2019-03-13 11:12:11 -07:00
corpglory-dev
a550e5388a Merge branch 'master' of https://github.com/grafana/grafana into piechart-react 2019-03-13 19:31:40 +03:00
ryan
011b2cdf09 merge master 2019-03-13 09:10:21 -07:00
ryan
b4a3aecbbc merge master 2019-03-13 09:03:32 -07:00
ryan
a17b1912c2 Merge remote-tracking branch 'grafana/master' into table-reducer
* grafana/master: (95 commits)
  Fixed issue with alert links in alert list panel causing panel not found errors, fixes #15680
  Add comments
  Add simple test for the ColorPicker
  Use render props pattern in color picker
  Move ColorPicker trigger to separate component and cleanup css
  Improved error handling when rendering dashboard panels, fixes #15913
  fix return type
  Only send ci metrics to hosted metrics instance
  adding types
  Added back branch guard
  moved delete button from sidebar to general tab and renamed it
  Refactoring the ci metrics a bit more making it easier to re-use
  removed unused and very specific variables, also variables with same value as general variable
  reduce loglevel to debug
  Updated bar gauge snapshot
  added some comments about state of components things
  heatmap: fix for negative values
  move sort to table processing
  onCellClick
  rotate!
  ...
2019-03-13 08:38:25 -07:00
ryan
b933c57c62 merge master 2019-03-13 08:36:51 -07:00
Andrej Ocenas
fc199a35ca Add comments 2019-03-13 12:23:41 +01:00
Andrej Ocenas
dfb2dd2500 Add simple test for the ColorPicker 2019-03-13 12:23:40 +01:00
Andrej Ocenas
96285c4f56 Use render props pattern in color picker 2019-03-13 12:23:39 +01:00
Andrej Ocenas
4a2905de97 Move ColorPicker trigger to separate component and cleanup css 2019-03-13 12:23:38 +01:00
Torkel Ödegaard
d6bab53d3b
Merge pull request #15626 from grafana/davkal/15607-explore-line-colors
Explore: Make sure line graphs get different colors
2019-03-13 12:21:44 +01:00
Torkel Ödegaard
9e7d1f4275
Merge pull request #15466 from grafana/bar-gauge-poc
New Bar Gauge panel
2019-03-13 11:12:33 +01:00
Peter Holmberg
9c33a9410f adding types 2019-03-13 10:50:21 +01:00
ijin08
e632309ab9 removed unused and very specific variables, also variables with same value as general variable 2019-03-13 09:40:56 +01:00
Torkel Ödegaard
613e233440 Updated bar gauge snapshot 2019-03-13 08:50:44 +01:00
Torkel Ödegaard
aa6a9329c3
Merge pull request #15842 from ryantxu/alpha-react-virtualized-table
Alpha react-virtualized table
2019-03-13 08:42:51 +01:00
Torkel Ödegaard
af4de51a9a added some comments about state of components things 2019-03-13 08:39:40 +01:00
Torkel Ödegaard
71159fb606 Merge remote-tracking branch 'origin/master' into bar-gauge-poc 2019-03-13 08:26:06 +01:00
ryan
8cca611727 comment cleanup 2019-03-12 21:25:35 -07:00
ryan
f5e8734c6b force circleci to try again 2019-03-12 21:11:11 -07:00
ryan
4652138987 format 2019-03-12 21:05:33 -07:00
ryan
f165139bae touch 2019-03-12 17:03:21 -07:00
ryan
227d28154b touch 2019-03-12 17:02:44 -07:00
ryan
4e5e548902 merge master 2019-03-12 16:57:30 -07:00
ryan
7311b14da1 API to fix/update properties before load 2019-03-12 16:10:14 -07:00
ryan
c82a7b9bd5 Merge remote-tracking branch 'grafana/master' into table-reducer
* grafana/master: (32 commits)
  Fixed more typescript no implicit any issues
  Also push to ci metrics to new shared HM instance
  Fixed type issues introduced by adding angular types
  Typescript noAny fixes, start of a long journey
  Updated code stats collection
  Updated path to new script
  POC on collecting metrics in ci process
  changelog: add notes about heatmap issues #15683 #14019
  added two new variables in default theme for panel padding, replaced panelhorizontalpadding and variables.panelverticalpadding with new variables
  renamed default variables: s -> sm, m -> md, l -> lg
  removed gf-form-margin variable and replaced with space- variables where it was used
  heatmap: able to hide buckets with zero value #12080
  s -> sm, m -> md, l -> lg
  heatmap: fix prometheus buckets sorting, closes #15637
  s -> sm, m -> md, l -> lg
  removed headings-margin-bottom variable
  remove kbn test
  Added scopedVars argument in datasourceSrv.get in DataPanel
  heatmap: able to reverse Y buckets order, #15683
  Refactoring of multi-value datasource PR #15812
  ...
2019-03-12 14:34:15 -07:00
ryan
e84ddc8e30 more tests 2019-03-12 14:34:01 -07:00
ryan
0446fb9171 more options in storybook 2019-03-12 14:26:07 -07:00
ryan
9016c18088 adding simple widget to pick the reducer 2019-03-12 10:53:28 -07:00
Torkel Ödegaard
ab2caf9ef9
Merge pull request #15943 from grafana/15429-removed-sass-var-in-js
Removed SASS variables being used in JS
2019-03-12 17:18:12 +01:00
ryan
a8c985de60 move sort to table processing 2019-03-12 09:09:33 -07:00
ryan
90510b5ffb Merge remote-tracking branch 'grafana/master' into alpha-react-virtualized-table
* grafana/master:
  Fixed type issues introduced by adding angular types
  Typescript noAny fixes, start of a long journey
  Updated code stats collection
  Updated path to new script
  POC on collecting metrics in ci process
  renamed default variables: s -> sm, m -> md, l -> lg
  removed gf-form-margin variable and replaced with space- variables where it was used
  heatmap: able to hide buckets with zero value #12080
  s -> sm, m -> md, l -> lg
  heatmap: fix prometheus buckets sorting, closes #15637
  s -> sm, m -> md, l -> lg
  removed headings-margin-bottom variable
  remove kbn test
  Added scopedVars argument in datasourceSrv.get in DataPanel
  Refactoring of multi-value datasource PR #15812
  fixed minor misstake with dashboard padding
  removed -margin, replaced with new general variables
  added new space variables to margins in AddPanelWidget, add_data_source, dashboard_settings and sidemenu
  added new variables for spacing, set margins in _cards with new variables
  Make datasource variables multiselect and dashboard repeatable
2019-03-12 09:04:20 -07:00
Torkel Ödegaard
5cabf64fa4
Merge pull request #15946 from grafana/typescript-any-fixes-part1
Progress on fixing typescript noImplicitAny issues
2019-03-12 15:52:42 +01:00
Torkel Ödegaard
3e5016c228
Merge pull request #15941 from grafana/renamed-defaults-size
Renamed default.ts variables
2019-03-12 15:45:12 +01:00
Torkel Ödegaard
25b1bec250 Typescript noAny fixes, start of a long journey 2019-03-12 15:14:45 +01:00
ijin08
dc98fb5e82 added two new variables in default theme for panel padding, replaced panelhorizontalpadding and variables.panelverticalpadding with new variables 2019-03-12 14:24:48 +01:00
ijin08
c54f2912e4 renamed default variables: s -> sm, m -> md, l -> lg 2019-03-12 13:01:22 +01:00
Patrick O'Carroll
b2a0c2b6d2
Merge branch 'master' into 8px-system-margins3 2019-03-12 12:42:23 +01:00
Torkel Ödegaard
51c06a8c46
Merge pull request #15901 from grafana/8px-system-margins
8px system margins
2019-03-12 12:31:31 +01:00
ijin08
7a15528223 removed gf-form-margin variable and replaced with space- variables where it was used 2019-03-12 12:30:34 +01:00
ryan
b7963f8e87 add table reducer 2019-03-12 01:29:01 -07:00
ijin08
1432fdd102 Merge branch '8px-system-margins2' of github.com:grafana/grafana into 8px-system-margins3 2019-03-12 08:39:44 +01:00
ijin08
3e6c15a88a Merge branch '8px-system-margins' of github.com:grafana/grafana into 8px-system-margins2 2019-03-12 08:31:31 +01:00
ijin08
a418697453 s -> sm, m -> md, l -> lg 2019-03-12 08:10:31 +01:00
ijin08
204d21abbe removed headings-margin-bottom variable 2019-03-12 08:01:20 +01:00
ryan
6ae0d8e062 rename to displayValues 2019-03-11 22:17:37 -07:00
ryan
152aa76648 merge master 2019-03-11 21:16:51 -07:00
ryan
bf0b9d9fe2 more tests 2019-03-11 21:04:47 -07:00
ryan
94799f568e fix tests 2019-03-11 17:52:46 -07:00
ryan
4783ea629b merge with master 2019-03-11 15:10:11 -07:00
ryan
8cd54c94e9 make value processing reusable 2019-03-11 14:47:54 -07:00
Torkel Ödegaard
6a34eb2d9a
Merge pull request #15886 from ryantxu/table-editor
Add a basic table editor to grafana/ui
2019-03-11 18:41:42 +01:00
ryan
455a33bd8e cleanup after review 2019-03-11 09:24:25 -07:00
ryan
f4ae0cfaa8 Merge remote-tracking branch 'grafana/master' into all-data-as-table
* grafana/master:
  fix(explore/logs) not collapsing whitespace (#15737)
  Refactoring / fixing password hint PR #15868
  chore: Move sidemenu out of context service and use the logic we have in the router already for hiding the sidemenu
  Fix deduplication results displaying wrong data (#15755)
  Revert "Fix Datasource Update to no User/Password"
  fix imageurl in notification test
  changed all rems to pixels in defaults and template, changed back root font size
  Make password hint configurable from settings/defaults.ini
  changed root font to 100%(default 16px), changed font-size from px to rem, updated rem sizes in template and default.ts files, removed display classes and variables since not used, removed lead class and variables since not usedremoved serif font since not used and probably never should be used
  fix: Update test snapshot
  fix: Logo goes Home instead of toggling side menu #15482
  Fix: #14706 Incorrect index pattern padding in alerting queries
  Removed commented code
  Fixed alias in Cloudwatch Expressions
2019-03-11 09:06:08 -07:00
ryan
59b5f88798 rename handleXXX to onXX events 2019-03-11 09:03:10 -07:00
ryan
cb51f13e69 torkel feedback 2019-03-11 08:34:09 -07:00
ryan
c84c77e664 onCellClick 2019-03-11 08:17:59 -07:00
ijin08
fae2f54530 fixed minor misstake with dashboard padding 2019-03-11 15:38:10 +01:00
ijin08
1ad0c7678a removed -margin, replaced with new general variables 2019-03-11 14:47:27 +01:00
Torkel Ödegaard
4a70d4ef61
Merge pull request #15859 from grafana/font-use-rem-and-variables
Styling update to fonts
2019-03-11 13:09:49 +01:00
ijin08
d55f189749 added new space variables to margins in AddPanelWidget, add_data_source, dashboard_settings and sidemenu 2019-03-11 11:33:15 +01:00
ryan
7054cf8bb5 rotate! 2019-03-11 01:08:00 -07:00
ijin08
7dc4853e91 added new variables for spacing, set margins in _cards with new variables 2019-03-11 08:51:32 +01:00
ryan
61053ec099 better css 2019-03-11 00:45:15 -07:00
ryan
91a2307b98 rotate! 2019-03-10 23:11:57 -07:00
ryan
84fa9be29f add comment 2019-03-10 15:51:19 -07:00
ryan
eef94b3f08 Merge remote-tracking branch 'grafana/master' into all-data-as-table
* grafana/master:
  reuse deprecationWarning
  move to string.ts
  move stringToJsRegex
  minor storybook cleanup
  docs: update slack alert notification settings
2019-03-10 15:34:18 -07:00
ryan
b80c773ebe attach themes to table story 2019-03-10 15:34:02 -07:00
ryan
0a094c1226 merge master 2019-03-10 13:45:18 -07:00
Torkel Ödegaard
fc41d10b9e
Merge pull request #15891 from ryantxu/string-utils
move stringToJsRegex to grafana/ui
2019-03-10 19:56:36 +01:00
Dominik Prokop
eefba7373d
Merge pull request #15890 from ryantxu/storybook-cleanup
Minor storybook cleanup

- DeleteButton should use withCenteredStory like everythign else
- Clicking the 'Red' button should not pick blue :)
2019-03-10 19:42:20 +01:00
ryan
f7f124c56b reuse deprecationWarning 2019-03-10 10:37:44 -07:00
ryan
d13eebfe52 move to string.ts 2019-03-10 10:19:02 -07:00
ryan
b2a7891b08 move stringToJsRegex 2019-03-09 23:50:46 -08:00
ryan
494acddb2f get field mapping to actually work 2019-03-09 23:39:11 -08:00
ryan
1cb03670c4 add variable size storybook 2019-03-09 23:07:42 -08:00
ryan
fe22d14e93 cell builder cleanup 2019-03-09 20:47:02 -08:00
ryan
11188b53af minor storybook cleanup 2019-03-09 15:43:49 -08:00
ryan
6494c17cfa fix typos 2019-03-09 15:27:14 -08:00
ryan
e2be194b46 autofill space rather than force with/height values 2019-03-09 15:10:06 -08:00
ryan
9134620c1a return table directly, not the debug info 2019-03-09 14:15:41 -08:00
ryan
c7f35f2dcf moved utillities to util 2019-03-09 10:16:43 -08:00
ryan
078d8f1210 table using MultiGrid 2019-03-09 00:27:33 -08:00
ryan
343e49decb Merge remote-tracking branch 'grafana/master' into alpha-react-virtualized-table
* grafana/master: (24 commits)
  docs: Fix indentation level for OAuth2 config
  docs: update CONTRIBUTING.md
  @grafana/ui - release docs v1 (#15835)
  Minor refactoring of copy tags when saving feature, #15446
  Simple implementation for preserve tags, closes #11627
  Updated prettierignore
  Refactoring of PR #14772
  fix typo in pr template
  add nil/length check when delete old login attempts
  Minor refactoring of new react text panel
  fix allow anonymous server bind for ldap search
  use pure component
  use replaceVariables
  Catch bad regex exception at controller level
  11780: invalid reg value can cause unexpected behaviour
  update
  Add string quote func
  Remove option used to control within browser
  Add pic into actionCard message
  Add new option to set where to open the message url
  ...
2019-03-08 20:52:30 -08:00
ryan
3bd26df7de cleanup 2019-03-08 20:49:45 -08:00
ryan
eca3824e2d cleanup 2019-03-08 20:36:52 -08:00
ryan
40d7ba1e6a adding toolbar 2019-03-08 18:02:52 -08:00
ryan
9df47391ea adding stub table input CSV 2019-03-08 16:49:45 -08:00
ryan
7ce7da1251 merge master 2019-03-08 08:27:48 -08:00
ryan
6617a382a3 Merge remote-tracking branch 'grafana/master' into all-data-as-table
* grafana/master: (23 commits)
  @grafana/ui - release docs v1 (#15835)
  Minor refactoring of copy tags when saving feature, #15446
  Simple implementation for preserve tags, closes #11627
  Updated prettierignore
  Refactoring of PR #14772
  fix typo in pr template
  add nil/length check when delete old login attempts
  Minor refactoring of new react text panel
  fix allow anonymous server bind for ldap search
  Update README.md
  use pure component
  use replaceVariables
  Catch bad regex exception at controller level
  11780: invalid reg value can cause unexpected behaviour
  update
  Add string quote func
  Remove option used to control within browser
  Add pic into actionCard message
  Add new option to set where to open the message url
  Optimize the Dingding match values format
  ...
2019-03-08 08:25:30 -08:00
Dominik Prokop
d104ee1c15
@grafana/ui - release docs v1 (#15835)
* Readme update

* Update @grafana/ui Readme qith release process description. Allow version commit creation during release

* Run tests and checks for grafana/core before releasing grafana/ui

* Post review Readme updates
2019-03-08 14:42:19 +01:00
corpglory-dev
a7bd8d503d Simple storybook 2019-03-08 15:47:15 +03:00
corpglory-dev
b8fcd3d962 Improve rendering 2019-03-08 15:17:04 +03:00
ijin08
00ce556bd0 changed all rems to pixels in defaults and template, changed back root font size 2019-03-08 13:02:55 +01:00
corpglory-dev
e47769c185 Rename: Piechart -> PieChart 2019-03-08 13:42:41 +03:00
corpglory-dev
ef37e95bb7 Import only what is used from d3 2019-03-08 13:33:53 +03:00
ryan
229dff757c less nesting and add test 2019-03-08 02:14:35 -08:00
ryan
188dc86246 remove type field and add helper functions to check if data isTableData 2019-03-08 00:41:35 -08:00
ryan
5aef3bd139 add storybook 2019-03-08 00:28:42 -08:00
ryan
223906654c don't include stuff from app/... 2019-03-07 18:27:51 -08:00
ryan
eed9a2010e fix scss 2019-03-07 17:55:23 -08:00
ryan
e1324289c8 rename to Table 2019-03-07 17:49:02 -08:00
ryan
ca5d7c3510 fix type errors 2019-03-07 17:08:22 -08:00
ryan
d7b1fd75e3 move to grafana/ui 2019-03-07 16:52:20 -08:00
ryan
1609c07fb2 use TableData, not interface 2019-03-07 14:55:30 -08:00
ryan
439b044204 move toTableData to grafana/ui 2019-03-07 13:09:53 -08:00
ryan
8bf57359ab don't require x & y columns for timeSeries 2019-03-07 12:47:21 -08:00
ryan
abf015ace2 use TableData for timeseries in react 2019-03-07 12:13:38 -08:00
ijin08
c5f4239703 changed root font to 100%(default 16px), changed font-size from px to rem, updated rem sizes in template and default.ts files, removed display classes and variables since not used, removed lead class and variables since not usedremoved serif font since not used and probably never should be used 2019-03-07 15:37:17 +01:00
corpglory-dev
a23ba378d4 Initial tooltip 2019-03-06 20:32:37 +03:00
Torkel Ödegaard
bc2a798158
Merge pull request #15574 from grafana/more-color-variables-use-variables
Changed some more color variables to use variables
2019-03-06 18:07:42 +01:00
Johannes Schill
03e0e1783d fix: Consistency in unit labels #15709 2019-03-06 16:24:49 +01:00
corpglory-dev
ce47032ee8 Run prettier 2019-03-06 17:36:07 +03:00
corpglory-dev
3497c36002 Fix donut rendering 2019-03-06 17:12:27 +03:00
corpglory-dev
7f0e22e288 Run prettier 2019-03-06 17:04:51 +03:00
corpglory-dev
4cd91ff979 Render svg instead of canvas 2019-03-06 16:49:03 +03:00
ryan
f5aba36814 add ScopedVars to replace function 2019-03-05 21:56:52 -08:00
Torkel Ödegaard
281d9f6058
Merge pull request #15798 from grafana/fixed-scrollbar-not-visible
Fixed scrollbar not visible initially (only after manual scroll)
2019-03-05 17:34:30 +01:00
corpglory-dev
250ee2298a Merge branch 'master' of https://github.com/grafana/grafana into piechart-react 2019-03-05 17:13:38 +03:00
Torkel Ödegaard
cd78f0bef2 Fixed scrollbar not visible due to content being added a bit after mount, fixes #15711 2019-03-05 14:32:33 +01:00
Peter Holmberg
ee4df15526 moving 2019-03-05 13:55:29 +01:00
Torkel Ödegaard
e6a83bf0e1 Fixed scrolling issue that caused scroll to be locked to the bottom of a long dashboard, fixes #15712 2019-03-05 12:37:19 +01:00
Torkel Ödegaard
0016ad2cb3
Merge pull request #15774 from ryantxu/set-options
Rename PanelEditorProps.onChange to onOptionsChange
2019-03-05 09:11:56 +01:00
ryan
3d16528459 use onOptionsChange 2019-03-04 12:35:24 -08:00
ryan
251008f590 use replaceVariables rather than onInterpolate 2019-03-04 11:44:38 -08:00
ryan
77d709d9df use updateOptions rather than onChange 2019-03-04 11:21:05 -08:00
Hugo Häggmark
3a65e27e83 Fixes #15739 2019-03-04 10:42:59 +01:00
Torkel Ödegaard
328eea3a29
Merge pull request #15713 from grafana/scrollbar-right-side
Fixed right side scrollbar margin on dashboard page
2019-03-04 08:13:01 +00:00
Peter Holmberg
a9ca8e9dec fix 2019-03-02 13:51:55 -08:00
Torkel Ödegaard
84b2c0447e Fixed right side scrollbar margin on dashboard page 2019-02-28 08:29:18 -08:00
corpglory-dev
17c4b7096e Fix prettier 2019-02-27 20:48:55 +03:00
corpglory-dev
81c140b425 Initial rendering 2019-02-27 20:07:58 +03:00
corpglory-dev
b48f8bcf4c Add PiechartType enum 2019-02-27 20:04:57 +03:00
corpglory-dev
bc9d4e07d0 Install d3 2019-02-27 17:33:52 +03:00
corpglory-dev
6114097668 Remove extra props 2019-02-27 17:33:18 +03:00
corpglory-dev
e842e86e2a Merge branch 'master' into piechart-react 2019-02-27 16:09:13 +03:00
Peter Holmberg
8bdf2111c4 Bumping grafana ui version (#15669)
grafana/ui 6.0.1-alpha.0 release version bump
2019-02-26 20:51:52 +01:00
Peter Holmberg
1bffde57e3 Need this to be available for plugins 2019-02-26 09:22:21 -08:00
Torkel Ödegaard
88e1e83800 style tweaks 2019-02-23 15:02:25 +01:00
Torkel Ödegaard
72943af46a Refactoring orientation stuff 2019-02-23 14:59:26 +01:00
Torkel Ödegaard
bce6f75fdc Refactoring bar gauge 2019-02-23 14:00:25 +01:00
Torkel Ödegaard
92c7303615 Refactoring bar gauge 2019-02-23 13:28:27 +01:00
Torkel Ödegaard
a27c55b53d Added missing file 2019-02-23 12:14:50 +01:00
Torkel Ödegaard
5590b026d0 refactoring repeater and code in gauge and bar gauge to reuse more code 2019-02-23 11:31:35 +01:00
Dominik Prokop
34f6d9ab8e grafana/ui 6.0.0-alpha.0 release version bump 2019-02-22 11:30:45 +01:00
ijin08
05d5e796d7 removed color in color variables names 2019-02-22 08:33:07 +01:00
Dominik Prokop
c1d0f11c47 grafana/ui 1.0.0-alpha.0 release 2019-02-21 22:22:35 +01:00
Dominik Prokop
10916d9192 Update grafana/ui readme 2019-02-21 17:45:52 +01:00
Peter Holmberg
73b4d817e4 prettier fix 2019-02-21 16:07:07 +01:00
Dominik Prokop
db58ab6c02 Fixed prettier issue in color picker 2019-02-21 15:40:43 +01:00
Dominik Prokop
394ee5dc08 Added keywords and description go grafana/ui package 2019-02-21 15:12:23 +01:00
Dominik Prokop
996588528a Fixed failing tests because of circular dependency 2019-02-21 15:12:23 +01:00
Dominik Prokop
75e9c1e8fc Fix version and name in grafana/ui package.json 2019-02-21 15:12:22 +01:00
Dominik Prokop
d4c40e4360 Imports updates 2019-02-21 15:12:22 +01:00
Peter Holmberg
362829d7ad Merge branch 'master' into bar-gauge-poc 2019-02-21 15:08:49 +01:00
Dominik Prokop
529c1ea53d Implemented scripts for building and releasing grafana/ui 2019-02-21 15:06:29 +01:00
ijin08
7be18e1a08 changed some more color variables to use variables 2019-02-21 15:05:17 +01:00
Peter Holmberg
f3ff3c1aec fixed tests 2019-02-21 14:44:21 +01:00
Torkel Ödegaard
b4627ec302 Minor fix/polish to gauge panel and threshold editor 2019-02-21 13:44:05 +01:00
Peter Holmberg
89883c2cf6 copying options between visualizations 2019-02-21 13:43:36 +01:00
Torkel Ödegaard
745fd68571 fixed issue in dark sass template 2019-02-21 12:39:22 +01:00
Torkel Ödegaard
67e39a5562 Merge branch 'cli/watch-sass-var-new-colors' 2019-02-21 12:33:10 +01:00
Torkel Ödegaard
3868602581 Updated body & page variables to use variables from code theme 2019-02-21 12:32:29 +01:00
Torkel Ödegaard
b21eb36909 Merge branch 'master' of github.com:grafana/grafana 2019-02-21 12:18:34 +01:00
Torkel Ödegaard
31511ee3cc fixed snapshots failing in master 2019-02-21 12:10:01 +01:00
Dominik Prokop
f5a520bf39 Synced variable template files 2019-02-21 11:59:47 +01:00
Dominik Prokop
0df56f9356 Merge branch 'master' into cli/watch-sass-var 2019-02-21 11:56:54 +01:00
Torkel Ödegaard
9a7866a040
Merge pull request #15560 from grafana/scrollbar-fixes
Fixed scrollbar issue introduced in theme changes
2019-02-21 11:32:19 +01:00
corpglory-dev
8bc4139bbd Merge branch 'master' of https://github.com/grafana/grafana into piechart-react 2019-02-21 12:47:05 +03:00
Peter Holmberg
58f194b483 Merge branch 'master' into bar-gauge-poc 2019-02-21 10:38:26 +01:00
Dominik Prokop
9b03815141 Merge branch 'master' into cli/watch-sass-var 2019-02-21 09:50:24 +01:00
Torkel Ödegaard
7d105439f9 Fixed scrollbar issue introduced in theme changes 2019-02-21 09:41:53 +01:00
Dominik Prokop
f28cc871e1 Fix build 2019-02-21 09:09:24 +01:00
Peter Holmberg
8c5c953521 minor touch ups 2019-02-20 17:07:36 +01:00
ijin08
a9c5fe5be1 updated colors in light, dark and theme files, in template file basic colors uses variables from dark/light files, also changed to -basic in some files 2019-02-20 16:11:36 +01:00
Peter Holmberg
2fc136e615 added orientation option 2019-02-20 15:07:30 +01:00
corpglory-dev
67fe351f72 export PiechartDataPoint from @grafana/ui 2019-02-20 16:52:29 +03:00
corpglory-dev
4edd22589c Merge branch 'master' of https://github.com/grafana/grafana into piechart-react 2019-02-20 14:54:26 +03:00
corpglory-dev
3ab00dfb9a PieChartDataPoint -> PiechartDataPoint 2019-02-20 14:54:08 +03:00
Torkel Ödegaard
20a03db144
Merge pull request #15510 from grafana/fix/graphite-func-editor
Display graphite function name editor in a tooltip
2019-02-20 10:48:08 +01:00
Dominik Prokop
5f4f559d19 Fix blue in dark theme 2019-02-19 21:23:04 +01:00
corpglory-dev
77f848b56d Merge branch 'master' of https://github.com/grafana/grafana into piechart-react 2019-02-19 21:27:22 +03:00
corpglory-dev
52e53e39a4 Review fixes 2019-02-19 21:14:24 +03:00
Dominik Prokop
d19616a16b Merge branch 'master' into cli/watch-sass-var 2019-02-19 17:27:25 +01:00
Dominik Prokop
83bb3fb8d4 Remove old overwritten sass vars 2019-02-19 17:05:50 +01:00
Peter Holmberg
4c5c162045 first draft of repeater component 2019-02-19 17:03:28 +01:00
Peter Holmberg
0de9c03879 Merge branch 'gauge-multi-series' into bar-gauge-poc 2019-02-19 15:53:05 +01:00
Peter Holmberg
5f56a07a23 Merge branch 'master' into bar-gauge-poc 2019-02-19 15:43:08 +01:00
Dominik Prokop
88a46e6dd4 Bump Prettier version (#15532)
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +01:00
corpglory-dev
98b22a83af Merge branch 'master' of https://github.com/grafana/grafana into piechart-react 2019-02-19 16:06:00 +03:00
ijin08
2372474ca8 updated theme variables to master 2019-02-19 13:57:56 +01:00
ijin08
547696af19 updated theme template files variables to master 2019-02-19 13:40:43 +01:00
Hugo Häggmark
d2893c2d1a Fixes #15506 2019-02-19 11:17:40 +01:00
Hugo Häggmark
7f04848dea Fixes #15505 2019-02-19 07:48:54 +01:00
Dominik Prokop
1069d7f5b1 Display graphite function name editor in a tooltip 2019-02-18 17:55:38 +01:00
corpglory-dev
54db887cca Merge branch 'master' into piechart-react 2019-02-18 19:40:00 +03:00
Peter Holmberg
93e8edfddd Fixing array direction, adding simple render test, fixes #15478
Fixed unit test and updated gauge
Added migration for threshold order
2019-02-18 16:46:32 +01:00
Torkel Ödegaard
730515d8dc
Merge pull request #15483 from klaernie/patch-1
Add Lux to units
2019-02-18 12:52:42 +01:00
Torkel Ödegaard
abddb442a1
Changed how react panels store their options (#15468)
Changed how react panels store their options

* Added a ReactPanelPlugin as the interface that react panels export, this way react panels have clearer api, and gives us hooks to handle migrations and a way for panel to handle panel changes in the future
* Moved gauge value options into a sub oject and made editor more generic, will be moved out of gauge pane later and shared between singlestat, gauge, bargauge, honecomb
* Also remove nested options prop that was there due to bug
* Added missing Gauge props
* Fixed gauge issue that will require migration later and also value options editor did not handle null decimals or 0 decimals
* Fixed unit tests
* More fixes for react panels
2019-02-18 11:41:14 +01:00
Dominik Prokop
6da57d4c08 Make clear that variable scss files are generated from templates 2019-02-18 11:03:52 +01:00
Andre Klärner
4d555aceaa
Add Lux to units
fixes #15479
2019-02-17 13:30:41 +01:00
Torkel Ödegaard
dede40d459 Began work on handling panel type switching and keep setting 2019-02-17 07:03:42 +01:00
Torkel Ödegaard
1d4dae7aa8 Merge branch 'react-panel-options' into bar-gauge-poc 2019-02-16 16:34:56 +01:00
Torkel Ödegaard
d33d08fa15 Fixed gauge issue that will require migration later and also value options editor did not handle null decimals or 0 decimals 2019-02-16 16:27:12 +01:00
Torkel Ödegaard
42d90fdb7a Merge branch 'react-panel-options' into bar-gauge-poc 2019-02-16 16:02:31 +01:00
Torkel Ödegaard
2a83d8ab95 Added basic tests 2019-02-16 15:47:34 +01:00
Torkel Ödegaard
eaedcee8de bar-gauge storybook 2019-02-16 15:47:33 +01:00
Torkel Ödegaard
83d1eb87e5 Began experimenting with a bar gauge 2019-02-16 15:47:33 +01:00
Torkel Ödegaard
074073787d Added a ReactPanelPlugin as the interface that react panels export, this way react panels have clearer api, and gives us hooks to handle migrations and a way for panel to handle panel changes in the future 2019-02-16 15:46:30 +01:00
corpglory-dev
8b4eefa768 Initial commit 2019-02-15 20:43:51 +03:00
Torkel Ödegaard
d6de40cbe6 Added missing strict type checking options to grafana/ui and fixed type errors 2019-02-15 10:49:10 +01:00
Torkel Ödegaard
2bc26a01f9 Fixes to error handling and clearing, also publishing of legacy events so old query editors work with react panels fully 2019-02-14 15:18:55 +01:00
Peter Holmberg
0c72fb3be1 Merge branch 'master' into move-error-boundry 2019-02-13 16:52:52 +01:00
Peter Holmberg
aad558ce9c using error callback from datapanel instead 2019-02-13 15:54:10 +01:00
Dominik Prokop
d3b90d5b78 Fixed sass vars template files 2019-02-13 14:58:27 +01:00
Torkel Ödegaard
124b3486eb Merge branch 'master' into 15330-vizpicker-red-when-0-hits 2019-02-13 14:49:11 +01:00
Dominik Prokop
06bae9aa46 Added common theme variabless generation, created GrafanaThemeCommons interface 2019-02-13 14:45:11 +01:00
Peter Holmberg
56f7cd9602 fixed issue with updatePopperPosition 2019-02-13 11:18:08 +01:00
Torkel Ödegaard
cfea8bdcae Prettier had not been running as a precommit hook for some time so had to run in on all files again 2019-02-13 11:14:53 +01:00
Johannes Schill
27bbadce1d feat: Add EmptySearchResult ui component and use it in VizTypePicker 2019-02-13 09:22:09 +01:00
Dominik Prokop
2542a43ec0 Regenerating variabless sas on theme edit v1 2019-02-12 21:54:20 +01:00
Dominik Prokop
0a66d8afc7 Merge branch 'master' into cli/watch-sass-var 2019-02-12 17:20:14 +01:00
Johannes Schill
49e0572611 fix: Error tooltip should have white text on red background. Not red text on red background 2019-02-12 12:41:18 +01:00
Hugo Häggmark
da80286f97 Fixes #15372 with number input and parseFloat 2019-02-12 11:10:31 +01:00
Dominik Prokop
a5d158c014 Added one more test case for color resolving helper 2019-02-11 21:22:53 +01:00
Dominik Prokop
ed208f2b5f Fix error caused by named colors that are not part of named colors palette 2019-02-11 21:11:19 +01:00
Torkel Ödegaard
8e93b68e6d restoring green CTA 2019-02-11 16:38:05 +01:00
Torkel Ödegaard
962815169e Color tweaks 2019-02-11 14:58:11 +01:00
Torkel Ödegaard
2284175638 Merge branch 'master' into gauge-multi-series 2019-02-11 11:45:02 +01:00
Dominik Prokop
f80c8cc06c v1 2019-02-11 10:32:17 +01:00
ijin08
2a2b242eb0 removed extra semi-colon 2019-02-11 10:27:58 +01:00
Patrick O'Carroll
c34021344a
Merge branch 'master' into ui-new-red-green-blue 2019-02-11 09:17:19 +01:00
Torkel Ödegaard
89c153d44b
Merge pull request #15332 from grafana/style-fixes
Fixed issues with plus button in threshold and panel option header
2019-02-08 22:21:03 +01:00
Torkel Ödegaard
748cb44911 Fixed issues with plus button in threshold and panel option header, and current state in viz picker, fixes #15329 2019-02-08 21:53:51 +01:00
ryan
169732997d support three letter hex color strings 2019-02-08 12:46:30 -08:00
ryan
3d5ae3dca3 mark packages as Apache license 2019-02-08 08:10:02 -08:00
Dominik Prokop
7e03913d0d Use TS instead of JS to store theme variables@next 2019-02-08 14:06:53 +01:00
Dominik Prokop
71576a634e Do not use js theme variables in sass (poor dev experience for now) 2019-02-08 14:06:06 +01:00
Dominik Prokop
ac50d2b31f Merge branch 'master' into core/theming 2019-02-07 14:20:53 +01:00
Dominik Prokop
e7917ce4e0 Removed unnecessary code from ColorPicker and extended theme type 2019-02-07 14:10:56 +01:00
Dominik Prokop
5ba3b0aa2c Selecting theme variable variant helper function 2019-02-07 14:10:20 +01:00
Dominik Prokop
dc6b27d123 Minor cleanup 2019-02-06 17:05:43 +01:00
Dominik Prokop
1e4c6b4b52 Added test for SASS variable retrieval function from JS definition 2019-02-06 17:05:22 +01:00
Dominik Prokop
7762d72ae3 Updated stories to use new theming 2019-02-06 17:03:42 +01:00
Peter Holmberg
71cfcd58ba combine mode with avg value 2019-02-06 15:38:51 +01:00
Dominik Prokop
6b1390b972 Update types and themes usage in components 2019-02-05 17:04:48 +01:00
Dominik Prokop
1bc007e29c Implemented theme context and renamed/moved theme related types 2019-02-05 16:53:19 +01:00
Peter Holmberg
9fc87e4174 first working draft 2019-02-05 15:12:04 +01:00
ijin08
0642c52693 created new color variables, changed primary to blue, changed success-btns to primary-btns. 2019-02-05 12:05:02 +01:00
Torkel Ödegaard
44cef757e5 Merge branch 'hugoh/explore-refactor-initial-modified-queries' 2019-02-05 09:33:28 +01:00
Hugo Häggmark
2c255fd85a Renamed initialQueries to queries 2019-02-05 06:19:40 +01:00
Torkel Ödegaard
7d5becceb5
Merge pull request #15206 from grafana/storybook/valuemappingseditor
Adding ValueMappingsEditor to Storybook
2019-02-04 21:09:26 +01:00
Dominik Prokop
7626ce9922 WIP Enable js defined theme to be used in SASS 2019-02-04 17:28:57 +01:00
Johannes Schill
9ab5eeb7f3 fix: Explore: Query wrapping on long queries #15222 2019-02-04 17:26:20 +01:00
Hugo Häggmark
5e2b9e40a2 Added more typings 2019-02-04 11:25:07 +01:00
Peter Holmberg
c61e905434 fixing logging action 2019-02-04 10:22:45 +01:00
Hugo Häggmark
2d0fd96621 More types and some refactoring 2019-02-04 07:50:17 +01:00
Hugo Häggmark
acea1d7f00 Alignment of interfaces and components 2019-02-04 07:50:17 +01:00
Peter Holmberg
9ac960a803 did not add file, removing centerered 2019-02-02 00:48:13 +01:00
Peter Holmberg
a4d35e2fbc Merge branch 'master' into storybook/valuemappingseditor 2019-02-02 00:31:48 +01:00
Torkel Ödegaard
cab6a872cf
Merge pull request #15200 from grafana/fix/add-pointer-to-color-picker
Add pointer cursor to colorpicker
2019-02-01 16:05:33 +01:00
Peter Holmberg
bd6fed54de first stuff 2019-02-01 15:45:47 +01:00
Torkel Ödegaard
16f30664f5 Merge branch 'collapseable-panel-option-groups' 2019-02-01 15:39:47 +01:00
Torkel Ödegaard
59dfe794f5 updated snapshot 2019-02-01 15:39:20 +01:00
Torkel Ödegaard
116e70740c
Merge pull request #15012 from grafana/loki-query-editor
WIP: Loki query editor for dashboard panels
2019-02-01 15:33:23 +01:00
Peter Holmberg
7d958080c1 Adding pointer to colorpicker 2019-02-01 15:31:42 +01:00
Torkel Ödegaard
24ccfb9ccc More style tweaks to panel option group add button 2019-02-01 15:23:32 +01:00
Torkel Ödegaard
3be1deea44 Made some style tweaks 2019-02-01 15:19:18 +01:00
Peter Holmberg
609129c039 fixing test 2019-02-01 14:23:03 +01:00
Peter Holmberg
025d37e9a2 add button in header 2019-02-01 14:19:53 +01:00
Torkel Ödegaard
6e0b873739 Merge branch 'master' into loki-query-editor 2019-02-01 11:17:22 +01:00
Peter Holmberg
57596462a4 sending paneldata to component, gauge can handle table data 2019-02-01 10:53:58 +01:00
Peter Holmberg
ed0f5b71c7 Merge branch 'master' into table-data-support 2019-01-31 14:16:06 +01:00
Peter Holmberg
7def403018 typing data 2019-01-31 13:59:25 +01:00
Peter Holmberg
88cb38adde creating table data type 2019-01-31 09:59:21 +01:00
Dominik Prokop
d784accdec Add storybook script to run it from root dir 2019-01-30 12:54:24 +01:00
Torkel Ödegaard
7196f7b093 Tweaked panel option group styles 2019-01-29 15:37:22 +01:00
Torkel Ödegaard
a803435b27 fixed prettier on switch component 2019-01-29 15:16:04 +01:00
Torkel Ödegaard
e1dad8488b
Merge pull request #15109 from grafana/fix/explore-switches
Propagate event to onChange prop in Switch component
2019-01-29 15:15:23 +01:00
Torkel Ödegaard
f7a1e4c185
Merge pull request #15106 from grafana/tooltip-restyling
Tooltip restyling
2019-01-29 15:07:54 +01:00
Torkel Ödegaard
71d0fae3a9 Progress on tooltip style update 2019-01-29 13:42:29 +01:00
Peter Holmberg
b0984cd503 Merge branch 'master' into 15053/gauge-value-font-size 2019-01-29 11:20:16 +01:00
Torkel Ödegaard
0e2310de8e Merge branch 'master' into tooltip-restyling 2019-01-29 11:02:40 +01:00
Peter Holmberg
462bdb6d13 increasing font size on longer strings 2019-01-29 11:01:35 +01:00
Peter Holmberg
4b0df606d5 magic number solution 2019-01-29 10:35:42 +01:00
Dominik Prokop
628c5c1da6 Propagate event to onChange prop in Switch component 2019-01-29 09:53:45 +01:00
ijin08
fe51e85050 did some styling changes 2019-01-29 08:47:28 +01:00
Torkel Ödegaard
e4244d8bf8 Merge branch 'master' into loki-query-editor 2019-01-29 07:10:06 +01:00
Dominik Prokop
44a7bd68be Import fix 2019-01-28 17:46:42 +01:00
Dominik Prokop
7a8eb8c115 Merge branch 'master' into tooling/storybook-poc 2019-01-28 17:36:41 +01:00
Dominik Prokop
00cb751eab Merge branch 'named-colors' of github.com:grafana/grafana into named-colors 2019-01-28 15:54:58 +01:00
Dominik Prokop
9a08a994f4 Initialize named colors palete lazily 2019-01-28 15:49:59 +01:00
Dominik Prokop
053d4060e8 Fix thresholds default colors not being applied 2019-01-28 15:48:54 +01:00
ijin08
b28e9b01fd updated the color palette 2019-01-28 11:52:36 +01:00
Dominik Prokop
778ed912b8 Add cursor pointer to color swatches 2019-01-28 09:25:35 +01:00
Torkel Ödegaard
27858c0272 Updated snapshot 2019-01-26 11:04:50 +01:00
Torkel Ödegaard
c748b53f17 Added missing props not being passed to scrollbar component, fixes #15058 2019-01-26 10:51:16 +01:00
Peter Holmberg
142ebc7546 some working solution, needs refactor 2019-01-25 16:38:51 +01:00
Dominik Prokop
07b9735263 Do not update color picker popover position on tab change
Position update caused tabs to move up and down. This led to confusing user experience, as tabs position was dependent on tab's content.
2019-01-25 14:07:22 +01:00
Dominik Prokop
5f41c5ca5e Rename deprecation warning helper 2019-01-25 13:30:02 +01:00