refactor: DRY flowview filters page layout wrapper

Aperta
#245 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #246 di @somethingwithproof — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

Start by reading flowview_filters.php and tracing where action branches render top_header and bottom_footer, including embed handling. Add standalone regression tests for helper call ordering and embed behavior, plus source assertions that action paths use the shared helper. Run syntax checks on touched files; done means edit/default rendering use the helper and existing behavior is preserved.

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

Descrizione

enhancement

Problem

flowview_filters.php repeats page wrapper layout handling for action rendering (top_header/bottom_footer) across action branches.

Proposed change

  • add a shared layout wrapper helper for flowview filters page rendering
  • route edit/default rendering through the shared helper
  • preserve behavior including embed handling

Tests

  • add standalone regression tests for helper call ordering and embed behavior
  • add source assertions that action paths use the shared helper
  • run syntax checks for touched files
Lingua principale
PHP
Stelle
21
Fork
13
Merge medio
1g 15h
PR unite (30g)
13

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 Cacti/plugin_flowview

Tutte le issue di Cacti/plugin_flowview

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.