feature request #8906
closedRefactor DNA Sample details view
100%
Description
The DNA Sample details view is not handled like the other derived units by using the derivedUnitFacade.
Related issues
Updated by Katja Luther about 3 years ago
- Subject changed from Refactor DNA Samole details view to Refactor DNA Sample details view
Updated by Andreas Müller about 3 years ago
Especially determinations are missing there.
Updated by Andreas Müller about 3 years ago
By the way the derivedUnitFacace was originally meant to work with the Specimen list editor. For the tree editor it does not really make sense to use the facade so we should discuss how to get away from it.
Updated by Andreas Müller about 3 years ago
- Tags set to additivity
- Target version changed from Unassigned CDM tickets to Release 5.14
As this ticket is important for cleaning up additivity data I put it to the current milestone.
Updated by Katja Luther about 3 years ago
Andreas Müller wrote:
By the way the derivedUnitFacace was originally meant to work with the Specimen list editor. For the tree editor it does not really make sense to use the facade so we should discuss how to get away from it.
This ticket is about the details view of dnaSample, for the tree editor there is another dto.
Updated by Andreas Müller about 3 years ago
Katja Luther wrote:
Andreas Müller wrote:
By the way the derivedUnitFacace was originally meant to work with the Specimen list editor. For the tree editor it does not really make sense to use the facade so we should discuss how to get away from it.
This ticket is about the details view of dnaSample, for the tree editor there is another dto.
Yes, sorry, my comment was a bit short. Of course, I was also talking about the details view, but the details view should depend on the editor you use. In the list editor you must use a facade based details view as the list editor represents multiple records simplified by the facade. In the tree editor 1 "row" handles only 1 DB record (+ maybe the according DerivationEvent). Therefore here using a facade does not make sense.
That's all I wanted to mention as I was not sure if you had followed the according discussion as the tree editor was developed by Patrick originally.
Updated by Katja Luther about 3 years ago
Andreas Müller wrote:
Katja Luther wrote:
Andreas Müller wrote:
By the way the derivedUnitFacace was originally meant to work with the Specimen list editor. For the tree editor it does not really make sense to use the facade so we should discuss how to get away from it.
This ticket is about the details view of dnaSample, for the tree editor there is another dto.
Yes, sorry, my comment was a bit short. Of course, I was also talking about the details view, but the details view should depend on the editor you use. In the list editor you must use a facade based details view as the list editor represents multiple records simplified by the facade. In the tree editor 1 "row" handles only 1 DB record (+ maybe the according DerivationEvent). Therefore here using a facade does not make sense.
That's all I wanted to mention as I was not sure if you had followed the according discussion as the tree editor was developed by Patrick originally.
Ah, now I got it, for all derived units initially the facade is created and if selection providing part is the tree editor a flag is set to use only the derived unit...
Updated by Katja Luther almost 3 years ago
- Status changed from New to Resolved
Now, the dna sample details view is handled analogue to the other derived units. So the determination can be shown, now.
But we should create a new ticket to think about refactoring the details view of specimen in list and tree editor.
Updated by Katja Luther almost 3 years ago
- % Done changed from 0 to 50
Applied in changeset taxeditor|21938b114f742509677d4d883f91f0883dc70683.
Updated by Katja Luther almost 3 years ago
- Assignee changed from Katja Luther to Andreas Müller
- % Done changed from 50 to 0
Updated by Andreas Müller almost 3 years ago
- Related to bug #8910: Correct handling of preference for determinations added
Updated by Andreas Müller almost 3 years ago
See #8910#note-5 for a possible regression
Updated by Andreas Müller almost 3 years ago
- % Done changed from 0 to 30
Katja Luther wrote:
But we should create a new ticket to think about refactoring the details view of specimen in list and tree editor.
Can you create such a ticket?
Updated by Andreas Müller almost 3 years ago
For reviewing: is there anything else that is new or changed in the DNA details view beside determinations?
Updated by Andreas Müller almost 3 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
Determinations work now can we still add "Accession number" below "Barcode" as this is the default id field for imported DNA data?
Updated by Andreas Müller almost 3 years ago
As also commented in #8910 the show determinations only for field units preference does not yet work for the new DNA Sample determinations.
Updated by Katja Luther almost 3 years ago
- Status changed from Feedback to Resolved
- % Done changed from 30 to 50
Applied in changeset taxeditor|c70ef402e57300c8b5f597afbb6a747ce78ccd3c.
Updated by Katja Luther almost 3 years ago
- Status changed from Resolved to Feedback
- % Done changed from 50 to 30
Andreas Müller wrote:
Determinations work now can we still add "Accession number" below "Barcode" as this is the default id field for imported DNA data?
this is fixed.
Updated by Katja Luther almost 3 years ago
Andreas Müller wrote:
As also commented in #8910 the show determinations only for field units preference does not yet work for the new DNA Sample determinations.
this is fixed, too.
Updated by Katja Luther almost 3 years ago
- Related to bug #8946: Refactor DerivedUnit Details view added
Updated by Katja Luther almost 3 years ago
Andreas Müller wrote:
Katja Luther wrote:
But we should create a new ticket to think about refactoring the details view of specimen in list and tree editor.
Can you create such a ticket?
this is #8946
Updated by Katja Luther almost 3 years ago
- Status changed from Feedback to Resolved
- Assignee changed from Katja Luther to Andreas Müller
please review
Updated by Andreas Müller almost 3 years ago
- Status changed from Resolved to Closed
- Assignee changed from Andreas Müller to Katja Luther
- % Done changed from 30 to 100
Works as expected