BU-ISCIII / iskylims

is an open-source LIMS (laboratory Information Management System) for Next Generation Sequencing sample management, statistics and reports, and bioinformatics analysis service management.
https://github.com/BU-ISCIII/iSkyLIMS/wiki
GNU General Public License v3.0
72 stars 34 forks source link

Use serializers for sending information to display templates #294

Closed luissian closed 1 month ago

luissian commented 2 months ago

Description of feature

Use serializers for sending information to display to templates. Now custom and heterogeneous data structures are created and sent to templates so each method in view is different. We can use serializers that creates pre-configured jsons which are always the same making it easier to mantain with a huge reduce in code. Example in display_service in drylab.

luissian commented 1 month ago

Closing this generic issue. If for new display or in case of refactoring some of code it will be considered to apply this idea, or not