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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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