Skip to content

Conversation

@hirokiterashima
Copy link
Member

@hirokiterashima hirokiterashima commented May 7, 2025

Changes

We used to store an instance of ProjectFilterValue in LibraryService. Now, we use the provider field instead to share the instance among the components (ProjectFilter, Curriculum, ProjectLibrary)

Test

  • Filters in the homepage and curriculum pages work as before, as anonymous user and signed in user.
  • Try switching back and forth between those pages and makes sure that each page starts with fresh (empty) set of filters.

@hirokiterashima hirokiterashima added this to the Tech Debt 16 -> 15 milestone May 7, 2025
@hirokiterashima hirokiterashima marked this pull request as ready for review May 7, 2025 20:09
@hirokiterashima hirokiterashima changed the title refactor(LibraryService): Move ProjectFilterValues out of class. refactor(LibraryService): Move ProjectFilterValues out of class May 7, 2025
Copy link
Contributor

@Aaron-Detre Aaron-Detre left a comment

Choose a reason for hiding this comment

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

Everything looks good, but I did find one problem, though I'm not sure if it's an issue to do with this pull request. When I type in "localhost/curriculum/personal" (or /public), I get a "Whitelabel Error Page." The same thing happens if I go from the curriculum to the community or research sites and then click the go back button. I checked on production and it's not happening there, so I'm not sure whether it's an issue with this branch or just my local environment.

@hirokiterashima hirokiterashima merged commit 442fc92 into develop May 8, 2025
1 check passed
@hirokiterashima hirokiterashima deleted the refactor-project-filter-move-out-of-library-service branch May 8, 2025 22:53
@hirokiterashima
Copy link
Member Author

🎉 This PR is included in version 5.181.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants