Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the 'read' and 'acknowledgment' status of parent card depends of child card 'read' and 'acknowledgment' status #5461

Closed
freddidierRTE opened this issue Nov 24, 2023 · 0 comments · Fixed by #5651
Assignees
Labels
LetsCo Issues needed for letscoordinate project

Comments

@freddidierRTE
Copy link
Contributor

freddidierRTE commented Nov 24, 2023

The objective is to introduce a feature enabling a parent card to have the card not read and not acknowledge if a child card is published . To implement this functionality, a new field will be added to the card structure.

The proposed solution involves incorporating an 'action' field within the card, structured as an array of predefined actions. The initial predefined action to be introduced is

'PROPAGATE_READ_ACK_TO_PARENT_CARD"

--> to be decided

Anticipating future needs, additional predefined actions may be introduced, such as 'PROPAGATE_READ_ACK_TO_PARENT_CARD_FOR_PUBLISHER' and 'KEEP_READ_AND_ACK_OF_PREVIOUS_CARD_VERSION.'

Moreover, this new 'action' field could potentially replace the existing 'keepChildCards' field, transforming it into an action labeled 'KEEP_CHILD_CARDS_FROM_PREVIOUS_CARD'

The use of this new field is to be done on the front code :

  • when a card is read by user , it should set read in the back to the card and child cards with value PARENT_CARD_READ_ACK_IF_CARD_READ_ACK
  • when a card is ack by user , it should ack the card in the back and the child cards with value PARENT_CARD_READ_ACK_IF_CARD_READ_ACK

On the front side :

  • a card is consider ack if the card is ack and all the child card with PARENT_CARD_READ_ACK_IF_CARD_READ_ACK are ack
  • a card is consider read if the card is read and all the child card with PARENT_CARD_READ_ACK_IF_CARD_READ_ACK are read

Impact on lightCard and Card Components

@freddidierRTE freddidierRTE added LetsCo Issues needed for letscoordinate project Draft Issue not totally defined labels Nov 24, 2023
@freddidierRTE freddidierRTE changed the title Add the possibility to consider parent card is udpated when child card send Enable a child card to reset the 'read' and 'acknowledgment' status of its parent card Nov 24, 2023
@freddidierRTE freddidierRTE changed the title Enable a child card to reset the 'read' and 'acknowledgment' status of its parent card Enable the 'read' and 'acknowledgment' status of parent card depends of child card 'read' and 'acknowledgment' status Dec 18, 2023
@freddidierRTE freddidierRTE removed the Draft Issue not totally defined label Dec 18, 2023
quinarygio added a commit that referenced this issue Dec 20, 2023
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 8, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 9, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 9, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 10, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 11, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 11, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 11, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 12, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 12, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue Jan 15, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
freddidierRTE pushed a commit that referenced this issue Jan 15, 2024
…ction (#5461)

Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LetsCo Issues needed for letscoordinate project
Projects
None yet
2 participants