Skip to content

♻️ Bugfix: Optimize title editing styles and implement error tip when renaming fails#2688

Merged
WMC001 merged 1 commit intodevelopfrom
xyq/bugfix_frontend
Mar 14, 2026
Merged

♻️ Bugfix: Optimize title editing styles and implement error tip when renaming fails#2688
WMC001 merged 1 commit intodevelopfrom
xyq/bugfix_frontend

Conversation

@xuyaqist
Copy link
Copy Markdown
Contributor

@xuyaqist xuyaqist commented Mar 13, 2026

  1. 优化editing样式
image
  1. rename错误时,有错误提示
image

Copilot AI review requested due to automatic review settings March 13, 2026 11:03
@xuyaqist xuyaqist changed the title Bugfix: Optimize title editing styles and implement error tip when renaming fails ♻️ Bugfix: Optimize title editing styles and implement error tip when renaming fails Mar 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the chat left sidebar’s conversation title rename UX by replacing the inline editable typography with a dedicated input + validation flow, and adds user-facing error tips when renaming fails.

Changes:

  • Add i18n strings (EN/ZH) for rename validation and submission failure messaging.
  • Rework conversation title editing to use Input, validate empty/length constraints, and surface errors via message.
  • Adjust sidebar styling/spacing (width, background, hover/fade effects, action button reveal behavior).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
frontend/public/locales/zh/common.json Adds Chinese rename error/validation strings.
frontend/public/locales/en/common.json Adds English rename error/validation strings.
frontend/app/[locale]/chat/components/chatLeftSidebar.tsx Implements new rename input + validation + error toasts; updates sidebar layout and hover/title fade styles.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread frontend/app/[locale]/chat/components/chatLeftSidebar.tsx
Comment thread frontend/app/[locale]/chat/components/chatLeftSidebar.tsx
Comment thread frontend/app/[locale]/chat/components/chatLeftSidebar.tsx
@WMC001 WMC001 merged commit 7ca3790 into develop Mar 14, 2026
11 checks passed
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.

3 participants