Skip to content

Refactors code for improved structure and maintainability #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2025

Conversation

thegovind
Copy link
Collaborator

Improves the project's code organization and readability by:

  • Introducing constants for agent IDs and dependency file mappings in the backend.
  • Creating dedicated service classes for interacting with the GitHub API and Azure AI Agents, promoting separation of concerns.
  • Modularizing the frontend by introducing components and separating data/logic.
  • Adding linting and formatting tools (Black, isort, flake8, mypy, Prettier, ESLint) to enforce code style and quality.

Improves code organization and maintainability by:

- Introducing constants for agent IDs, dependency files, and language mappings in the backend
- Refactoring the AzureAgentService to utilize these constants and improve mock data generation
- Improving type hinting for better code clarity
- Restructuring the frontend with separate components for HomePage, RepoPage, and AgentCard
- Moving agent data into a separate file and creating utility functions for agent-related tasks

These changes result in a more modular and maintainable codebase for both the backend and frontend.
@thegovind thegovind merged commit 04e4b41 into main May 25, 2025
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