Skip to content

Conversation

@jappyjan
Copy link
Collaborator

@jappyjan jappyjan commented Jul 5, 2025

Description by Korbit AI

What change is being made?

Move the "Add Group" button from the resource overview toolbar to the resource groups page header and update language files to reflect this UI change.

Why are these changes being made?

This change centralizes the creation of resource groups to the resource groups page, providing a more intuitive user experience by reducing toolbar clutter and focusing group management actions in their specific context. Additionally, the code has been refactored to ensure cleaner modal opening logic based on the presence of the openOnCreate property.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

@jappyjan jappyjan linked an issue Jul 5, 2025 that may be closed by this pull request
Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

Review by Korbit AI

Korbit automatically attempts to detect when you fix issues in new commits.
Category Issue Status
Functionality Modal Remains Open During Navigation ▹ view ✅ Fix detected
Documentation Missing documentation for openOnCreate prop ▹ view ✅ Fix detected
Files scanned
File Path Reviewed
apps/frontend/src/components/pageHeader/index.tsx
apps/frontend/src/app/resourceOverview/toolbar/toolbar.tsx
apps/frontend/src/app/resources/groups/index.tsx
apps/frontend/src/app/resource-groups/upsertModal/resourceGroupUpsertModal.tsx

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

cursor[bot]

This comment was marked as outdated.

@github-actions
Copy link

github-actions bot commented Jul 5, 2025

🐳 Docker images built and pushed:

GitHub Container Registry: ghcr.io/fabinfra/attraccess:pr-196-591314d
Docker Hub: fabaccess/attraccess:pr-196-591314d

Image Digest: sha256:daaee33b6d84a3a8a0d3b27e31ca3dce3638e0b2fbba67a5003fe5854f0121b8

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Bug: Pagination Type Mismatch

Type inconsistency in infinite query pagination: initialPageParam is a string, pageParam is cast to a number for the queryFn, but nextPage is asserted as a string, leading to a mismatch in pagination parameter types.

libs/react-query-client/src/lib/queries/infiniteQueries.ts#L10-L21

https://github.com/FabInfra/Attraccess/blob/236a5cf3098c972528b9cbfc22fe842d0831b489/libs/react-query-client/src/lib/queries/infiniteQueries.ts#L10-L21

libs/react-query-client/src/lib/queries/infiniteQueries.ts#L30-L33

https://github.com/FabInfra/Attraccess/blob/236a5cf3098c972528b9cbfc22fe842d0831b489/libs/react-query-client/src/lib/queries/infiniteQueries.ts#L30-L33

libs/react-query-client/src/lib/queries/infiniteQueries.ts#L39-L42

https://github.com/FabInfra/Attraccess/blob/236a5cf3098c972528b9cbfc22fe842d0831b489/libs/react-query-client/src/lib/queries/infiniteQueries.ts#L39-L42

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

@github-actions
Copy link

github-actions bot commented Jul 5, 2025

🐳 Docker images built and pushed:

GitHub Container Registry: ghcr.io/fabinfra/attraccess:pr-196-36f2d7e
Docker Hub: fabaccess/attraccess:pr-196-36f2d7e

Image Digest: sha256:a65c0a434b2d8bb2acc456454923b43ffb5e11592e7fd9e3b22a70dda56feef2

@jappyjan
Copy link
Collaborator Author

jappyjan commented Jul 5, 2025

/korbit-review

Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

I've completed my review and didn't find any issues... but I did find this kitten.

    |\__/,|   (`\
  _.|o o  |_   ) )
-(((---(((--------
Files scanned
File Path Reviewed
apps/frontend/src/app/resources/usage/components/HistoryTable/index.tsx
apps/frontend/src/app/user-management/index.tsx
apps/frontend/src/app/unauthorized/loginForm.tsx
apps/frontend/src/app/resources/groups/index.tsx
libs/react-query-client/src/lib/queries/infiniteQueries.ts
apps/frontend/src/app/resource-groups/upsertModal/resourceGroupUpsertModal.tsx
libs/react-query-client/src/lib/requests/schemas.gen.ts
libs/react-query-client/src/lib/requests/types.gen.ts

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

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.

Newly created groups just disappear on reload and do not exist

2 participants