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
Ryan McKinley
26bd76b4c2
Refactor: move NavModel to @grafana/ui ( #16813 )
2019-04-30 07:46:46 -07: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
Šimon Podlipský
16d0693a46
Adjust Send on all alerts to default label ( #16554 )
...
Alerting: Adjust label for send on all alerts to default
2019-04-15 08:14:22 +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
Dominik Prokop
206921d21b
Feature: Introduced CallToActionCard to @grafana/ui ( #16237 )
...
CallToActionCard is an abstraction to display a card with message, call to action element and a footer. It is used i.e. on datasource add page.
2019-03-27 22:33:20 +01:00
Hugo Häggmark
eedbc485dd
Makes it possible to navigate back/forward with browser buttons in Explore ( #16150 )
...
Make it possible to navigate back/forward with browser buttons in Explore
2019-03-22 15:24:30 +01:00
Johannes Schill
e7297fef06
fix: Add class for input fields with help icon to avoid icon hiding the text #15771
2019-03-06 14:45:13 +01: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
7699706e65
fixed handling of alert urls with true flags, fixes #15454
2019-02-15 11:23:31 +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
Torkel Ödegaard
6be50c952c
Merge pull request #15400 from grafana/removed-icons-in-buttons
...
Removed some icons in action button
2019-02-13 08:05:11 +01:00
Torkel Ödegaard
f195459b01
Removed some icons in action button
...
Trying to align some title case issues
2019-02-12 17:51:08 +01:00
Hugo Häggmark
222482b6be
Forgot about the snapshots
2019-02-12 16:31:11 +01:00
Hugo Häggmark
4c74b09a9d
Renamed to FilterInput and added label and search icon
2019-02-12 16:22:57 +01:00
Hugo Häggmark
5388541fd7
Fixes bug #12972 with a new type of input that escapes and unescapes special regexp characters
2019-02-12 08:48:54 +01:00
Torkel Ödegaard
8e93b68e6d
restoring green CTA
2019-02-11 16:38:05 +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
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Johannes Schill
186ed1a333
chore: Fix typings and add Page-component to FolderPermissions #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
ab62a09fe6
chore: Fix typings and add Page-component to ServerStats #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
d54c4173ca
chore: Fix typings and add Page-component to AlertRuleList #14762
2019-01-28 23:19:19 +01:00
bergquist
48aa173f67
support both uid and id for showing/removing notifiers
2019-01-28 14:00:55 +01:00
Pavel Bakulev
43c3d5b8ba
Updated removing notification channel by uid
2019-01-18 16:26:23 +02:00
Pavel Bakulev
c27bf6e688
Check that alert notification with id already exists in notification settings
2019-01-18 16:19:06 +02:00
Pavel Bakulev
6a8e39ba17
Added uid to AlertNotification json
2019-01-16 16:52:00 +02:00
Torkel Ödegaard
827a292777
Moved panel editing components to it's own folder
2019-01-14 15:17:48 +01:00
Torkel Ödegaard
c11ec79056
Minor renames and other fixes
2019-01-13 12:42:21 +01:00
Peter Holmberg
2f0ab99ae5
Fixing test and small refactor
2019-01-10 22:15:37 +00:00
Peter Holmberg
08ac2959a4
Moving to grafana ui, fix issue with TestRuleResult
2019-01-10 21:47:09 +00:00
Hugo Häggmark
236d7b1213
Changes after PR comments
2019-01-09 13:20:50 +01:00
Hugo Häggmark
9b8a5333cb
Added tests for TestRuleButton
2019-01-09 11:39:56 +01:00
Hugo Häggmark
8b8af6436c
Removed Test Rule button from Angular and view
2019-01-09 11:38:10 +01:00
Hugo Häggmark
e2fe663dba
Added TestRuleButton
2019-01-09 11:34:22 +01:00
Hugo Häggmark
8d210afd76
Moved AlertTab and StateHistory to app/features/alerting
2019-01-08 15:18:29 +01:00
Torkel Ödegaard
2eeba9dae1
Updated alert tab layout & markup
2019-01-04 11:57:16 +01:00
Peter Holmberg
168b8c389d
Merge remote-tracking branch 'origin/master' into 14388/alert-tab-ux-update
2019-01-03 11:29:03 +01:00
Peter Holmberg
ce01bd696e
add alert in react instead of angular
2019-01-02 10:57:12 +01:00
Torkel Ödegaard
98d26354c1
Added a form component to @grafana/ui
2018-12-25 11:42:23 +01:00
Peter Holmberg
4002f80ab8
delete works
2018-12-21 14:56:49 +01:00
Peter Holmberg
2046309de5
rewrite angular view
2018-12-19 10:42:57 +01:00
Torkel Ödegaard
bd2c9853ec
minor tweaks to alert tab
2018-12-14 19:34:51 +01:00
Torkel Ödegaard
9c13520e97
updated styles
2018-12-13 21:24:41 +01:00
Johannes Schill
fe9e4b51f1
Alert tab fails when datasource method targetContainsTemplate doesnt exist #14274
2018-12-04 15:00:37 +01:00
Erik Sundell
1fb686cafa
Merge branch 'develop' into panel-edit-in-react
2018-11-22 13:46:12 +01:00
bergquist
14688766ef
updates time range options for alert queries
...
add some new options for the to value.
removes '1s' option for from since thats unreasonable low
closes #12134
2018-11-21 15:43:37 +01:00
bergquist
60c291c8dc
format: remove </input> and align tabs
2018-11-21 15:42:25 +01:00
Torkel Ödegaard
9baa54e98c
added alert tab to new react panel editor
2018-11-20 17:09:47 +01:00
bergquist
76cbd7f0de
alerting: reduce the length of range queries
...
since we introduce deboucing the length should matter less.
But going below 5m as default might be weird depending on datasource.
2018-11-19 09:10:19 +01:00
bergquist
e7260d77b3
adds pending filter for alert list page
2018-11-15 12:46:28 +01:00
bergquist
aa1b80fe45
docs: improve helper test for For
2018-11-08 14:16:58 +01:00
bergquist
3789583014
for: use 0m as default for existing alerts and 5m for new
2018-11-05 13:51:35 +01:00
bergquist
ccd89eee97
renames debouceduration
to for
2018-11-05 11:05:30 +01:00
bergquist
d25284a364
introduce state unknown
for rules that have not been evaluated yet
2018-11-05 10:50:28 +01:00
bergquist
4526660cb2
wire up debounce setting in the ui
2018-11-05 10:50:28 +01:00
bergquist
bc37e3caa2
alerting: increase default duration for queries
...
we should promote using longer queries since this should
increase the quality of the alerts. only using a 5min range
means that we will only have 4 datapoints in data is written
every min which is not good enough for the generic alert rule
2018-11-02 10:43:05 +01:00
bergquist
70385119bc
removes d in disableResolvedMessage
2018-10-17 10:41:18 +02:00
Dave Waters
18c73631ea
rename UI Option, align with control, update tests
2018-10-16 07:12:32 -04:00
Dave Waters
6376154b16
add channel option to disable the resolved alert (OK Message) that is sent when condition returns to normal.
2018-10-15 17:16:14 -04:00
Peter Holmberg
9f73f13091
Teams page replace mobx ( #13219 )
...
* creating types, actions, reducer
* load teams and store in redux
* delete team
* set search query action and tests
* Teampages page
* team members, bug in fetching team
* flattened team state, tests for TeamMembers
* test for team member selector
* team settings
* actions for group sync
* tests for team groups
* removed comment
* remove old stores
* fix: formating of datasource.go
* fix: minor changes to imports
* adding debounce and fixing issue in teamlist
* refactoring: moving types to their own files
2018-09-11 14:14:03 +02:00
Torkel Ödegaard
6bdaf57ae7
refactor: changed AlertRuleItem pause action to callback
2018-09-10 09:29:53 +02:00
Torkel Ödegaard
4391209f7b
Merge branch 'master' into redux-poc2
2018-09-07 14:49:05 +02:00
bergquist
3ce89cad71
make default values for alerting configurable
2018-09-06 11:26:14 +02:00
Torkel Ödegaard
0aea60bf17
Merge branch 'master' into redux-poc2
2018-09-05 12:11:11 +02:00
Torkel Ödegaard
68767acb1c
fix: Updated test
2018-09-04 13:15:45 -07:00
Torkel Ödegaard
1e5ad4da78
redux: minor changes to redux thunk actions and use of typings
2018-09-04 12:59:46 -07:00
Peter Holmberg
22510be450
tests
2018-09-04 15:00:04 +02:00
Peter Holmberg
5ac5a08e9e
Fixed a bug in the test and added test for filter alert rules
2018-09-04 09:53:24 +02:00
Peter Holmberg
f4594c8320
some basic selector tests
2018-09-03 16:58:11 +02:00
Peter Holmberg
638370e310
pausing alert
...
need to fix return type on dispatch. Could not test correctly either.
2018-09-03 15:44:39 +02:00
Marcus Efraimsson
1ceca5d8ec
Merge pull request #12145 from grafana/alerting_reminder
...
Alerting notification reminder
2018-09-03 14:41:38 +02:00
Peter Holmberg
c958ebd101
extend from purecomponent
2018-09-03 14:05:12 +02:00
Peter Holmberg
1994ca5016
remove log
2018-09-03 14:04:44 +02:00
Peter Holmberg
50444c32e0
actions and reducers for search filter
2018-09-03 13:46:39 +02:00
Torkel Ödegaard
42aaa2b907
redux: improved state handling
2018-09-02 12:14:41 -07:00
Torkel Ödegaard
3fd707f321
redux: progress
2018-09-02 12:08:31 -07:00
Torkel Ödegaard
2a64d19f5b
wip: load alert rules via redux
2018-09-02 11:36:03 -07:00
Torkel Ödegaard
7b06800295
refactor: changed nav store to use nav index and selector instead of initNav action
2018-09-02 10:36:36 -07:00
Torkel Ödegaard
2ac202b22f
moving things around
2018-09-02 07:11:21 -07:00
Torkel Ödegaard
de456f8b73
wip: solid progress on redux -> angular location bridge update
2018-08-31 13:16:20 -07:00
Torkel Ödegaard
593cc5380f
wip: redux refactor
2018-08-31 09:42:32 -07:00
Patrick O'Carroll
552a61b6ae
changed var to let in 50 files ( #13075 )
2018-08-30 09:03:11 +02:00
Patrick O'Carroll
5e0d0c5816
changed var to const ( #13061 )
2018-08-29 14:26:50 +02:00
Torkel Ödegaard
35c00891e7
tslint: more const fixes ( #13035 )
2018-08-26 20:19:23 +02:00
Torkel Ödegaard
314b645857
tslint: changing vars -> const ( #13034 )
2018-08-26 18:43:07 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Marcus Efraimsson
6995242b8b
copy and docs update for alert notification reminders
2018-08-24 19:13:52 +02:00
Marcus Efraimsson
15d950ce35
update copy/ux for configuring alerting notification reminders
2018-08-22 18:06:05 +02:00
Marcus Efraimsson
470e7cc6db
add suggestions for reminder frequency and change copy
2018-08-20 18:23:48 +02:00
Marcus Efraimsson
6d2136b853
Merge remote-tracking branch 'origin/master' into alerting_reminder
2018-08-20 13:29:30 +02:00
Tobias Skarhed
a65589a5fb
Rename test files
2018-08-14 10:52:41 +02:00
Tobias Skarhed
61eb96ed79
Remove simple tests
2018-08-03 12:34:13 +02:00
bergquist
72224dbe37
adds info about eval/reminder interval
2018-06-15 16:53:35 +02:00
bergquist
6cd83e182a
Merge branch 'master' into alerting_reminder
...
* master: (84 commits)
docs: adds info about grafana-dev container
changelog: add notes about closing #12282
Added Litre/min and milliLitre/min in Flow (#12282 )
remove papaparse dependency
list name is deleteDatasources, not delete_datasources
remove internal influx ifql datasource
Document the endpoint for deleting an org
tests: rewrite into table tests
influxdb: adds mode func to backend
changelog: add notes about closing #11484
changelog: add notes about closing #11233
Remove import
Fix PR feedback
Removed papaparse from external plugin exports
Karma to Jest: query_builder
dsproxy: move http client variable back
Karma to Jest: threshold_mapper
Expose react and slate to external plugins
Karma to Jest: threshold_manager
Karma to Jest: query_def, index_pattern
...
2018-06-15 12:45:35 +02:00
Tobias Skarhed
283b39c397
Karma to Jest: threshold_mapper
2018-06-14 13:38:03 +02:00
bergquist
7333d7b8d4
alerting: invert sendOnce to sendReminder
2018-06-05 10:44:17 +02:00
John Baublitz
bdf433594a
Implement code review changes
2018-06-04 13:19:14 +02:00
John Baublitz
fca97535d1
Fix multiple bugs
2018-06-04 13:19:14 +02:00
John Baublitz
3cb0e27e1c
Revert changes post code review and move them to notification page
2018-06-04 13:19:14 +02:00