Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Configure git through UI#610

Merged
svedova merged 4 commits intomainfrom
configure-git-through-ui
Oct 13, 2025
Merged

Configure git through UI#610
svedova merged 4 commits intomainfrom
configure-git-through-ui

Conversation

@svedova
Copy link
Copy Markdown
Contributor

@svedova svedova commented Oct 12, 2025

No description provided.

@svedova svedova requested a review from Copilot October 12, 2025 21:08
Copy link
Copy Markdown

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 adds a new Git provider configuration interface through the admin UI, allowing administrators to configure GitHub, GitLab, and Bitbucket authentication through modals.

  • Adds a new admin Git configuration page with modals for configuring GitHub, GitLab, and Bitbucket providers
  • Updates the PasswordField component to use the newer TextField slotProps API
  • Makes minor theme adjustments for background colors and transparency values

Reviewed Changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/utils/api/Api.ts Removes hardcoded URL and adds TypeScript ignore comment
src/pages/routes.tsx Adds new /admin/git route for the Git configuration page
src/pages/mui-theme.tsx Updates theme colors for success background and transparent overlay
src/pages/admin/Git/*.tsx New Git configuration components including main page and provider-specific modals
src/pages/admin/Git/*.spec.tsx Test files for the new Git configuration modals
src/layouts/AdminLayout/AdminLayout.tsx Adds Git menu item to admin navigation
src/components/PasswordField/PasswordField.tsx Updates to use newer TextField slotProps API
Comments suppressed due to low confidence (1)

src/pages/admin/Git/BitbucketModal.tsx:1

  • The Button component is being passed a 'loading' prop, but MUI Button doesn't have a native loading prop. This might cause a prop warning or not work as intended.
import { useState } from "react";

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/utils/api/Api.ts
variant="contained"
color="secondary"
disabled={loading}
loading={loading}
Copy link

Copilot AI Oct 12, 2025

Choose a reason for hiding this comment

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

The Button component is being passed a 'loading' prop, but MUI Button doesn't have a native loading prop. This might cause a prop warning or not work as intended.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

New versions have it 👍🏻

Comment thread src/pages/admin/Git/GitHubModal.tsx
Comment thread src/components/PasswordField/PasswordField.tsx
@svedova svedova merged commit c0d81c2 into main Oct 13, 2025
1 check passed
@svedova svedova deleted the configure-git-through-ui branch October 13, 2025 05:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants