ISISComputingGroup / ISISComputingGroup/IBEX

Script Generator: configurable objects

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

Descrizione

As a user or script definition maintainer, I would like to be able to define an object for reuse in multiple places in the script generator.

The use case for this was discussed with Max Skoda and others from reflectometry. They currently use MScript to define a number of samples e.g. S1 and S2. Each sample has a set of parameters associated with it to describe how to set slits etc. When creating a script you are then able to select S1 or S2 for an action and the parameters for this sample are used. This avoids constant reinput of the same parameters that can just be associated with the relevant object.

Though we are aiming to fulfil this use case the implementation should remain generalisable for other uses i.e. the object that is defined and actions from those parameters remain defined in the script definition.

Acceptance criteria:

- [ ] I can define an object type outside of a script definition which contains a number of fields that are configurable from the GUI
- [ ] I can configure a number of these objects in the GUI (this should be separate from the script generator action table and hideable from the UI)
- [ ] I can reference these objects from a script generator action
- [ ] The object references are validated (e.g. for our example above only S1 and S2 are valid, this could be implemented as a drop-down if that ticket is done)
- [ ] The script definition run method has access to the fields of the configured object

Notes:

- Please can we not use the word config or configuration when defining terminology for this, it is too overloaded.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Non sono indicati file, test o punti di ingresso concreti. Inizia individuando il generatore di script, la relativa tabella delle azioni e il metodo di esecuzione della definizione dello script; traccia quindi il percorso dei parametri delle azioni fino all’esecuzione e usa ciascun criterio di accettazione per definire il completamento, inclusa la visibilità nella GUI, la validazione dei riferimenti e l’accesso ai campi degli oggetti.

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

Valutazione

Ambito
full-stack
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.