Remove obsolete `getScssVariables()` implementations and misleading theme example

Abierto
#66,671 0 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
48/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php, scss

Línea de trabajo

Start by reading the implementations in OC_Defaults, ThemingDefaults, the example theme, and the dedicated tests; check the compatibility requirements and external callers mentioned in the issue before removing anything. Review related documentation for references to the hook. Done means the obsolete methods, example, and tests are removed safely and documentation no longer advertises the hook.

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

Descripción

0. Needs triage feature: theming technical debt

getScssVariables() remains in OC_Defaults, ThemingDefaults, the example theme, and dedicated tests, despite having no production caller in Server. As noted in #58426 by @andreas-p, the example misleadingly suggests a working customization hook.

This hook supplied variable overrides to the former on-demand SCSS compiler/cache. The ThemingDefaults override is marked deprecated since Nextcloud 22, following #9940. Runtime SCSS support was dropped in Nextcloud 25; see #32060 and nextcloud/documentation#9136. Current build-time SCSS compilation does not use this hook and is unaffected.

Remove the obsolete implementations, example method, and dedicated tests, checking external callers and applicable API compatibility requirements before removal. Correct any related documentation that still advertises this hook.

Lenguaje dominante
PHP
Estrellas
37.5k
Forks
5.4k
Merge medio
1 d 13 h
PR fusionados (30 d)
639

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 nextcloud/server

Todos los issues de nextcloud/server

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.