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

Abierto
#5,896 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
PHP
Estrellas
1.2k
Forks
926
Merge medio
1 d 10 h
PR fusionados (30 d)
25

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opnsense/plugins

Todos los issues de opnsense/plugins

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.