Skip to content

Allow specifying silence duration, not just end time #20

Closed

Description

@brian-brazil

If I go to /silences and add a silence by entering "45h" in the "Ends At" textbox the textbox updates with a time - however when I hit "Create Silence" it silently fails to create the silence. Using the date picker works.

Activity

  1. juliusv commented on Dec 15, 2014

    @juliusv
    Member

    So keep in mind that this text box is meant to take a time/date in the format "15/12/2014 18:25:21" (which the date picker produces). If you just enter "45h", it will be unable to parse that and just set the field to the current time. And that means that the silence expires (and thus is not visible anymore) right after creating it.

    Agreed, it would be cool to be able to specify a relative time in the future though.

  2. brian-brazil commented on Dec 15, 2014

    @brian-brazil
    ContributorAuthor

    Ah, that's what happened. I'd assumed the time was that much from now.

  3. juliusv commented on Dec 15, 2014

    @juliusv
    Member

    You might have been tricked by the field's placeholder text saying "Ends At (default 1h from now)".

    Fine to close this? Though I'd be open for PRs adding a nice way of specifying relative times :)

  4. changed the title [-]Silence not created if you don't use date picker[/-] [+]Allow specifying silence duration, not just end time[/+] on Dec 15, 2014
  5. brian-brazil commented on Dec 15, 2014

    @brian-brazil
    ContributorAuthor

    Changed to a feature request so we don't forget

  6. juliusv commented on Dec 15, 2014

    @juliusv
    Member

    👍

  7. mxinden commented on Aug 13, 2017

    @mxinden
    Member

    @brian-brazil @juliusv This is now possible in the new UI. Please reopen if I am misunderstanding something.

  8. added a commit that references this issue on Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions