Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page Headline and Last Beat Stat Query #35376

Merged
merged 39 commits into from
Apr 25, 2019

Conversation

stephmilovic
Copy link
Contributor

@stephmilovic stephmilovic commented Apr 19, 2019

Ready for review!

This PR has a lot of code from @MichaelMarcialis to implement some UI design for page headlines and panels. I then took the branch and connected the "Last beat: 5 seconds ago" subheadline for each section (Network, Ip Details, Hosts, Host Details).

Key files:

  • public/components/page_headline/index.tsx
  • public/components/last_beat_stat/index.tsx
  • server/lib/events/query.last_event_time.dsl.ts

sh
*Ignore that the gif says in 6 hours, we have some bad data

@elasticmachine
Copy link
Contributor

Pinging @elastic/secops

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@spong
Copy link
Member

spong commented Apr 23, 2019

Looks there's an issue when navigating between certain routes as the last beat doesn't re-query and stays as the previous value from the cache.

last_beat_cache

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Member

@spong spong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked out/tested locally and also performed a code review. Once Jenkins is happy and the cache/re-query issue is resolved I think this should be g2g! Leaving as request changes for those two items.

I also added an optional or two, but overall, great UI/UX additions and thorough tests. Thanks @stephmilovic! :) 🚀

@stephmilovic stephmilovic requested a review from spong April 23, 2019 20:18
@elasticmachine
Copy link
Contributor

💔 Build Failed

@stephmilovic
Copy link
Contributor Author

Jenkins retest this please

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@stephmilovic
Copy link
Contributor Author

stephmilovic commented Apr 24, 2019

Jenkins retest this

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@stephmilovic stephmilovic merged commit ac23704 into elastic:feature-secops Apr 25, 2019
@stephmilovic stephmilovic deleted the michael-page-design branch April 25, 2019 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants