Skip to content

fix(ENG-9924): oauth flow button state#5

Merged
adefreitas merged 1 commit into
mainfrom
ENG-9924/fix-oauth-flow-button-state
Aug 13, 2025
Merged

fix(ENG-9924): oauth flow button state#5
adefreitas merged 1 commit into
mainfrom
ENG-9924/fix-oauth-flow-button-state

Conversation

@adefreitas

@adefreitas adefreitas commented Aug 12, 2025

Copy link
Copy Markdown
Collaborator

Summary by cubic

Fixed the OAuth flow button so it stays disabled while loading, preventing users from clicking during connection attempts.

  • Dependencies
  • Updated @stackone/malachite to version 0.3.2.

Copilot AI review requested due to automatic review settings August 12, 2025 10:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the OAuth flow button state by preventing buttons from being rendered during loading states. The implementation adds loading state awareness to the integration picker card footer to improve user experience during authentication flows.

  • Added isLoading prop to CardFooter component to control button visibility during loading states
  • Updated IntegrationPicker to pass connection loading state to the footer component
  • Updated @stackone/malachite dependency from v0.3.1 to v0.3.2

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/modules/integration-picker/components/cardFooter.tsx Added isLoading prop and logic to hide buttons during loading states
src/modules/integration-picker/IntegrationPicker.tsx Passed connectionState.loading to CardFooter component
package.json Updated @stackone/malachite dependency to v0.3.2

@adefreitas adefreitas requested a review from jpmiguel August 12, 2025 10:46

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

cubic analysis

No issues found across 3 files. Review in cubic

@adefreitas adefreitas merged commit d0a0006 into main Aug 13, 2025
4 checks passed
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.

3 participants