Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Status transition from "next" after route change. #37

@jevgeniv

Description

@jevgeniv

Currently when a next message is added and route is changed, the new status becomes unseen.
Is there any design-driven reason for that? Could the state be changed to shown instead? We are showing the message in the new state anyway, aren't we?

My use-case is this. State A adds next message "ab" and triggers transition to state B. While at state B, some new messages are added with status shown. Now at some point (on user action) I want to clear all showed messages, including those coming from previous state (such as "abc"). But since "abc" is "unseen", removeShown() cannot be used for that.

I know I could call markShown() just before removeShown() for this case, but that looks more like a workaround to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions