Add server delete/edit, TLS bypass option, and container UI fixes#4
Draft
Add server delete/edit, TLS bypass option, and container UI fixes#4
Conversation
… UI improvements - Add Edit and Delete buttons to Server Detail page quick actions - Add ignoreTls field to ApiConfig with persistent storage - Add TLS validation bypass toggle to ServerFormPage - Implement cross-platform TLS bypass (IO/web conditional imports) - Convert container stats to collapsible ExpansionTile (saves screen space) - Replace container action buttons with compact icon-only buttons (fixes wrapping) - Add edit mode to ServerFormPage (pre-fills existing config) - Refresh server list after edit/delete from detail page - Add i18n strings for new features (EN + ZH) Co-authored-by: IsKenKenYa <92219680+IsKenKenYa@users.noreply.github.com> Agent-Logs-Url: https://github.com/IsKenKenYa/1Panel-Client/sessions/a3444718-00e9-4fcf-9871-ada397f9433c
Copilot
AI
changed the title
[WIP] Fix server delete button visibility and validation errors
Add server delete/edit, TLS bypass option, and container UI fixes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users had no way to delete or edit servers, couldn't connect to HTTPS endpoints with self-signed/invalid certificates, and the container list was cramped due to a fixed-height stats card with oversized action buttons that wrapped on small screens.
Server management
ServerFormPagepre-filled with the existing config.ServerFormPagenow accepts an optionalexisting: ApiConfigparameter to enable edit mode (title, all fields, andignoreTlspre-populated).TLS bypass (
ignoreTls)ignoreTls: boolfield onApiConfig(serialized, defaultsfalse).SwitchListTiletoggle in the server form with explanatory subtitle.DioClientandServerConnectionServiceskip certificate validation viabadCertificateCallback.tls_bypass_io.dart(mobile/desktop) ortls_bypass_stub.dart(no-op on web) — avoids rawdart:ioimport on web targets.Container UI
ExpansionTile. Collapsed state shows inline count badges (total / running / stopped), freeing the full viewport for the container list by default._IconActionButton+Tooltip. Eliminates wrapping on narrow screens while keeping discoverability via long-press tooltip.Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.