Skip to content

Perf: Optimize trashed collectives#2320

Open
Koc wants to merge 1 commit intomainfrom
feature/optimize-trashed-collectives
Open

Perf: Optimize trashed collectives#2320
Koc wants to merge 1 commit intomainfrom
feature/optimize-trashed-collectives

Conversation

@Koc
Copy link
Contributor

@Koc Koc commented Mar 9, 2026

📝 Summary

This PR built on top of #2312 and applies same patterns to load trashed collectives like we did for trashed pages:

  • popup instead of accordion
  • trashed collectives are lazy loaded when popup gets opened at the first time

Endpoint for getting trashed collectives not so expensive, but anyway, let's be consistent in UI. WDYT?

🖼️ Screenshots

🏚️ Before 🏡 After
image image

🚧 TODO

  • Adjust cypress tests once I got approval that we are fine with this PR in general

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

@mejo- mejo- force-pushed the feature/optimize-trashed-pages branch from fde8ecf to cd736d6 Compare March 9, 2026 12:24
Base automatically changed from feature/optimize-trashed-pages to main March 9, 2026 12:40
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
@Koc Koc force-pushed the feature/optimize-trashed-collectives branch from e5b6971 to 8abb02f Compare March 9, 2026 12:45
@Koc Koc marked this pull request as ready for review March 9, 2026 12:46
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.

1 participant