You are reading a single comment by @mashton and its replies. Click here to read the full conversation.
  • I like it. I am happier now that you hide all the nasty syntax (power user porn) under a UI. Bit odd that the displayed filter for upcoming events is still geeky though. Surely "Last 7 days" is better than "-7"

  • Bit odd that the displayed filter for upcoming events is still geeky though. Surely "Last 7 days" is better than "-7"

    Those options can be weird than you think... you could do a search that is "Show me events that have occurred 2 months ago", and make it such that it always works relative to "now": eventAfter=-62&eventBefore-31.

    I could render them as "eventAfter = 7 days ago" and "eventBefore = 7 days in the future"... but it starts getting weird.

    What I intend to do is to map them to dates, and whilst the search would always work with the relative values, they'd be rendered as absolute search options.

    Then they're easy to edit.

    The relative searches are pure power user... really only useful for saved URLs.

    The absolute searches are what people will be using through the filters... with a nice date picker and everything.

About

Avatar for mashton @mashton started