Skip to content

Ajaxify options overview table#39

Merged
aristath merged 31 commits into
developfrom
filip/try/ajaxify-datatable
Jun 23, 2025
Merged

Ajaxify options overview table#39
aristath merged 31 commits into
developfrom
filip/try/ajaxify-datatable

Conversation

@ilicfilip

@ilicfilip ilicfilip commented Jun 19, 2025

Copy link
Copy Markdown
Collaborator

Recently an user reported an issue with loading plugin (table) page, after sharing more details it turned out that the reason is too many tracked options, 60k - almost all of them were transients from the Facebook plugin (30k transients and another 30k entries for the transient timeouts).

That many options is a bit of an edge case, but it opened a question about improving plugin performance - since data for all tables were processed on the page load.

This PR tries to solve that by loading data from the server using REST API requests. It needs a bit more testing, but local tests show significant improvement.

The last thing that I implemented is "sortable columns" feature, which slowed things a bit, due to plugin's internal data structure, but pagination and search should work much faster.

TODO:
Display note when there are no results.

@github-actions

github-actions Bot commented Jun 19, 2025

Copy link
Copy Markdown

Test on Playground
Test this pull request on the Playground

@aristath aristath marked this pull request as ready for review June 20, 2025 06:32
aristath added 2 commits June 20, 2025 11:16
This reverts commit 13ae434.
@aristath aristath merged commit 54e2772 into develop Jun 23, 2025
7 checks passed
@aristath aristath deleted the filip/try/ajaxify-datatable branch June 23, 2025 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants