Skip to content

Unify fields under a parent gene editing list #134

@rugeli

Description

@rugeli

Use Case

We need to unify the current scattered fields for gene editing under a parent field

Acceptance Criteria

  • group allele_count, tag_location, fluorescent_tag, (Q: gene too?) under a parent field Editing(Q: or is Genetic Modifications a more descriptive name?)
  • The parent field should be a list, each child field maintains its original options (Q: if we decide to group all three for each gene, do we still need multiple to be true?)

Details

draft new structure:

- {
                label: "Genetic Modifications",
                name: "genetic_modifications",
                widget: "list",
                required: false,
                fields:
                    [
                        {
                            label: "Gene",
                            name: "gene",
                            widget: "relation",
                            collection: "gene-name",
                            search_fields: ["symbol", "name", "protein", "structure"],
                            value_field: "symbol",
                            display_fields: ["symbol"],
                            required: false,
                        },
                        {
                            label: "Allele Count",
                            name: "allele_count",
                            widget: "select",
                            options: ["mono", "bi"],
                            required: false,
                        },
                        {
                            label: "Tag Location",
                            name: "tag_location",
                            widget: "select",
                            options: ["C-terminus", "N-terminus"],
                            required: false,
                        },
                        {
                            label: "Fluorescent Tag",
                            name: "fluorescent_tag",
                            widget: "select",
                            options: ["mEGFP", "EGFP", "mTagRFP-T", "TagBFP", "HaloTag"],
                            required: false,
                        }
                    ]
            }
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions