Project

General

Profile

Actions

Feature #2300

open

Load form tables dynamically

Added by Alexander Watzinger 5 months ago. Updated 16 days ago.

Status:
Assigned
Priority:
Normal
Category:
UI
Target version:
Start date:
2024-06-04
Estimated time:

Description

To counter performance issues at forms for projects with huge datasets (e.g. THANADOS) the newest strategy would be:
  • Load form tables only on demand (when clicking on the corresponding input field)
  • Maybe even load only the relevant page and reload on demand (e.g. clicking next page, or sort, or filter)

Beside better performance this would also help with situations e.g. at person when adding a place dynamically for birth and than also being able to use it immediately for residence.

All these changes would require support from the frontend team, the second one would require support from the API so most likely we won't start this before autumn.
Sorry for changing these approaches so often over the last months and a big thank you to Christoph for latest input.


Related issues 1 (1 open0 closed)

Related to OpenAtlas - Feature #998: Filter for Entity OverviewsAcknowledged2019-03-06Actions
Actions #1

Updated by Bernhard Koschiček-Krombholz 2 months ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Bernhard Koschiček-Krombholz

I will look into this issue, at least from a managing point of view.

So, we use currently Datatables. I will look into other possibilities for better server-side support:

I will look into these, but if anybody has other solution, which will integrate better, please let me know.

Actions #2

Updated by Bernhard Koschiček-Krombholz 2 months ago

  • Related to Feature #998: Filter for Entity Overviews added
Actions #3

Updated by Bernhard Koschiček-Krombholz 2 months ago

Since OpenAtlas Discovery uses Tanstack, we will use the same library in the backend UI.

Actions #4

Updated by Bernhard Koschiček-Krombholz about 2 months ago

  • Target version changed from 8.8.0 to 8.9.0
Actions #5

Updated by Bernhard Koschiček-Krombholz about 2 months ago

Discovered that Tanstack doesn't really support vanilla JS like advertised: https://github.com/TanStack/table/discussions/4928

Here are user examples which work, but aren't great:
https://stackblitz.com/edit/vitejs-vite-mcxo6f?file=src%2Fmain.ts
https://stackblitz.com/edit/vitejs-vite-zbmszd?file=src%2Fmain.ts

Actions #6

Updated by Alexander Watzinger 16 days ago

  • Target version changed from 8.9.0 to 8.10.0
Actions

Also available in: Atom PDF