Skip to content

Uniformize cards (common components, common styles, etc.), after merge corrections

Follow up after the site !6 (merged), study !7 (merged) and germplasm !4 (merged) card are merged all together.

@guillaume.cornut @erik.kimmel @jeremy.destin @Melanie.Buy @raphael.flores @celia.michotey

TODO:

The following discussion from !6 (merged) should be addressed:

  • @raphael.flores started a discussion: (+1 comment) => Resolved with addition of card-section/card-row/card-table components

    Don't know the best practice:

    • let the code as is?
    • extract styles in the css file?

    Other opinion?

  • @raphael.flores started a discussion: (+1 comment)

    Is it a good practice to construct HTML code into an Angular component?

    Couldn't we have a dedicated IconText component with its own tests and styles in order to avoid such mix?

  • @raphael.flores started a discussion: (+3 comments)

    What if the given sites array is empty?

The following discussion from !5 (merged) should be addressed:

  • @raphael.flores started a discussion: (+2 comments)

    Another thing, the test here does not check the presence of the two tabs, shouldn't we check that the tabs are loaded correctly with the ontology widget also?

Edited by Célia Michotey
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information