kleneway / jacob

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

Add research component to dashboard workspace #83

Open kleneway opened 3 months ago

kleneway commented 3 months ago

Add Research Component to Dashboard Workspace

Description

We need to add a new "Research" component to the dashboard application to display research items. Currently, the dashboard shows items such as Prompts, Code, Issue, Pull Request, etc. With the addition of research items in the database, we should also display them in the dashboard.

For this task, we need to create a new component that displays all the research objects for a specific task/issueId. This component should:

Requirements

  1. Create a new component Research.tsx in the workspace directory.
  2. Fetch research items for the currently selected task or issue in a similar way that is done with the prompts or code.
  3. Render the research questions and answers, ensuring the answers are displayed in markdown format.
  4. Integrate the new component into the workspace area of the dashboard.
  5. Update the sidebar to include an icon for the "Research" component.
  6. Ensure the new component follows the existing design and styling conventions. Be sure to use Tailwind CSS.
  7. Update the types to add a new research sidebar icon.
  8. Update an existing API router to include a method for fetching research items from the database.

New Files:

Files to Update:

Acceptance Criteria:

@jacob-ai-bot

jacob-local-kevin[bot] commented 3 months 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-local-kevin[bot] commented 3 months ago

Update

I've completed my initial work on this issue and have created a pull request: JACoB PR for Issue Add research component to dashboard workspace.

The changes currently result in an error, so I'll be making some additional changes before it is ready to merge.

jacob-local-kevin[bot] commented 3 months ago

Update

I've updated this pull request: JACoB PR for Issue Add research component to dashboard workspace.

The changes currently result in an error, so I'll be making some additional changes before it is ready to merge.