Skip to content

desktop/src/components/EventDetails.svelte

Comment 1, line 14

desktop/src/components/EventDetails.svelte:14

/** Force a query refresh for user switches/imports without changing query fields. */

Comment 2, line 27

desktop/src/components/EventDetails.svelte:27

/** Initially true: show a skeleton until the first response fills the rows. */

Comment 3, line 33

desktop/src/components/EventDetails.svelte:33

/** With no initial rows, show skeleton rectangles instead of an empty table. */

Comment 4, line 49

desktop/src/components/EventDetails.svelte:49

/** Convert milliseconds to seconds with one decimal place. */

Comment 5, line 60

desktop/src/components/EventDetails.svelte:60

// Request the current page only; backend applies page/pageSize as LIMIT/OFFSET.

Comment 6, line 81

desktop/src/components/EventDetails.svelte:81

// Range changes reset to page 1; refresh keeps the page, shrinking data selects the last page.

Comment 7, line 82

desktop/src/components/EventDetails.svelte:82

// queryKey stably serializes fields; polling recreates query objects

Comment 8, line 83

desktop/src/components/EventDetails.svelte:83

// without refetching equal values. Only real filter/range changes request again.

Comment 9, line 129

desktop/src/components/EventDetails.svelte:129

<!-- Initial skeleton: gray rectangles replaced by the response table. -->

Comment 10, line 234

desktop/src/components/EventDetails.svelte:234

/* Initial gray skeleton with subtle animation, replaced by the response table. */