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

Aperta
#66,671 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php, scss

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
PHP
Stelle
37.5k
Fork
5.4k
Merge medio
1g 13h
PR unite (30g)
639

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/server

Tutte le issue di nextcloud/server

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.