Andrej Ocenas
cf39a264ca
Fix: Wrap value of multi variable in array when coming from URL ( #16992 )
...
* Wrap variable value in array if multi
* Fix typo
* Fix case with multiple custom values
2019-05-10 22:19:46 +02:00
Hugo Häggmark
ceb9f0855b
Chore: Replaces moment with Grafanas DateTime ( #16919 )
...
* Wip: Initial commit
* Refactor: Replaces moment.utc(
* Refactor: replaces the last isMoment statements
* Refactor: Removes almost all moment imports
* Refactor: Moves moment_wrapper to grafana/ui
* Refactor: Renames momentWrapper
* Refactor: Removes one more moment import
* Refactor: Removes unitOfTime import
* Fix: Fixes Prettier error
* Refactor: Renames DateTimeType to DateTime
* Refactor: Renames isDateTimeType to isDateTime
* Refactor: Renames dateTime to dateTime
* Feature: Bans moment imports and types
2019-05-08 13:51:44 +02:00
Roman Khavronenko
532abe2fc2
Templating: Do not copy hide option ( #16696 )
...
* Do not override default `hide` value of variables
Some variables like `constant` are configured to
be hidden by default and this setting must be
treated with respect.
* make textBox variable visible by default
Fixes #16695
2019-04-22 13:11:05 +02:00
Patrick O'Carroll
d040e336c1
UI: Remove old icons ( #16335 )
...
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* replaced fontawesome cog, eye, link and edit with gicons
* updated snapshot
* fixed color of cog in dashboard nav, removed icons from buttons, ran preitterier on some files
* changed opacity on getting started icons and fixed getting started button
* .5 -> 0.5 fix for prettier
2019-04-17 15:18:32 +02:00
Hugo Häggmark
7eabc282e9
Chore: Adds typings to lodash ( #16590 )
2019-04-15 12:11:52 +02:00
Patrick O'Carroll
23535c2bb2
Annotations: Annotation list style improvements ( #16541 )
...
moved page-action-bar to top and put header inside it, removed </input> to be able to run prettier
2019-04-12 10:40:48 +02:00
Patrick O'Carroll
128fb8fa7e
Theme: Reworking button styling ( #16362 )
...
* added new variables for height in theme, added height to gui button large, replaced add gicon with regular gicon, replaced + with gicon, changed button display to flex
* set fixed height to large button, removed xlarge button and replaced with large button
* removed button-mini and replaced with button-small, set fixed height to default button and button-small
* fixed padding for default and large button, fixed height for navbar button, fixed snapshots
* fixed padding and margin on navbar buttons
* gave special height to login btn-primary
* readded btn-mini class with same styling as btn-small and a deprecated notice
* fixed add panel widget buttons
2019-04-08 09:48:15 +02:00
Torkel Ödegaard
5c3a0a624a
Fix: Template query editor this bind exception fix ( #16299 )
...
Also fixes the default 100% width of inputs.
Fixes #16298
2019-03-29 14:25:11 +01:00
Peter Holmberg
4898502e4e
refactor(grafana/ui): Replace <input />with Input component from grafana/ui ( #16085 )
...
* replace with Input component from grafana/ui
* removing placeholder classname
* change import
* fix import
2019-03-25 15:53:05 +01:00
sridhar-komati
03d4b61208
used regex instead of string replacing
2019-03-13 20:42:19 +05:30
Torkel Ödegaard
a8486806aa
Merge branch 'multiselect-repeatby-datasource' of https://github.com/jdoupe/grafana into jdoupe-multiselect-repeatby-datasource
2019-03-11 14:14:26 +01:00
ryan
b2a7891b08
move stringToJsRegex
2019-03-09 23:50:46 -08:00
ryan
aa38a9e0b4
typescript functions on replace
2019-03-05 22:14:28 -08:00
Jeremy Doupe
3f27d3ea23
Make datasource variables multiselect and dashboard repeatable
...
closes #7492 (and #7030 )
2019-03-05 22:47:22 -06:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +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
Patrick O'Carroll
c34021344a
Merge branch 'master' into ui-new-red-green-blue
2019-02-11 09:17:19 +01:00
Torkel Ödegaard
78ea7ae783
Merge pull request #15212 from grafana/dashboard-react-page
...
Dashboard react page
2019-02-07 14:23:44 +01:00
Mitsuhiro Tanda
4bd94b8aba
support json format templating
2019-02-07 14:07:41 +09: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
f695975f65
Fixed handling of orgId
2019-02-04 15:02:35 +01:00
Torkel Ödegaard
7634e04231
Fixed template variable value changed handling
2019-02-04 14:45:13 +01:00
Torkel Ödegaard
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Torkel Ödegaard
6663b2fab9
Moved time_srv to services folder, this should not belong to dashboard feature but it is too dependant on dashboard to move it out now, needs a bigger refactoring to isolate from dashboard
2019-01-31 08:44:46 +01:00
Torkel Ödegaard
8b68ba5cbb
Minor refactoring and adding some typing
2019-01-29 20:49:54 +01:00
Peter Holmberg
78cb3239b8
adding from and to built in variables
2019-01-29 15:05:28 +01:00
Demitri Swan
186e488ace
Bug Fix #14961
2019-01-24 14:11:31 +00:00
Benjamin Schweizer
bde4b76c16
based on encodeURIComponent() using strict RFC 3986 sub-delims
2019-01-22 15:09:58 +01:00
Benjamin Schweizer
8a09d84707
Merge branch 'master' of https://github.com/grafana/grafana
2019-01-22 11:20:56 +01:00
Hugo Häggmark
1faa5819a8
Initial commit
2019-01-15 17:15:46 +01:00
Torkel Ödegaard
71837fe137
Merge pull request #12681 from simPod/fix-variable-array-display
...
Fix array display from url
2018-12-19 14:34:21 +01:00
Torkel Ödegaard
f9110f7902
Merge branch 'master' into develop
2018-12-11 10:00:29 +01:00
AJ West
6c95acc837
Switch to global match for full browser support of escaped custom vars
2018-12-08 18:23:08 -05:00
AJ West
2b3d366f7c
Allow backslash escaping in custom variables
2018-12-08 17:31:05 -05:00
Erik Sundell
45fbbe8021
initialize empty variables array in constructor so that datasources can use the array in explore
2018-12-07 11:27:11 +01:00
Daniel Lee
4aeea56342
Merge pull request #14007 from grafana/stackdriver-template-query-editor
...
Stackdriver template query editor
2018-11-20 13:41:18 +01:00
Erik Sundell
7fc8ed942f
stackdriver: make sure object type queries are also checked for vtemplate variables
2018-11-20 12:30:31 +01:00
Erik Sundell
0ec4491a52
stackdriver: reimplementing service variable query type
2018-11-19 16:06:30 +01:00
Erik Sundell
2e0cbe75ee
stackdriver: use arrow functions
2018-11-13 11:06:08 +01:00
Erik Sundell
e698202fae
stackdriver: use new naming convention for query editor all over
2018-11-13 10:57:10 +01:00
Erik Sundell
1fe70721c9
stackdriver: persist template variable definition
2018-11-09 13:55:14 +01:00
Erik Sundell
588c5c045a
stackdriver: pass query definition from react, making it possible to use another definition than the query string only
2018-11-09 13:55:14 +01:00
Erik Sundell
4569527873
stackdriver: set currentdatasource when editview is enabled
2018-11-09 13:55:13 +01:00
Erik Sundell
3883643ea2
stackdriver: reset query value on datasource changed
2018-11-09 13:55:13 +01:00
Erik Sundell
042d156e5f
stackdriver: extend label width
2018-11-09 13:55:13 +01:00
Erik Sundell
7ccce76b80
stackdriver: return values for services and metric types
2018-11-09 13:55:08 +01:00
Erik Sundell
f0cba0b0d8
stackdriver: rename default component
2018-11-09 13:55:08 +01:00
Erik Sundell
149c649132
stackdriver: more renaming
2018-11-09 13:55:08 +01:00
Erik Sundell
4f7d3fccb7
stackdriver: make sure default template query editor state is propagted to parent angular scope
2018-11-09 13:53:44 +01:00
Erik Sundell
637b91ab8d
stackdriver: conditional template component rendering
2018-11-09 13:53:44 +01:00