Skip to content

perf: Reduce requests triggered by link field - #8072

Merged
bastianallgeier merged 1 commit into
develop-minorfrom
perf/7999-link-field-less-requests
May 5, 2026
Merged

perf: Reduce requests triggered by link field#8072
bastianallgeier merged 1 commit into
develop-minorfrom
perf/7999-link-field-less-requests

Conversation

@distantnative

@distantnative distantnative commented Apr 14, 2026

Copy link
Copy Markdown
Member

Description

  • PageTree/FileBrowser in the LinkField are only mounted when expanded = true. This avoids firing all the load requests from the page tree, even if the link field isn't even expanded. Downside is that when collapsing and expanding again, the page tree is fully loaded again - previous state of the page tree resets.

  • Small optimization that if the page tree already has the page in its data, preselect doesn't cause another backend request.

Changelog

✨ Enhancements

  • Link field: reduced the amount of backend request fired directly when mounted (thx @tobimori)

For review team

  • Add changes & docs to release notes draft in Notion

@bastianallgeier
bastianallgeier merged commit 1fcb967 into develop-minor May 5, 2026
4 checks passed
@bastianallgeier
bastianallgeier deleted the perf/7999-link-field-less-requests branch May 5, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants