Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Update: API Tool#262

Merged
CocoRoF merged 4 commits intodeployfrom
main
Oct 23, 2025
Merged

Update: API Tool#262
CocoRoF merged 4 commits intodeployfrom
main

Conversation

@CocoRoF
Copy link
Collaborator

@CocoRoF CocoRoF commented Oct 23, 2025

This pull request refactors several UI components and styles to improve code modularity, consistency, and maintainability across the chat and model sections. It moves header content and layout responsibilities from individual components to a shared ContentArea wrapper, simplifies SCSS files by removing redundant container/header styles, and enhances API documentation and logging for tool-related endpoints.

UI Refactoring and Layout Consistency:

  • Replaced inline header titles and descriptions in ChatHistory, TrainPageContent, and StoragePageContent components with the shared ContentArea wrapper, centralizing page layout and improving consistency across sections (ChatHistory.tsx, TrainPageContent.tsx, StoragePageContent.tsx, XgenPageContent.tsx). [1] [2] [3] [4] [5]
  • Removed duplicated container and header styles from SCSS files (ChatHistory.module.scss, Train.module.scss, StoragePage.module.scss) to rely on the shared layout provided by ContentArea. [1] [2] [3] [4]

Chat History and Filters UI Improvements:

  • Refactored chat history filter tabs into a more accessible and responsive button group (ChatHistory.tsx, ChatHistory.module.scss), improving mobile layout and visual clarity. [1] [2] [3] [4]

API Documentation and Logging Enhancements:

  • Updated API documentation comments and logging for tool-related endpoints to clarify new parameters (body_type, static_body, is_query_string) and improve developer experience (toolsAPI.js). [1] [2] [3] [4]

Minor UI Text Adjustments:

  • Simplified workflow selection button text for clarity (ChatContent.tsx).

These changes collectively streamline the UI codebase, enforce a consistent layout approach, and clarify API usage for future development.

@CocoRoF CocoRoF merged commit c6cab59 into deploy Oct 23, 2025
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant