Skip to content

Conversation

@HynoR
Copy link
Contributor

@HynoR HynoR commented Oct 23, 2025

What this PR does / why we need it?

Previously, I tried using 1Panel as a central SSH management hub to manage other servers. I also copied some frequently used quick commands from FinalShell. However, I found that when there are too many quick commands, the Cascader component can’t display enough of them, and confirming a command requires switching to the quick command panel.

To address this, I redesigned the quick command section following FinalShell’s layout, making it more convenient to select and manage quick commands when administering multiple servers.

之前尝试用 1panel 当一个中心跳板 ssh 管理机,用来管理其他服务器,并拷贝了从finalshell中常用的快速命令,发现如果快速命令太多,cascader 组件能容纳的命令太少并且如果要确认命令还得跳转到快速命令栏去确认。
仿照 finalshell 排版重做了快速命令部分, 把 cascader 换成一个可折叠的面板。便于管理其他服务器时,方便选择快速命令。

面板样式可能不完美,如有可改动的地方,劳烦提出。

Summary of your change

重排快速命令界面

测试结果:

变更前:
image

变更后:
image
image

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Oct 23, 2025

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Oct 23, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign wanghe-fit2cloud for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wanghe-fit2cloud wanghe-fit2cloud merged commit 3480182 into 1Panel-dev:dev-v2 Oct 23, 2025
0 of 3 checks passed
@HynoR HynoR deleted the feat/commandpanel branch November 6, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants