Skip to content

WIP feature/TypingIndicator extracted and usable as seperate component#49

Open
mateusz-cichosz wants to merge 1 commit intomasterfrom
feature/typing-indicator-seperate-component
Open

WIP feature/TypingIndicator extracted and usable as seperate component#49
mateusz-cichosz wants to merge 1 commit intomasterfrom
feature/typing-indicator-seperate-component

Conversation

@mateusz-cichosz
Copy link
Contributor

No description provided.

@mateusz-cichosz mateusz-cichosz changed the title feature/TypingIndicator extracted and usable as seperate component WIP feature/TypingIndicator extracted and usable as seperate component Oct 17, 2022
typingIndicatorContent: @Composable ColumnScope.(List<TypingUi>) -> Unit = { typing ->
TypingIndicatorContent(typing)
},
typingIndicator: @Composable () -> Unit = { TypingIndicator() },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should still use ColumnScope to allow custom modifications based on root layout

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name should stay too. typingIndicator suggest that the instance of indicator will be passed.

}
) {
Column {
checkNotNull(LocalChannel.current)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

channel can be extracted as a parameter to allow passing channelId to component

@Chesteer89
Copy link
Contributor

I think that the feature is invalid. The criteria change the uniform way of transferring data to components. The topic was also not discussed with other teams to maintain similar behavior.

IMHO should be rejected.

@Chesteer89
Copy link
Contributor

Can we close this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants