public inbox for kernelci@lists.linux.dev
 help / color / mirror / Atom feed
* kernelci-frontend: limitation on X days of data
@ 2018-09-06 22:36 Kevin Hilman
  2018-09-07  7:50 ` Milo Casagrande
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Hilman @ 2018-09-06 22:36 UTC (permalink / raw)
  To: Milo Casagrande; +Cc: kernelci

Hi Milo,

I have some questions on the front-end limitation we have around a max
number of days we load data from the backend (default: 14 days, using
the `date_range` option when querying the backend.)

>From my primitive understanding of the current javascript, this is
primarily because current tables basically pre-load all the data. IOW,
even if it's configured to only show the first 25 elements, the
javascript will actually load all the data on the first load, then
when paging, it's just showing already loaded data.  Obviously, if
there is lots of data to load, this would be very slow for the first
view if/when there is lots of data.

However, I was recently pointed to dataTables.net and told that if we
switched to a recent version of dataTables, we could easily configure
it to only query/load the backend for the visible values (e.g. first
25 elements of table) and load the others on demand only when clicking
on the next page.

First, is that true?
Second, would it be a big project to migrate the current tables to a
recent dataTables?

Kevin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-12 20:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-06 22:36 kernelci-frontend: limitation on X days of data Kevin Hilman
2018-09-07  7:50 ` Milo Casagrande
2018-09-12 20:20   ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox