lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

[Bug] 网页操作起来有点卡顿 UI很好看就是动画不流畅 卡卡的

Open yh4922 opened this issue 6 months ago • 19 comments

💻 系统环境 | Operating System

Windows

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

网页操作起来有点卡顿 UI很好看就是动画不流畅 卡卡的

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

yh4922 avatar Dec 18 '23 03:12 yh4922

👀 @yh4922

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot avatar Dec 18 '23 03:12 lobehubbot

有计划优化

arvinxx avatar Dec 18 '23 03:12 arvinxx

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Planned optimization

lobehubbot avatar Dec 18 '23 03:12 lobehubbot

有计划优化

lobechat 哪里都好,就是真的卡,一大堆按钮点了都要半秒以上才能有反应,很多功能其实用不上,在部署的时候多弄几个环境变量,方便关掉一堆功能,软件逻辑都会清楚很多

Feliks151450 avatar Dec 20 '23 17:12 Feliks151450

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Planned optimization

lobechat is good everywhere, but it is really stuck. It takes more than half a second to respond when clicking a lot of buttons. Many functions are actually useless. It is necessary to add a few more environment variables during deployment to facilitate turning off a lot of functions. The software logic will be much clearer

lobehubbot avatar Dec 20 '23 17:12 lobehubbot

一大堆按钮点了都要半秒以上才能有反应

哪些按钮点了需要半秒以上?

arvinxx avatar Dec 21 '23 02:12 arvinxx

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Clicking a lot of buttons takes more than half a second to respond.

Which buttons take more than half a second to click?

lobehubbot avatar Dec 21 '23 02:12 lobehubbot

最好是能录屏演示下

Asuka109 avatar Dec 21 '23 02:12 Asuka109

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It would be best if you could record the screen and demonstrate it.

lobehubbot avatar Dec 21 '23 02:12 lobehubbot

卡是真的,每个页面点击都有延迟,AI输出也明显慢了很多

hqw567 avatar Dec 21 '23 15:12 hqw567

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The card is real, there is a delay on every page click, and the AI ​​output is obviously much slower.

lobehubbot avatar Dec 21 '23 15:12 lobehubbot

一大堆按钮点了都要半秒以上才能有反应

哪些按钮点了需要半秒以上?

设置界面,对话界面,机器人商店来回切换的时候很明显,设置界面不同部分来回切换也很明显的延迟,你们readme的性能测试也很明显暴露出卡的问题了,桌面端才59分,移动端甚至只有44分,卡的不行,启动也很慢。建议去体验一下ChatGPT Next web,体验一下快如闪电是什么感觉

Feliks151450 avatar Dec 21 '23 16:12 Feliks151450

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


A lot of buttons take more than half a second to respond.

Which buttons take more than half a second to click?

It is obvious when switching back and forth between the setting interface, dialogue interface, and robot store. There is also an obvious delay when switching back and forth between different parts of the setting interface. The performance test of your readme also clearly exposed the card problem. The desktop version only scored 59 points, and the mobile version Even with only 44 points, it was stuck and started very slowly. It is recommended to try ChatGPT Next web and experience what it feels like to be as fast as lightning

lobehubbot avatar Dec 21 '23 16:12 lobehubbot

设置界面,对话界面,机器人商店来回切换的时候很明显,设置界面不同部分来回切换也很明显的延迟

