- Issue created by @just_like_good_vibes
- 🇫🇷France pdureau ParisUpstream documentation: https://www.systeme-de-design.gouv.fr/version-courante/fr/composants/tab... We don't need a "Table row" component because there is no specific markup there: <div class="fr-table"> <div class="fr-table__wrapper"> <div class="fr-table__container"> <div class="fr-table__content"> <table> <caption> Titre du tableau (caption) </caption> <thead> <tr> <th scope="col"> th0 </th> <th scope="col"> th1 </th> <th scope="col"> th2 </th> <th scope="col"> th3 </th> </tr> </thead> <tbody> <tr> <td> Lorem [...] elit ut. </td> <td> Lorem [...] elit ut. </td> <td> Lorem [...] elit ut. </td> <td> Lorem [...] elit ut. </td> </tr> ... </tbody> </table> </div> </div> </div> </div> So, the table's <code>bodyslot can expect a list of a list of renderables. We will need to check the 2 levels structure in the Twig template. If this make using this component in Views rows more difficult, let's address this in UI Patterns module. 
- 🇫🇷France just_like_good_vibes PARISwe are maybe not ready yet, but we are taking a specific direction, that would be good to validate the direction :) 
 for example for props being array of attributes
- 🇫🇷France pdureau Parislet's not forget to use sdc_devel< And vincentlanglet/twig-cs-fixerfor linting the Twig. Andpretttierfor linting the YAML.
- 🇫🇷France pdureau ParisFinally, we have 2 components: table&cellbecause of this kind of markup:fr-cell--top : Alignement vertical en haut. 
 fr-cell--bottom : Alignement vertical en bas.
 ...And maybe other fr-cellmodifiers, lets check: https://www.systeme-de-design.gouv.fr/version-courante/fr/composants/tab...By the way, can we also add the block class ( fr-cell)? Missing from examples but not BEM compliant.There is also fr-col--xs,fr-col--sm,fr-col--mdorfr-col--lgin 1.14 (not documented but found in the preview). But that doesn't necessary mean it will be an additional component, because it follows HTML logic with colgroup & col, so a mechanism insidetablecomponent.It would be great to test those 2 components with Views, to check if UI Patterns 2 is already able to manage tables without specific row component. 
- 🇫🇷France gozI work on top of Mikael work on his MR. I add the cell component. Remove row and cell attributes which are not defined by dsfr. 
 Cell attributes are now directly managed by cell component.Provide 3 stories : - Preview
- Fixed headers (but with dsfr, only column can be fixed)
- Alignments (vertical and horizontal)
 
- 🇫🇷France gozBy default with component integration in views, i cannot produce a working view with table/cell component. Some errors occures 
- 🇫🇷France gozMay be i'm wrong, here is how i configure my view : Format with table component, display cell component 
 Format settings : 
 Display settings, i cannot configure to display the rendered field without defining a specific field 
 In any case, submitting generate an error InvalidArgumentException: "component_id" is an invalid render array key. Value should be an array but got a string. in Drupal\Core\Render\Element::children() (line 97 of core/lib/Drupal/Core/Render/Element.php). Drupal\Core\Render\Renderer->doRender() (Line: 222) Drupal\Core\Render\Renderer->render() (Line: 491) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 194)
- 🇫🇷France gozI have know no errors on display, but can only have one cell/field in a row (here title) 
- 🇫🇷France pdureau ParisNow we have a pretty OK compoennt structure, let's check if it is usable by UI Patterns before merging. Proposals: - At the ViewRow level, add a new ViewRow plugin which is removing the view_fieldstheme wrapper
- At the ViewRow level, alter  ViewRow::render()outputs to removeview_fieldstheme wrapper
- At the ViewStyle level, remove the view_fieldstheme wrapper fromViewRowsSource::getPropValue()
 
- At the ViewRow level, add a new ViewRow plugin which is removing the 
- 🇫🇷France just_like_good_vibes PARISHello, 
 we are still discussing again and again ( ;) ) the model for this component.- do we introduce a Row component or not ? We vote for yes, because it will be more obvious for users, 
 and easier to use in views.But, we notice this is not technically required ! let's add table_row and finish this work :) 
- 🇫🇷France just_like_good_vibes PARISlet's try to write also the presenter templates for tables in views, like it is done in ui_suite_bootstrap.