export class ExperimentStep {
    constructor(title, _type) {
        this.id = '';
        this.title = title;
        this._type = _type;
        this.steps = [];
        this.description = '';
        this.flags = {
            important: false,
            review: false,
            error: false,
            done: false
        };
        this.displayState = {
            details: {
                showTitle: true,
                showStatus: true,
                showNotes: true,
                showFiles: false,
                showSamples: false,
                currentFilesTab: 0,
                currentSamplesTab: 0
            },
            editTitle: true,
            open: false,
            maximize: false
        };
        this.node = null;
    }

    addStep(step) {
        this.steps.push(step);
    }
}

export class Experiment {
    constructor(name) {
        this.name = name;
        this.goal = '';
        this.description = 'Look at grain size as it relates to hardness';
        this.aim = '';
        this.done = false;
        this.steps = [];
    }

    addStep(title, _type) {
        let s = new ExperimentStep(title, _type);
        this.steps.push(s);
    }
}


@@ -959,52 +959,8 @@
  = '
-Look at grain size as it relates to hardness
 ';%0A 
@@ -998,20 +998,30 @@
 his.
-done = false
+status = 'in-progress'
 ;%0A  

Remove hard coded experiment description. Remove done field and add status field since that is what we get from the backend.