Closed bbb3n closed 9 months ago
👀 @B3nDan
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
🥰 Requirement Description | Feature Description
This Welcome interface has only two functions, right? One is to promote your slogan, and the other is to let people import the configuration.
But when I use it for customers now, when they see this interface, they just click to start immediately. Some people will also ask me what import configuration is for...
People who need to import configuration can go to the settings and do it themselves. People who don’t need it don’t need to show it to them on the homepage.
After all, this operation is not a common operation
In short, I think this Welcome is a bit complicated. If you insist on saying this slogan, you can change it to a disappearing animation or something like that.
It can be used directly after opening it like Nextweb, which should be more friendly to ordinary users.
Add an environment variable, such as NEXT_PUBLIC_SHOW_WELCOME. If the value is false, it will not be displayed.
Just tell me where to delete the code, and I can just delete it.
No
后续不会删 welcome 的,因为它的用途就是承接新用户。我们后面还会把助手市场的内容透出来,让新用户可以选一些精选的助手立即开始。这对于新用户来说会更加友好。
导入配置这个的确比较低频,这个按钮后续会弱化。
另外值得一提的是,我们针对welcome做了处理逻辑的。只有第一次使用的用户才会看到。只要他聊过,下次进来就会自动跳转到会话页。
如你真的觉得需要不显示 Welcome,跳转逻辑的代码在这里:https://github.com/lobehub/lobe-chat/blob/df352725fe91db0c372f110282541366cc6ffcb2/src/app/home/Redirect.tsx#L22
欢迎提 PR~
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
welcome will not be deleted in the future because its purpose is to accept new users. We will also reveal the content of the assistant market later, so that new users can choose some selected assistants to start immediately. This will be more friendly to new users.
Importing configuration is indeed relatively low-frequency, and this button will be weakened later.
It is also worth mentioning that we have implemented processing logic for welcome. Only first-time users will see it. As long as he has chatted, he will automatically jump to the conversation page next time he comes in.
If you really think you need not to display Welcome, the code for the jump logic is here: https://github.com/lobehub/lobe-chat/blob/df352725fe91db0c372f110282541366cc6ffcb2/src/app/home/Redirect.tsx#L22
Welcome to submit PR~
后续不会删 welcome 的,因为它的用途就是承接新用户。我们后面还会把助手市场的内容透出来,让新用户可以选一些精选的助手立即开始。这对于新用户来说会更加友好。
导入配置这个的确比较低频,这个按钮后续会弱化。
另外值得一提的是,我们针对welcome做了处理逻辑的。只有第一次使用的用户才会看到。只要他聊过,下次进来就会自动跳转到会话页。
如你真的觉得需要不显示 Welcome,跳转逻辑的代码在这里:
欢迎提 PR~
可以,感谢回复。
不过用了几天感觉好像跳转界面时
比如点 设置,进入 设置界面 比如 设置界面,从 通用设置 切换到 语音服务 。 切换时会等1-2s左右,这是由于代码比较复杂的缘故吗?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Welcome will not be deleted in the future, because its purpose is to accept new users. We will also reveal the content of the assistant market later, so that new users can choose some selected assistants to start immediately. This will be more friendly to new users.
Import configuration is indeed relatively low-frequency, and this button will be weakened later.
It is also worth mentioning that we have implemented processing logic for welcome. Only first-time users will see it. As long as he has chatted, he will automatically jump to the conversation page next time he comes in.
If you really think you need not to display Welcome, the code for the jump logic is here:
Welcome to submit PR~
Okay, thanks for the reply.
But after using it for a few days, I felt like I was jumping to the interface.
For example, click Settings to enter the Settings interface. For example, in the settings interface, switch from General Settings to Voice Service. It will wait for about 1-2 seconds when switching. Is this because the code is complicated?
比如点 设置,进入 设置界面 比如 设置界面,从 通用设置 切换到 语音服务 。 切换时会等1-2s左右,这是由于代码比较复杂的缘故吗?
这一块的确也有其他人提。这个需要我们进一步挖一下是什么原因。我个人认为应该不是代码复杂度的问题。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
For example, click Settings to enter the setting interface For example, in the settings interface, switch from General Settings to Voice Service. It will wait for about 1-2 seconds when switching. Is this because the code is more complicated?
Indeed, others have mentioned this. We need to dig deeper into the reason for this. I personally think it's not a matter of code complexity.
✅ @B3nDan
This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。
🥰 需求描述 | Feature Description
这个 Welcome 界面的作用就两个吧 ? 一个是宣传你们的slogan,一个就是让人 导入配置 。
但是我现在给客户们用的时候,他们看到这个界面都是直接点立即开始 有些人还会问我 导入配置 是干什么的……
有需要 导入配置 的人可以去设置里自己做,不需要的人也不需要在首页给他们看
毕竟这个操作不是一个常用操作
总之就是觉得这个 Welcome 有点繁杂了,如果你们非要说这个slogan,可以换成个会消失的动画之类的
像 Nextweb 那样打开就能直接用,对于普通用户应该是更友好的。
🧐 解决方案 | Proposed Solution
添加一个环境变量,比如 NEXT_PUBLIC_SHOW_WELCOME,如果值为false就不显示。
你们直接告诉我在哪里删代码,我直接删了也行
📝 补充信息 | Additional Information
暂无