InseeFr / InseeFr/Lunatic-Model

Polymorpshism for table cells objects

Open
#276 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Currently table components `Table` and `RosterForLoop` use a dirty `BodyCell` object.

The reason `ComponentType` is not used instead is probably due to the fact that a table cell could be a simple static label, and `LabelType` has nothing to share with `ComponentType`.

Yet, Lunatic now uses a `Text` component, and it is recommended to use this one instead of a `LabelType` object in tables.

Then, it is now appropriate to refactor and remove the `BodyCell` object, to replace it by `ComponentType`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.