ISISComputingGroup / ISISComputingGroup/IBEX

GUI: client should get prefix of all machines on instlist

Aperta
#8,513 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Friday training
Lingua principale
Nessun dato sulla lingua
Stelle
6
Fork
2
Merge medio
16h 40m
PR unite (30g)
2

Descrizione

As a developer I would like the GUI to correctly get the prefix for a machine i'm switching instrument to, if the instrument is not shown on the dropdown list of instruments (which i think are just the "scheduled" instruments in `CS:INSTLIST`).

For example, typing `NDXHIFI-CRYOMAG` should give the PV prefix of `IN:HIFI-C11:` but it leaves the prefix text box blank currently.

Currently this only works for "scheduled" instruments. It opens a modal box which asks the user to enter the PV prefix, but I think we should add a default value for this textbox.

It would also be nice if it worked for machines NOT on the instlist, ie. putting NDXXYYYY defaults to a prefix of TE:NDXXYYYY:

### Acceptance criteria
- [ ] Client puts in prefixes for ALL instruments that are in the `CS:INSTLIST` PV
- [ ] Client guesses with TE:NDXXYYYY for other machines

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia dal flusso della GUI che gestisce il cambio degli strumenti, il menu a discesa degli strumenti e la casella di testo del prefisso PV nella finestra modale. Controlla come viene letto CS:INSTLIST e confronta i nomi delle macchine pianificate e non elencate; il lavoro è completato quando ogni strumento elencato riceve il proprio prefisso e una macchina NDXXYYYY non elencata usa TE:NDXXYYYY: come valore predefinito.

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

Valutazione

Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.