@Feliks151450 针对这一部分做了下预取优化 ( #749 ),再体验下。

arvinxx avatar Dec 22 '23 02:12 arvinxx

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There is an obvious delay when switching back and forth between the settings interface, dialogue interface, and robot store. There is also an obvious delay when switching back and forth between different parts of the settings interface.

@Feliks151450 has made prefetch optimization for this part, let’s try it again.

lobehubbot avatar Dec 22 '23 02:12 lobehubbot

设置界面,对话界面,机器人商店来回切换的时候很明显,设置界面不同部分来回切换也很明显的延迟

@Feliks151450 针对这一部分做了下预取优化 ( #749 ),再体验下。

感谢,试了一下,虽然还有点延迟,但是确实快了很多,这个体验目前还不错

Feliks151450 avatar Dec 22 '23 02:12 Feliks151450

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It is obvious when switching back and forth between the setting interface, dialogue interface, and robot store. There is also an obvious delay when switching back and forth between different parts of the setting interface.

@Feliks151450 has made prefetch optimization (#749) for this part, let’s try it again.

Thanks, I tried it. Although there is still a little delay, it is indeed much faster. The experience is not bad so far.

lobehubbot avatar Dec 22 '23 02:12 lobehubbot

OK 我们会继续优化的

arvinxx avatar Dec 22 '23 03:12 arvinxx

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


OK we will continue to optimize

lobehubbot avatar Dec 22 '23 03:12 lobehubbot

✅ @yh4922

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot avatar Jan 05 '24 06:01 lobehubbot

还是卡,建议直接把所有资源启动的时候下载下来,现在网速那么快,总比点击的时候卡一下要好,点击的时候卡一下多么影响心态呀。启动的时候卡,顶多是觉得自己网不行。

kangfenmao avatar Jan 10 '24 01:01 kangfenmao

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It's still stuck. It is recommended to download all the resources directly when starting up. The Internet speed is so fast now, it is better than being stuck when clicking. It will affect the mentality of being stuck when clicking. If it freezes when starting up, the most likely reason is that the network is not working properly.

lobehubbot avatar Jan 10 '24 01:01 lobehubbot

还是卡,建议直接把所有资源启动的时候下载下来,现在网速那么快,总比点击的时候卡一下要好,点击的时候卡一下多么影响心态呀。启动的时候卡,顶多是觉得自己网不行。

点哪里还卡?应该几乎都做了下载了

arvinxx avatar Jan 10 '24 01:01 arvinxx

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It's still stuck. It is recommended to download all the resources directly when starting up. The Internet speed is so fast now, it is better than being stuck when clicking. It will affect the mentality of being stuck when clicking. If it freezes when starting up, the most likely reason is that the network is not working properly.

Where can I get stuck? Almost all of them should have been downloaded.

lobehubbot avatar Jan 10 '24 01:01 lobehubbot

还是卡,建议直接把所有资源启动的时候下载下来,现在网速那么快,总比点击的时候卡一下要好,点击的时候卡一下多么影响心态呀。启动的时候卡,顶多是觉得自己网不行。

点哪里还卡?应该几乎都做了下载了

是的,比之前快了很多。因为一些资源已经预加载过了。

可能是因为用 next 的原因,举例说明。点击右上角设置的时候,大概会有 100ms 延迟,虽然不影响使用,但是能主观感受到这个微弱的延迟。

后续有没有客户端的计划,资源在本地一切都能做到非常快。

kangfenmao avatar Jan 10 '24 01:01 kangfenmao

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It's still stuck. It is recommended to download all the resources directly when starting up. Now that the Internet speed is so fast, it is better than being stuck when clicking. It will affect the mentality of being stuck when clicking. If it freezes when starting up, the most likely reason is that the network is not working properly.

Where can I get stuck? Almost all of them should have been downloaded.

Yes, much faster than before. Because some resources have been preloaded.

It may be because of the use of next. Let’s give an example. When you click on the settings in the upper right corner, there will be a delay of about 100ms. Although it does not affect the use, you can subjectively feel this weak delay.

Are there any plans for the client in the future? Everything can be done very quickly with local resources.

lobehubbot avatar Jan 10 '24 01:01 lobehubbot

现在前端页面优化的怎么样了 之前好卡 临时换成了NextChat

yh4922 avatar Jan 10 '24 01:01 yh4922

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


How is the front-end page optimization going now? It was good before, but it was temporarily replaced by NextChat.

lobehubbot avatar Jan 10 '24 01:01 lobehubbot

https://lobe.ai0x0.com/ 部署在国内服务器就不卡了

mushan0x0 avatar Jan 10 '24 02:01 mushan0x0

我是私有化部署的

yh4922 avatar Jan 10 '24 02:01 yh4922