stuart nelson
55fdd16c6e
Fix visual bug for EditSilence
...
The state was not being set to Loading, so the
previous state (error, an already loaded silence,
et c.) would be displayed while loading occurred.
2017-02-20 12:17:02 +01:00
stuart nelson
376db8c19c
Add error handling for SilenceDestroy
2017-02-20 12:16:51 +01:00
stuart nelson
d4e22e3849
Add error handling for silence creation
2017-02-20 11:56:51 +01:00
stuart nelson
0e510ec075
Add error handling for api responses
2017-02-20 11:26:13 +01:00
stuart nelson
9126426eff
Filter by labels on alerts
...
This should be encoded in the URL and stored
there, and used as the "source of truth" for
parsing and propagating the filters.
2017-02-10 18:03:14 +01:00
stuart nelson
4d4791e0fb
Start moving Silence Update stuff into on func
2017-02-10 11:58:57 +01:00
stuart nelson
addc9efdcf
Add filter for showing active alerts by default
...
Can show silenced alerts with query string.
2017-02-09 14:56:44 +01:00
stuart nelson
1c132c01a3
Parse query params after hash in URL
2017-02-09 13:52:28 +01:00
stuart nelson
608c573479
Handle empty alerts list
2017-02-09 11:34:16 +01:00
stuart nelson
80052b5084
Filter alertGroups by receiver in url
2017-02-09 11:13:35 +01:00
stuart nelson
7be6c13297
Fix silence destroy return expectation
...
Also remove unused "error" string
2017-02-08 12:17:50 +01:00
stuart nelson
eab27236be
Update states for create/destroy
...
- Still need to render appropriate messages
- DELETE is successful according to API, but not
working from frontend's POV
2017-02-08 12:11:58 +01:00
stuart nelson
b031359379
Remove unused NotAsked type
2017-02-08 11:59:39 +01:00
stuart nelson
9d4ebcc148
Fix creating silence from alert
...
The matchers in the alert were being wiped out by
nullSilence. This removes that change.
2017-02-08 11:53:39 +01:00
stuart nelson
2b6326b94a
Add loading pattern for alerts
2017-02-08 11:53:23 +01:00
stuart nelson
e224c5b031
Add support for elm debugger when recompiling
2017-02-08 11:30:45 +01:00
stuart nelson
02867ce6ae
Remove Loading from Alerts
2017-02-08 11:30:36 +01:00
stuart nelson
e0018d14b2
Use Loading pattern for silences
2017-02-08 11:30:16 +01:00
stuart nelson
e6ed36d529
Remove unused SilenceFromAlert
2017-02-07 15:21:35 +01:00
Andrey Kuzmin
4c2f99aed2
Use the translator pattern for child to parent communication ( #2 )
...
* Use the translator pattern for child to parent communication
* Correctly navigate to alerts
2017-02-07 15:18:36 +01:00
stuart nelson
3f0b4bb352
Bubble up alert to update for creating silence from alert
2017-01-24 13:13:16 +01:00
Andrey Kuzmin
6606a76743
Extracted alerts ( #1 )
2017-01-21 16:54:22 +01:00
stuart nelson
142f92151e
Simplify noop message
2017-01-19 14:09:48 +01:00
stuart nelson
5f7b7a5d65
Align header with body
2017-01-19 14:07:33 +01:00
stuart nelson
9dd877ed90
Comments on getSilences
2017-01-17 10:58:12 +01:00
stuart nelson
f55eebfa6a
Remove href on create
...
Would redirect when we don't want that.
2017-01-17 04:44:30 +01:00
stuart nelson
1062b392eb
Server can run without rebuilding elm files
2017-01-17 03:41:13 +01:00
stuart nelson
139b5513fc
Compile script.js to top level
2017-01-17 03:12:25 +01:00
stuart nelson
bfc0b56ed3
Update form view
2017-01-16 19:53:56 +01:00
stuart nelson
34921383aa
Move to internal Time
...
Have string representation for editing, which
enables the form to show "this is invalid" but
also allow to have a correctly formed ISO8601 that
gets sent to the API.
2017-01-16 14:55:31 +01:00
stuart nelson
11a9d789f6
Add some more loading indicators
...
To be removed in a refactor ..
2017-01-15 11:43:50 +01:00
stuart nelson
dce15d70ca
Re-organize the massive update function
2017-01-15 11:26:08 +01:00
stuart nelson
56abfd73c5
Use exposed imports in parsing
2017-01-15 11:19:33 +01:00
stuart nelson
8d80b0a250
Add "Loading" view
2017-01-14 21:09:12 +01:00
stuart nelson
c2e86f2ec7
Start trying to break stuff apart into modules
2017-01-13 13:59:51 -05:00
stuart nelson
291f2b4653
Remove View from some things' names
2017-01-13 13:17:43 -05:00
stuart nelson
fd227bb7c7
Update silence show
2017-01-13 13:14:43 -05:00
stuart nelson
10a74504e6
Remove object data
2017-01-13 12:09:53 -05:00
stuart nelson
767df174a0
Move silenceListView
2017-01-13 12:09:11 -05:00
stuart nelson
47fed35d26
Re-use silenceView
2017-01-13 12:07:15 -05:00
stuart nelson
99bb581e7e
Remove comment
2017-01-13 11:47:19 -05:00
stuart nelson
b1ddde61a8
Recompile elm code on server startup
2017-01-13 11:46:24 -05:00
stuart nelson
7bb0543b1c
Add destroy to list view
2017-01-13 11:46:07 -05:00
stuart nelson
a609c5c0ec
Add DESTROY for silences
...
Need to update API to accept destroy verb.
2017-01-12 18:12:45 -05:00
stuart nelson
278d922bee
Create new silences through API
2017-01-12 17:45:26 -05:00
stuart nelson
64fa1430f5
Remove logging of hash location
2017-01-12 16:23:06 -05:00
stuart nelson
797c16083f
Give new silences the default time range
2017-01-12 16:22:51 -05:00
stuart nelson
00897e85c7
Move to using ISO8601 date
...
Useability for the form is horrible, and will be
fixed after silences are being created.
2017-01-12 14:20:41 -05:00
stuart nelson
764dbb229e
Persist all silence form changes
2017-01-09 12:37:11 -05:00
stuart nelson
34909a74cb
Add persistence when updating matcher fields
2017-01-08 22:40:18 -05:00