ynput / ayon-frontend

Codebase of AYON server web interface
Apache License 2.0
12 stars 13 forks source link

Event Viewer: New events while page open can't be shown in right sidebar #556

Open BigRoy opened 3 weeks ago

BigRoy commented 3 weeks ago

Story

When a New events pop ups live while event viewer page is open, then selecting it doesn't show its details in the right sidebar

info_not_shown_in_sidebar

To reproduce

Steps to reproduce the behavior:

  1. Open Event Viewer
  2. Make some events happen, wait for the page to "live" refresh them.
  3. Selecting those entries does not show its info right hand side.

Expected behavior

Clicking them should show the right hand side details like when they do after refresh.

Environment

Additional context

Innders commented 3 weeks ago

Cool, time rewrite the whole page then I guess.

martastain commented 3 weeks ago

nah. just:

useEffect(() => {
  setInterval(() => window.location.reload(), 5000)
}, [])