[os-caddy] Feature Request: Add manual drag-and-drop reordering to GUI tables

オープン
#5,896 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
frontend

調査の方向性

Start by locating the os-caddy GUI table definitions for Domains, Subdomains, and Handlers, then read how OPNsense Firewall Rules persist manual row order. The request is done when users can drag rows to reorder each table and that order remains visible after saving and reopening the GUI.

索引モデルが issue の本文から書いたものです。

説明

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
As my list of reverse proxy entries grows, the GUI tables (Domains, Subdomains, Handlers) become visually disorganized because they default to chronological creation order.

I saw that alphabetical sorting was implemented in issue #3914, but this unfortunately doesn't solve the issue for users with wildcard certificates. Because wildcards begin with a special character (e.g., *.domain.com), standard A-Z sorting completely separates the wildcard domain from its root domain (domain.com) in the list. Without a way to put these entries together, I get lost in my list.

Describe the solution you'd like
I would like the ability to manually drag and drop rows to rearrange their order in the GUI (similar to how OPNsense Firewall Rules can be manually reordered). This would allow users to perfectly group root domains and wildcard domains together, regardless of their naming conventions or when they were created.

Describe alternatives you've considered

  1. Alphabetical Sorting: As mentioned, this fails to group domain.com and *.domain.com together due to the asterisk.
  2. The "Clone & Delete" Trick: This doesn't work if there are already handlers created. The GUI will stop you from doing it.
主要言語
PHP
スター
1.2k
フォーク
926
平均マージ
1日 10時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opnsense/plugins のほかの issue

opnsense/plugins の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。