Skip to content

Conversation

@amir-ghasemi
Copy link
Collaborator

@amir-ghasemi amir-ghasemi commented Nov 25, 2025

This pull request introduces animated AI-generated session titles to the chat UI, enhancing user feedback and visibility when session titles are being generated or updated. The changes add animation effects to session titles, provide an "AI Rename" option in the session list, and refactor the handling of session naming to be more responsive and visually engaging.

Session Title Animation and AI Integration:

  • Added a new useTitleAnimation hook to animate session titles with pulse and fade effects, and to indicate when an AI-generated title is being processed or updated. This is used in both the session list and the chat page. [1] [2] [3] [4] [5] [6]

  • Replaced static session name rendering with the new animated SessionName component in the session list and applied animation classes to the chat page title for a more dynamic user experience. [1] [2] [3]

AI Title Generation Workflow:

  • Added an "Rename with AI" option in the session dropdown menu, which triggers an AI-powered title generation process. The UI provides visual feedback (pulse animation) while the title is being generated and disables the option during processing. [1] [2]

  • Implemented logic to fetch and summarize recent chat messages as context for the AI title generation, and to handle updates upon title regeneration completion. [1] [2]

Refactoring and Hook Exports:

  • Removed the old getSessionDisplayName logic in favor of the new animated title approach and cleaned up related code.

  • Exported the new hooks (useTitleGeneration, useTitleAnimation) from the hooks index for use throughout the codebase.

These changes collectively provide a more interactive and informative chat experience, making it clear when session titles are being generated or updated by AI, and giving users direct control over AI-based session renaming.

@github-actions
Copy link

github-actions bot commented Nov 25, 2025

WhiteSource Policy Violation Summary

✅︎ No Blocking Whitesource Policy Violations found in solaceai/solace-agent-mesh-ui-pr-586!

@lgh-solace lgh-solace requested a review from JKaram December 2, 2025 19:08
@amir-ghasemi amir-ghasemi requested a review from ziyanwan January 6, 2026 18:56
Copy link
Contributor

@JKaram JKaram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqube-solacecloud
Copy link

@efunneko efunneko merged commit 59efa6c into main Jan 16, 2026
26 of 27 checks passed
@efunneko efunneko deleted the amir/auto-title branch January 16, 2026 20:26
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.

4 participants