Open kleneway opened 1 month 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 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 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.
I've completed my initial work on this issue and have created a pull request: JACoB PR for Issue Update Dashboard to display Plan from events.
The changes currently result in an error, so I'll be making some additional changes before it is ready to merge.
Update Dashboard to Display Plan from Events
Description
The current Dashboard has a "Plan" tab in the workspace that displays an array of plan steps to the user. Currently, the dashboard uses a hardcoded set of plan steps. We recently added Plan and PlanStep events that are emitted when the Planning agent creates a new plan. We need to update the dashboard to use these new events from the database and/or live websockets instead of the hardcoded plan steps. Additionally, there is a footer in the main Workspace index page that shows the current plan step. For now, we don't have a concept of the "current plan step," so just set the current plan step to the first step in the plan (if it exists).
Files to Update:
src/app/dashboard/[org]/[repo]/[developer]/Dashboard.tsx
src/app/dashboard/[org]/[repo]/[developer]/components/workspace/Plan.tsx
src/app/dashboard/[org]/[repo]/[developer]/components/workspace/index.tsx
Requirements:
Fetch Plan and PlanStep Events:
Dashboard.tsx
to fetch Plan and PlanStep events from the database and/or live websockets.Display Plan Steps:
Plan.tsx
component to display the plan steps received from the events.Set Current Plan Step:
index.tsx
to display the current plan step.Acceptance Criteria:
Dashboard.tsx
fetches Plan and PlanStep events from the database and/or live websockets.Plan.tsx
component displays the plan steps received from the events.index.tsx
displays the current plan step, set to the first step in the plan if it exists.Edge Cases:
@jacob-ai-bot
Steps to Address Issue: 1. Update Dashboard.tsx to fetch Plan and PlanStep events
Files to Update: src/app/dashboard/[org]/[repo]/[developer]/Dashboard.tsx, src/app/dashboard/[org]/[repo]/[developer]/components/workspace/Plan.tsx, src/app/dashboard/[org]/[repo]/[developer]/components/workspace/index.tsx
task assigned to: @jacob-ai-bot