Skip to content

Conversation

@jakebayliss
Copy link
Member

@jakebayliss jakebayliss commented Nov 24, 2025

Description

When a user clicks the Sign In button in the Bookmark modal, it takes a few seconds to redirect the user to auth0, this is because it goes through the middleware and needs to load some js. This PR adds a loading spinner to the button to let the user know something is loading.

image

Copy link
Contributor

Copilot AI left a comment

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 improves the user experience by adding a loading spinner to the Sign In button in the Bookmark modal, providing visual feedback during the redirect to Auth0. Additionally, it includes minor cleanup of unused imports and styling adjustments.

  • Added loading state (isRedirecting) and spinner to Sign In button in Bookmark modal
  • Disabled button interaction during redirect with appropriate ARIA attributes
  • Removed unused import and adjusted heading margin in ServerCategoryPage

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
components/Bookmark.tsx Added isRedirecting state, disabled attribute, and Spinner component to Sign In button to show loading feedback during authentication redirect
app/[filename]/ServerCategoryPage.tsx Removed unused getSanitizedBasePath import and added bottom margin to category heading

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jakebayliss jakebayliss changed the title Bugfix/sign in spinner Bookmark Sign In loading spinner Nov 30, 2025
@Aibono1225 Aibono1225 merged commit 17ec538 into main Dec 1, 2025
1 check 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