jacob-ai-bot / jacob

Just Another Coding Bot
https://jacb.ai
Apache License 2.0
121 stars 19 forks source link

Add Settings Page with Repository and Local Path Management #135

Open kleneway opened 21 hours ago

kleneway commented 21 hours ago

Description

Implement a new Settings page in the application to allow users to manage repositories, configure local paths, update account information, and monitor branch build status. This enhancement aims to improve user experience by centralizing configuration options.

Features

1. Add New Repository

2. Configure Local Path

3. Update Account Model

4. Account Settings

5. Branch Build Status

Implementation Details

Steps to Implement

  1. Design the Settings Page UI:

    • Create sections for adding repositories, setting local paths, updating account info, and displaying branch build status.
  2. Update the Account Model:

    • Add local_path and does_current_branch_build fields.
  3. Create Migrations:

    • Use the older ORM version.
    • Reference existing migration files for structure.
  4. Implement Repository Addition:

    • Add the "Add Repository" link/button.
    • Set up redirection to /settings/repositories.
  5. Implement Local Path Configuration:

    • Add the "Set Local Path" link/button.
    • Handle input and save the path to the Account model.
    • Modify the chat section's save button to use the local path.
  6. Add Account Settings Functionality:

    • Enable email changes and GitHub account disconnection.
  7. Display Branch Build Status:

    • Implement logic to check branch build status during setup.
    • Display the status on the Settings page.

Expected Outcome

Users will have a comprehensive Settings page that allows them to manage repositories, configure local paths for saving files, update their account information, and monitor the build status of their current branch. The application will handle these settings seamlessly, enhancing overall usability.

Additional Notes


--skip-build @jacob-ai-bot

jacob-ai-bot[bot] commented 21 hours ago

JACoB here...

You mentioned me on this issue and I am busy taking a look at it.

I'll continue to comment on this issue with status as I make progress.

jacob-ai-bot[bot] commented 21 hours ago

Unfortunately, I ran into trouble working on this.

Here is some error information:

400 openai error: Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt: https://platform.openai.com/docs/guides/reasoning/advice-on-prompting
jacob-ai-bot[bot] commented 21 hours ago

JACoB here...

You mentioned me on this issue and I am busy taking a look at it.

I'll continue to comment on this issue with status as I make progress.

jacob-ai-bot[bot] commented 21 hours ago

Update

I've completed my work on this issue and have created a pull request: JACoB PR for Issue Add Settings Page with Repository and Local Path Management.

Please review my changes there.