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
ijin08
00ce556bd0
changed all rems to pixels in defaults and template, changed back root font size
2019-03-08 13:02:55 +01: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
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
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
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
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
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
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
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
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
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
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