Show each Script's last run and its status in the Scripts list

Aperta
#206 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend, frontend

Direzione di ricerca

The payload names no files, so start from the Scripts list view and its table and grouped-view definitions in the plugin, then check how the NetBox Jobs tab lists a script's runs. Add Last Run and Status columns that show the most recent completed run the user may view, with a link to its result. Done means both views display start time, status and link, and a permission-restricted user sees only runs they can view.

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

Descrizione

app: scripts Bucket: Improve complexity: medium status: backlog type: feature
Plugin Version

v0.1.0

Proposed functionality

Add Last Run and Status columns to both the table and grouped views of the Scripts list.

Show the start time and status of each Script's most recent completed run that the user has permission to view, with a link to its result.

Use case

NetBox's built-in Scripts list shows when each Script last ran and whether it succeeded or failed. After migrating to the plugin, users need to open each Script's Jobs tab to find this information.

Providing the same information in the Scripts list would make it easier to monitor Script execution and identify failed runs at a glance.

External dependencies

None.

Lingua principale
Python
Stelle
9
Fork
0
Merge medio
18h 59m
PR unite (30g)
93

Preparare l'ambiente

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 netbox-community/netbox-scripts

Tutte le issue di netbox-community/netbox-scripts

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.