From 9dd877ed901b5d66bbc37b7c50560747404b91b1 Mon Sep 17 00:00:00 2001 From: stuart nelson Date: Tue, 17 Jan 2017 10:58:12 +0100 Subject: [PATCH] Comments on getSilences --- src/Silences/Api.elm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Silences/Api.elm b/src/Silences/Api.elm index 31f16d63..668e95f1 100644 --- a/src/Silences/Api.elm +++ b/src/Silences/Api.elm @@ -10,9 +10,12 @@ import Utils.Api exposing (baseUrl) getSilences : Cmd Msg getSilences = let + -- Can remove limit=1000 when we are on version >= 0.5.x url = String.join "/" [ baseUrl, "silences?limit=1000" ] in + -- TODO: Talk with fabxc about adding some sort of filter for e.g. + -- entering values into a search bar or clicking on labels Http.send SilencesFetch (Http.get url list)