etsy / 411

An Alert Management Web Application
https://demo.fouroneone.io
MIT License
969 stars 112 forks source link

Omit date selection field for non time based searches #160

Closed quintanilhar closed 3 years ago

quintanilhar commented 6 years ago

Hello guys!

It will omit the date select field for non-time based searches.

The HTTP Search (non-time based) will look like this: image

The ECL Search will look like as before: image

This PR's closes #114.

kiwiz commented 6 years ago

Thanks for the PR! Some additional work needs to be done for Searches that support multiple sources. The Elasticsearch_Search is a good example: It has a isTimeBased method that gives this information.

I think we'll need the following:

Lemme know if you'd like to take a stab at this. I'm also happy to merge this and finish up.