Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add a snapshot for RoomHeaderButtons #10807

Merged
merged 1 commit into from
May 12, 2023
Merged

Add a snapshot for RoomHeaderButtons #10807

merged 1 commit into from
May 12, 2023

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented May 5, 2023

For #10495

This PR suggests to add a Jest snapshot of RoomHeaderButtons before factoring style rules of _RightPanel.pcss related to the buttons, making it easier to review #10495, which is expected to introduce a large change of the class names.

Ideally there should be a snapshot test which captures all of the buttons on RoomHeader including a call button for example, but since the main object of taking this snapshot is to save the pattern of the class names, to check whether they follow our naming policy, I think the snapshot of RoomHeaderButtons should be sufficient for now, and should be better than nothing.

type: task

Signed-off-by: Suguru Hirahara luixxiul@users.noreply.github.com

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 May 5, 2023
@luixxiul luixxiul marked this pull request as ready for review May 5, 2023 17:45
@luixxiul luixxiul requested a review from a team as a code owner May 5, 2023 17:45
@robintown robintown added this pull request to the merge queue May 12, 2023
Merged via the queue into matrix-org:develop with commit 70b67fc May 12, 2023
@luixxiul luixxiul deleted the HeaderButtons3 branch May 13, 2023 02:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

3 participants