Skip to content

Deal with loading states for teams#1571

Draft
stevecassidy wants to merge 1 commit intomainfrom
fix/tidy-up-add-project-to-team-dialog
Draft

Deal with loading states for teams#1571
stevecassidy wants to merge 1 commit intomainfrom
fix/tidy-up-add-project-to-team-dialog

Conversation

@stevecassidy
Copy link
Copy Markdown
Contributor

Deal with loading states for teams

JIRA Ticket

None

Description

Previous PR didn't really handle the loading state from useGetTeams properly.

Proposed Changes

Handle the case of teams still loading, no teams and no permission differently.

TODO: This could be finessed to also deal with the isError state and show a useful error message. We could maybe have a component to use in these cases and deploy it through the app.

How to Test

Generally no visible change unless there is an error/no permission.

Checklist

  • I have confirmed all commits have been signed.
  • I have added JSDoc style comments to any new functions or classes.
  • Relevant documentation such as READMEs, guides, and class comments are updated.

Signed-off-by: Steve Cassidy <steve.cassidy@mq.edu.au>
@stevecassidy stevecassidy marked this pull request as draft July 21, 2025 06:29
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