Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(UnifiedSearch): request data only when opening modal #50241

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

Antreesy
Copy link
Contributor

@Antreesy Antreesy commented Jan 17, 2025

  • Resolves: #

Summary

Two requests are always being made on page opening/reload, even though search modal wasn't yet opened once (and there's no guarantee a user would use it until next page reload). So data should be fetched only when modal is actually opened

Checklist

@Antreesy Antreesy added this to the Nextcloud 31 milestone Jan 17, 2025
@Antreesy Antreesy requested review from susnux, nfebe and skjnldsv January 17, 2025 16:32
@Antreesy Antreesy self-assigned this Jan 17, 2025
@Antreesy Antreesy force-pushed the perf/noid/unified-search-init branch 2 times, most recently from 5bca14e to 627b342 Compare January 17, 2025 17:42
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@Antreesy

This comment was marked as outdated.

Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit pick otherwise fine

@Antreesy Antreesy force-pushed the perf/noid/unified-search-init branch from c428783 to c464aeb Compare January 18, 2025 08:53
@Antreesy
Copy link
Contributor Author

/compile /

Signed-off-by: nextcloud-command <[email protected]>
@Antreesy Antreesy merged commit e0c1ea2 into master Jan 18, 2025
120 checks passed
@Antreesy Antreesy deleted the perf/noid/unified-search-init branch January 18, 2025 10:20
@Antreesy
Copy link
Contributor Author

/backport c464aeb to stable30

@Antreesy
Copy link
Contributor Author

/backport c464aeb to stable29

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants