[Bug] 移动端话题界面右下侧出现无意义的 cancel/OK 按键
📦 部署环境
Docker
📌 软件版本
v1.42.1
💻 系统环境
iOS
🌐 浏览器
Safari
🐛 问题描述
如题、如图。这两个按键没有意义,话题栏左上侧已有关闭按键。点击 cancel 可关闭话题页面、点击 OK 无反应。
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
📦 Deployment environment
Docker
📌 Software version
v1.42.1
💻 System environment
iOS
🌐 Browser
Safari
🐛 Problem description
Just like the title and picture. These two buttons are meaningless, and there is a close button on the upper left side of the topic bar. Click cancel to close the topic page, click OK but there will be no response.
📷 Steps to reproduce
No response
🚦 Expected results
No response
📝 Supplementary information
No response
👀 @Sun-drenched
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
Hello @Sun-drenched! I'm here to assist you with any bugs, questions, or contributions you may have. Let's work together to resolve this issue.
The 'Cancel' and 'OK' buttons in the mobile topic interface of LobeChat are part of the Popconfirm component. The 'OK' button is intended to confirm actions like opening a new topic or saving current messages, depending on the context. However, if the 'OK' button has no effect when clicked, it might be due to conditional logic that checks for certain variables (editingProvider, id, and formInstance). If any of these are not defined, the button will not perform any action [1][2].
The 'Cancel' button is used to dismiss the confirmation dialog without taking any action [1]. If these buttons are deemed unnecessary, especially if there's already a close button in the interface, it might be worth considering a UI update to remove or repurpose them.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other
咦…之前这个有吗
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Hey...did you have this before?
咦…之前这个有吗
之前应该是没有的,但也无法确定从哪个版本开始出现的。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Hey...Have you had this before?
It probably didn't exist before, but it's impossible to determine which version it started to appear in.
以前没有,近三天出现的吧。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It didn't happen before, but it appeared in the past three days.
就是最近这几个版本出现的,我有印象
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
These are the latest versions that have appeared, and I have the impression that
一个个试了下 v1.40.4 后出现的 ~~,应该和 0533150f586e0c0c00b61dcb2f1cc4df9860993f 有关~~ 降级到 "chroma-js": "^2.6.0" 后好像也有问题
| v1.40.3 | v1.40.4 |
|---|---|
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
After trying v1.40.4 one by one, it should be related to 0533150f586e0c0c00b61dcb2f1cc4df9860993f
| v1.40.3 | v1.40.4 |
|---|---|
|  |
@hezhijie0327 这个是组件的问题。 https://ui.lobehub.com/components/modal 统一了桌面和移动端的弹窗 button,但chat里没有对应更新掉。需要在chat 的这个话题弹窗组件里加个 footer={null} 的参数
✅ @Sun-drenched
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
:tada: This issue has been resolved in version 1.42.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.