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

feat(fuselage): Add message status indicator text component #757

Merged
merged 8 commits into from
Jul 11, 2022

Conversation

filipemarins
Copy link
Contributor

Proposed changes (including videos or screenshots)

Issue(s)

Further comments

Add a component to show the text status in a message.

Screen Shot 2022-06-28 at 11 43 57

This component will be used to show the translation provider on rocketchat app

Screen Shot 2022-06-28 at 12 34 49

@dougfabris dougfabris changed the title feat: Add message status indicator text component feat(fuselage): Add message status indicator text component Jul 1, 2022
Copy link
Collaborator

@tassoevan tassoevan left a comment

Choose a reason for hiding this comment

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

I suggest to drop the spreading of resting ...props because it feels like we're falling into two code smells, one being the classic Long Parameter List, and the other one is more related to TypeScript: as we are not restricting props shape on MessageStatusIndicatorTextProps, it can be anything, even properties not supported by the underlying <div /> element.

I know it's something we've done regularly in this codebase, but we're discouraging the practice now.

@tassoevan tassoevan merged commit 9dcd759 into develop Jul 11, 2022
@tassoevan tassoevan deleted the status-text branch July 11, 2022 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants