Skip to content

desktop/src/components/EventDetails.svelte

Comment 1, line 13

desktop/src/components/EventDetails.svelte:13

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

Comment 2, line 26

desktop/src/components/EventDetails.svelte:26

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

Comment 3, line 32

desktop/src/components/EventDetails.svelte:32

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

Comment 4, line 48

desktop/src/components/EventDetails.svelte:48

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

Comment 5, line 59

desktop/src/components/EventDetails.svelte:59

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

Comment 6, line 80

desktop/src/components/EventDetails.svelte:80

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

Comment 7, line 81

desktop/src/components/EventDetails.svelte:81

// queryKey stably serializes fields; polling recreates query objects

Comment 8, line 82

desktop/src/components/EventDetails.svelte:82

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

Comment 9, line 128

desktop/src/components/EventDetails.svelte:128

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

Comment 10, line 233

desktop/src/components/EventDetails.svelte:233

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