feat(phenotype-edit): add a state for phenotype edit