-
Notifications
You must be signed in to change notification settings - Fork 191
feat: revamp of session view #1618
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
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
4619683
feat: add trace timelines endpoint for session view revamp
kolbeyang c309588
feat: add static UI components for revamped session view
kolbeyang 39bb626
feat: wire up virtualized session list with data integration
kolbeyang 70b7358
feat: polish session view with loading states, edge cases, and visual…
kolbeyang 14b48dd
fix: resolve QA issues in session view (stale state, virtualizer keys…
kolbeyang c42b0f7
fix: correct duration display and make trace card columns scrollable
kolbeyang 2c46185
fix: gradient overlays, longer placeholder text, estimateSize, and ex…
kolbeyang 16a5dc7
feat: combine sessions+timelines endpoint, extract Zustand store, fix…
kolbeyang bee05af
fix: make gradient fade sticky in session trace card
kolbeyang 8f1f410
feat: add exit animations to session expand/collapse
kolbeyang 27a791e
fix: address 5 bugbot issues in sessions table
kolbeyang b299c91
fix: session toggle race, refresh stale data, timeline query limit
kolbeyang c7fc340
fix: guard against stale trace responses after state reset
kolbeyang 9795604
refactor: use AbortController for session trace fetch cancellation
kolbeyang b958eba
fix: remove dead abort actions, add fetch version guard for stale tim…
kolbeyang e873156
feat: clickable timeline bars, fix gradient scroll, animate height
kolbeyang 1f49293
feat: clickable timeline bars, copy-to-clipboard IDs, animation cleanup
kolbeyang b9d7db9
fix: replace toggle with explicit expand/collapse to prevent double-c…
kolbeyang 9827c11
fix: replace hardcoded hex color with theme token in totals pill
kolbeyang af29cd1
feat: fetch and render main agent input/output in session trace cards
kolbeyang c900b9d
fix: extract last user message (not first) for trace input
kolbeyang f2c5f77
feat: add output preview, add timerange
olzhik11 342e9f0
feat: refactor TraceIOContent column, fix chevron toggle, sort traces…
kolbeyang 847eb26
feat: add getMainAgentIOBatch action and POST /traces/io batch API route
kolbeyang 310ab4b
feat: add mergeTraceIO, setLoadingSessionIO, and loadingSessionIO to …
kolbeyang 10be876
feat: fire batch IO fetch in handleToggleSession after traces load
kolbeyang 2957b49
refactor: make SessionTraceCard display-only, remove per-card useEffe…
kolbeyang ffdf3fb
fix: use permissive hex UUID regex instead of strict z.string().uuid(…
kolbeyang c73d4da
feat: trim sessions filters, add autocomplete entry, fix empty filter…
kolbeyang 4c869a2
refactor: export column width constants from session-table-header for…
kolbeyang 823abc4
Merge branch 'dev' into feat/revamp-session-view
olzhik11 fabffc2
feat: hash system prompt, regex user prompt
olzhik11 9057422
Merge branch 'feat/revamp-session-view-output-preview' into feat/reva…
olzhik11 f597454
feat: rework prompt, increase batch, add tooltip, fix borders
olzhik11 639c79e
feat: sticky row, optional resource, small refactor
olzhik11 ee93afd
feat: update ui, wip
olzhik11 49244b3
feat: ui
olzhik11 de33377
Merge branch 'dev' into feat/revamp-session-view
olzhik11 d09c714
feat: backend hashing, sorting, session link
olzhik11 cc4dd6e
feat: address comments
olzhik11 39f04e3
feat: add ui improvements
olzhik11 808fa9c
feat: fix comments
olzhik11 39ca19c
feat: use batched hook to prevent overfetches
olzhik11 c83ac98
feat: fix comments
olzhik11 d03426f
feat: code org
olzhik11 549e4cb
feat: fix comments
olzhik11 e5ee4ea
feat: add proper tracing, fix comments
olzhik11 16af4cf
feat: fix comment
olzhik11 e5f38cc
feat: remove library, fix comment
olzhik11 2e49eef
feat: restore lock file
olzhik11 bd0713c
fix: prompt
olzhik11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,4 @@ | |
| target/ | ||
| .claude/ | ||
| .agent-browser/ | ||
| .agent-team/TODO.md | ||
| .agent-team/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| import { type NextRequest } from "next/server"; | ||
| import { prettifyError, ZodError } from "zod/v4"; | ||
|
|
||
| import { getMainAgentIOBatch } from "@/lib/actions/sessions/trace-io"; | ||
|
|
||
| export async function POST(req: NextRequest, props: { params: Promise<{ projectId: string }> }): Promise<Response> { | ||
| const { projectId } = await props.params; | ||
| try { | ||
| const body = await req.json(); | ||
| const result = await getMainAgentIOBatch({ ...body, projectId }); | ||
| return Response.json(result); | ||
| } catch (error) { | ||
| if (error instanceof ZodError) { | ||
| return Response.json({ error: prettifyError(error) }, { status: 400 }); | ||
| } | ||
| return Response.json({ error: error instanceof Error ? error.message : "Internal server error" }, { status: 500 }); | ||
| } | ||
| } | ||
olzhik11 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.