Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] 关于快捷键和部分功能的建议 #5422

Open
bingloo opened this issue Sep 13, 2024 · 18 comments
Open

[Feature Request] 关于快捷键和部分功能的建议 #5422

bingloo opened this issue Sep 13, 2024 · 18 comments
Assignees
Labels
coding planned planned feature, will support in the future

Comments

@bingloo
Copy link

bingloo commented Sep 13, 2024

🥰 需求描述

web端有几个快捷键,但是客户端没有,我觉得有用的快捷键:

  • 新的聊天
  • 切换聊天
  • 清除和恢复上下文(这个键很重要,按钮小不好点)
  • 模型切换

其它的快捷键都没啥需求,唤醒和缩小可以配合win+数字键切换,可考虑下哦。

另外,设置里的部分参数能不能在环境变量给个默认值开关啊,这样就不需要每个设备都手动去设置了。
还有就是部署时如果配置了默认的模型名,在前端就不能重新替换了,这个能解决下吗。

🧐 解决方案


### 📝 补充信息

_No response_
@bingloo bingloo added the enhancement New feature or request label Sep 13, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] Suggestions on shortcut keys and some functions

🥰 Description of requirements

There are several shortcut keys on the web side, but not on the client side. The shortcut keys I find useful are:

  • New chat
  • Switch chat
  • Clear and restore context (this key is very important, the button is small and it is not good)
    *Model switching

There is no need for other shortcut keys. Wake up and zoom out can be switched with win + number keys, so consider it.

In addition, can some parameters in the settings be given a default value switch in the environment variable, so that there is no need to manually set each device.
Also, if the default model name is configured during deployment, it cannot be replaced on the front end. Can this be solved?

🧐 Solution


### 📝 Supplementary information

_No response_  
      

@Leizhenpeng
Copy link
Member

CleanShot 2024-09-13 at 18 28 54@2x
客户端现在的快捷键

@Leizhenpeng
Copy link
Member

切换聊天用命令模式更快?

CleanShot 2024-09-13 at 18 30 01@2x

@bingloo
Copy link
Author

bingloo commented Sep 13, 2024

切换聊天用命令模式更快?

CleanShot 2024-09-13 at 18 30 01@2x

客户端快捷键我的是2.15.1版本没这个功能,等下我更新.2的版本,我只是建议增加下清除上下文和模型切换的快捷键,这俩实在太小了不好点。另外你说的输入框这种切换方式,我确实不知道有这功能,但是我试了一下,我觉得还是快捷键更好。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Is it faster to switch chat using command mode?

![CleanShot 2024-09-13 at 18 30 01@2x](https://private-user-images.githubusercontent.com/50035229/367256319-fd52be9a-5fe1-44eb-a551-950a6f6e769b.png?jwt=eyJhbGciOiJIUz I1NiIsInR5cCI6IkpXVCJ9 ..YOaTAIJgwz0L_orb6wxhNS2SG5ydJTzXUdngFNdcYbs)

My version 2.15.1 of client shortcut keys does not have this function. I will update to version .2 later. I just suggest adding shortcut keys for clearing context and model switching. These two are too small to be useful. In addition, the input box switching method you mentioned, I really don’t know that this function exists, but I tried it and I think shortcut keys are better.

@Leizhenpeng
Copy link
Member

OK,清除上下文是合理的;

切换模型这个, 考虑快捷键打开模型切换弹窗,然后上下方向键选择模型,回车确认,自动关闭弹窗

感觉如何?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


OK, clearing the context is reasonable;

To switch models, consider the shortcut key to open the model switching pop-up window, then use the up and down arrow keys to select the model, press Enter to confirm, and the pop-up window will automatically close.

How does it feel?

@bingloo
Copy link
Author

bingloo commented Sep 13, 2024

OK,清除上下文是合理的;

切换模型这个, 考虑快捷键打开模型切换弹窗,然后上下方向键选择模型,回车确认,自动关闭弹窗

感觉如何?

对,我也希望这样,体验更好些~

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


OK, clearing the context is reasonable;

To switch models, consider the shortcut key to open the model switching pop-up window, then use the up and down arrow keys to select the model, press Enter to confirm, and the pop-up window will be automatically closed.

How does it feel?

Yes, I hope so too, the experience will be better~

Copy link
Member

Leizhenpeng commented Sep 13, 2024

ok ~

新增快捷键:
清除上下文: cmd+shift+delete(再按一次就是恢复)
切换模型: cmd+shift+p (然后上下方向键选择模型,回车确认,自动关闭弹窗)

@Leizhenpeng Leizhenpeng added planned planned feature, will support in the future and removed enhancement New feature or request labels Sep 13, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


ok ~
Thanks, you can also consider the following two items~

Can some parameters in the settings be given a default value switch in the environment variable, so that there is no need to manually set each device.
Also, if the default model name is configured during deployment, it cannot be replaced on the front end. Can this be solved?

@bingloo
Copy link
Author

bingloo commented Sep 13, 2024

ok ~

感谢~ 下面两条也可以考虑下哦。

另外,设置里的部分参数能不能在环境变量给个默认值开关啊,这样就不需要每个设备都手动去设置了。
还有就是部署时如果配置了默认的模型名,在前端就不能重新替换了,这个能解决下吗。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


ok ~

Thank you~ You can also consider the following two items.

In addition, can some parameters in the settings be given a default value switch in the environment variable, so that there is no need to manually set each device.
Also, if the default model name is configured during deployment, it cannot be replaced on the front end. Can this be solved?

@Leizhenpeng
Copy link
Member

"另外,设置里的部分参数能不能在环境变量给个默认值开关啊,这样就不需要每个设备都手动去设置了。
还有就是部署时如果配置了默认的模型名,在前端就不能重新替换了,这个能解决下吗。
你另外提个issue,这个issue 单独解决快捷键问题~

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


"In addition, can some parameters in the settings be given a default value switch in the environment variable, so that there is no need to manually set each device.
Also, if the default model name is configured during deployment, it cannot be replaced on the front end. Can this be solved?
Please file another issue, this issue will solve the shortcut key issue separately~

@bingloo
Copy link
Author

bingloo commented Sep 13, 2024

"另外,设置里的部分参数能不能在环境变量给个默认值开关啊,这样就不需要每个设备都手动去设置了。 还有就是部署时如果配置了默认的模型名,在前端就不能重新替换了,这个能解决下吗。 你另外提个issue,这个issue 单独解决快捷键问题~

好的,谢谢~

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


"In addition, can some parameters in the settings be given a default value switch in the environment variable, so that each device does not need to be set manually. Also, if a default model name is configured during deployment, it will be set on the front end It can't be replaced. Can this be solved? Can you raise another issue? This issue will solve the shortcut key issue separately~

OK, thank you~

DDMeaqua added a commit to DDMeaqua/ChatGPT-Next-Web that referenced this issue Sep 19, 2024
@lxysl
Copy link

lxysl commented Oct 23, 2024

能否添加一个全局唤醒的快捷键,例如 chatgpt mac 端可以用 option+space 唤醒出对话框。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coding planned planned feature, will support in the future
Projects
None yet
Development

No branches or pull requests

5 participants