summaryrefslogtreecommitdiff
path: root/topics/editing
diff options
context:
space:
mode:
Diffstat (limited to 'topics/editing')
-rw-r--r--topics/editing/case_attributes.gmi31
-rw-r--r--topics/editing/info_files.gmi7
-rw-r--r--topics/editing/phenotypes.gmi25
-rw-r--r--topics/editing/priority.gmi5
4 files changed, 68 insertions, 0 deletions
diff --git a/topics/editing/case_attributes.gmi b/topics/editing/case_attributes.gmi
new file mode 100644
index 0000000..451a3e1
--- /dev/null
+++ b/topics/editing/case_attributes.gmi
@@ -0,0 +1,31 @@
+# Editing Case-Attributes
+
+## Introduction
+
+Case-Attributes are essentially the metadata for the samples. In the GN2 system, they are the extra columns in the table in the "Reviews and Edit Data" accordion tab besides the value and its error margin.
+
+## Status
+
+There is code that existed for the case-attributes editing, but it had a critical bug where the data for existing attributes would be deleted/replaced randomly when one made a change. This lead to a pause in this effort.
+
+This bug should probably be the first thing to look at and resolve to get the current code out to the users.
+
+We should probably also enable a rollback feature.
+
+## Notes
+
+* Liaise with @Munyoki to collect further information on the case-attributes
+* The relevant database tables are "CaseAttribute" and "CaseAttributeXRefNew"
+
+
+## Related issues
+
+=> /issues/case-attr-edit-error
+=> /issues/fix-case-attribute-work
+=> /issues/fix-case-attribute-editing
+=> /issues/consecutive-crud-applications-when-uploading-data
+=> /issues/edit-metadata-bugs
+
+## References
+
+=> /topics/data-uploads/datasets
diff --git a/topics/editing/info_files.gmi b/topics/editing/info_files.gmi
new file mode 100644
index 0000000..fbc14b6
--- /dev/null
+++ b/topics/editing/info_files.gmi
@@ -0,0 +1,7 @@
+# Info-Files Editing
+
+## Notes
+
+This will be combined with the QC Application work.
+
+@Arthur requested we first focus on getting the Phenotypes and Case-Attributes editing done first before they provide more information on this.
diff --git a/topics/editing/phenotypes.gmi b/topics/editing/phenotypes.gmi
new file mode 100644
index 0000000..ddffd3b
--- /dev/null
+++ b/topics/editing/phenotypes.gmi
@@ -0,0 +1,25 @@
+# Editing Phenotypes
+
+## Quick Note
+
+The code for editing phenotypes is currently present and has made its way to production. The only reason users cannot access the feature (as of 2023-07-07T10:00+03:00UTC) is that there is currently an issue with the production system that causes the sessions to disappear immediately after login.
+
+This note will be removed once the issue is resolved.
+
+## Process
+
+* Log in to GN2 by clicking the "Sign in" link
+* Provide the appropriate user credentials
+* Go to the traits page (/show_trait?...) for the trait you want to edit
+* Click on the "Edit" button. Note that this button only shows up for users with the appropriate privileges.
+* You are now on the traits edit page
+* Edit the metadata as necessary
+* Edit the sample data (only available for phenotype traits) as necessary.
+* Submit the changes by clicking the "Submit Change" button
+* View the diffs for the changes by clicking on the "View History" link near the top of the page
+
+## Notes
+
+* Sample data editing is only available for phenotype traits. You cannot edit sample data for genotype or probeset traits
+* Removing values for sample data is currently no possible
+
diff --git a/topics/editing/priority.gmi b/topics/editing/priority.gmi
new file mode 100644
index 0000000..634df23
--- /dev/null
+++ b/topics/editing/priority.gmi
@@ -0,0 +1,5 @@
+# Priority Ordering for Editing Work
+
+=> /topics/editing/phenotypes Phenotype Editing
+=> /topics/editing/case_attributes Case Attributes Editing
+=> /topics/editing/info_files Info-Files Editing