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

Migrate to styled components v6 #679

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Migrate to styled components v6 #679

merged 3 commits into from
Apr 11, 2024

Conversation

streamer45
Copy link
Collaborator

Summary

PR migrates styled components from v5 to v6 to support container queries (to properly address #675).

It was a bit more painful than ideal and some things just broke without warning (e.g. button hover states). Hopefully I caught them all but there totally could be something more I missed.

@streamer45 streamer45 added the 2: Dev Review Requires review by a core committer label Apr 5, 2024
@streamer45 streamer45 requested a review from cpoile April 5, 2024 16:09
@streamer45 streamer45 self-assigned this Apr 5, 2024
@streamer45
Copy link
Collaborator Author

@cpoile That e2e test is starting to fail a bit too often. Could you have a look when you get a chance? May be a simple timeout issue.

@streamer45 streamer45 added the Do Not Merge/Awaiting PR Awaiting another pull request before merging (e.g. server changes) label Apr 5, 2024
@cpoile
Copy link
Member

cpoile commented Apr 9, 2024

I've made a ticket for the flaky tests: https://mattermost.atlassian.net/browse/MM-57753

They don't seem to just be timeouts; they're failing in different ways each time. So I suspect something is not working reliably on the client during the tests.

* UX improvements to call card

* Proper wrapping

* Language update

* Fixes after icon update

* Update snapshots

* Update e2e test

* Implement narrow layout

* Update e2e snapshots

* Fix row gap

* Fix divider's border
@streamer45 streamer45 added 3: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer Do Not Merge/Awaiting PR Awaiting another pull request before merging (e.g. server changes) labels Apr 9, 2024
@streamer45 streamer45 added this to the v0.27.0 / MM 9.9 milestone Apr 9, 2024
@streamer45 streamer45 merged commit 24982a4 into main Apr 11, 2024
7 checks passed
@streamer45 streamer45 deleted the styled-components-v6 branch April 11, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants