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

Deprecate mixin ThreadSummaryIcon #11023

Closed
wants to merge 8 commits into from
Closed

Deprecate mixin ThreadSummaryIcon #11023

wants to merge 8 commits into from

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Jun 1, 2023

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

@github-actions github-actions bot added Z-Community-PR Issue is solved by a community member's PR T-Task Refactoring, enabling or disabling functionality, other engineering tasks labels Jun 1, 2023
display: flex;
align-items: center;
column-gap: 8px;
margin-bottom: 8px;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please note $spacing variables have been deprecated: #10686

@luixxiul
Copy link
Contributor Author

luixxiul commented Jun 1, 2023

I'm struggling to increase the test coverage. Any pointers would be appreciated.

@weeman1337
Copy link
Contributor

I'm struggling to increase the test coverage. Any pointers would be appreciated.

Looking into the Sonar Cloud report adding a Jest test for EventTile could help here:
#11023 (comment)

Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

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

Thank you @luixxiul . I think this is a very valuable contribution. 👍 Replacing these mask-based and pseudo-element icons with a component will help with the compound migration.

Can you have a look at the Jest tests? If you need assistance there let me know.

@@ -694,6 +694,13 @@ legend {
color: $username-variant8-color;
}

.mx_Icon--thread {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not mandatory since the current icon stuff is temporary until Compound arrives™

You could add mx_Icon_18 and mx_Icon_secondary-content here.

@luixxiul

This comment was marked as off-topic.

@luixxiul
Copy link
Contributor Author

luixxiul commented Jun 19, 2023

Closing as I am not quite sure how I should proceed from here… @weeman1337 thanks anyway for the review.

@luixxiul luixxiul closed this Jun 19, 2023
@luixxiul luixxiul deleted the Icon-thread branch June 19, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants