Closed bobbykolev closed 1 week ago
[!NOTE]
Reviews paused
Use the following commands to manage reviews:
@coderabbitai resume
to resume automatic reviews.@coderabbitai review
to trigger a single review.
The changes in MyResources.tsx
involve a refactor of the logic for fetching and rendering user resources. The component no longer uses the useDashboardContext
, leading to the removal of the activityEnabled
variable. The query's skip
condition now solely depends on accountId
, and the conditional rendering logic has been simplified to focus on loadingAccount
, accountData
, and resource array lengths.
File Path | Change Summary |
---|---|
src/main/topLevelPages/myDashboard/myResources/MyResources.tsx | Removed useDashboardContext import and activityEnabled variable; updated useMyResourcesQuery logic to depend only on accountId ; simplified conditional rendering logic. |
MyResources.tsx
regarding the fetching and rendering of user resources may relate to the updates in AccountResourcesView.tsx
, which also deals with displaying account resources.useDashboardContext
import in MyResources.tsx
aligns with the changes in MyDashboardWithMemberships.tsx
, where the context usage is also modified.JourneyTile
component in this PR could be relevant as they enhance the layout and rendering of spaces, which may connect to the resource rendering logic in MyResources.tsx
.JourneyTile
component and its mobile support in this PR may relate to the rendering logic in MyResources.tsx
, as both involve displaying resources in a user-friendly manner.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai pause
https://github.com/alkem-io/client-web/issues/7077
Summary by CodeRabbit
New Features
Bug Fixes