Skip to content

in progress log viewer (part 2)#26

Merged
dphuang2 merged 14 commits intomainfrom
in-progress-log-viewer-part-2
Aug 6, 2025
Merged

in progress log viewer (part 2)#26
dphuang2 merged 14 commits intomainfrom
in-progress-log-viewer-part-2

Conversation

@dphuang2
Copy link
Copy Markdown
Collaborator

@dphuang2 dphuang2 commented Aug 6, 2025

No description provided.

Dylan Huang added 14 commits August 5, 2025 21:49
…yout and functionality

- Adjusted default chat height in ChatInterface from 512px to 400px for better UI consistency.
- Enhanced MetadataSection to include expandable functionality, allowing users to toggle visibility of metadata details.
- Updated Row component to set defaultExpanded prop for MetadataSection, ensuring sections are expanded by default.
- Updated Row component to pass showSpinner prop to StatusIndicator when the status is "running".
- Modified StatusIndicator to conditionally render a spinner based on the showSpinner prop, improving user feedback during loading states.
- Added functionality to manage expanded rows in GlobalState, including methods to toggle individual row expansion and set all rows expanded or collapsed.
- Updated Dashboard component to include buttons for expanding and collapsing all rows, and display the count of currently expanded rows.
- Refactored Row component to utilize GlobalState for determining and toggling row expansion state.
- Implemented auto-scrolling to the bottom of the chat window when new messages are received, enhancing user experience during conversations.
- Introduced a new scrollContainerRef to manage scrolling behavior effectively.
…ing and UI

- Changed dataset and expandedRows in GlobalState from arrays and sets to objects for better performance and reactivity.
- Updated setDataset method to create a new dataset object, preserving expansion state more efficiently.
- Refactored Dashboard to utilize totalCount for dataset management and replaced the Row component with EvaluationTable for cleaner structure.
- Introduced EvaluationRow and EvaluationTable components to enhance modularity and maintainability of the evaluation display.
… scroll on mount

- Added a reference to track the initial mount state, preventing auto-scrolling on the first render.
- Updated the scrolling logic to only trigger after the initial mount when new messages are received, improving user experience during chat interactions.
- Replaced initial mount reference with a previous messages length reference to prevent scrolling on the first render and only scroll when new messages are added.
- Improved scrolling behavior to avoid unnecessary scrolls when messages are removed, ensuring a smoother chat interaction.
…tput

- Removed the ability to specify watch paths, defaulting to 'current directory'.
- Changed server host and port to fixed values (localhost:8000) for consistency.
- Added state management to toggle message expansion for long messages.
- Introduced a helper function to format message content based on its type.
- Updated rendering logic to display a "Show more" / "Show less" button for long messages, enhancing user interaction.
@dphuang2 dphuang2 merged commit eba8448 into main Aug 6, 2025
7 checks passed
@dphuang2 dphuang2 deleted the in-progress-log-viewer-part-2 branch August 6, 2025 06:08
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