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

Update header buttons of RoomHeaderButtons #10495

Closed
wants to merge 7 commits into from
Closed

Update header buttons of RoomHeaderButtons #10495

wants to merge 7 commits into from

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Apr 2, 2023

Require #10628

This PR intends to update header buttons inside RoomHeaderButtons by factoring style rules on _RightPanel.pcss related to the buttons, applying the naming rule on the style guide (this is a follow-up to #10155; changing only a couple of selectors there could have made the style rules more complicated than they are)

To a reviewer: I would like to suggest adding X-Needs-Percy label and have Percy run to capture header buttons layout, while room-header.spec.ts should cover the change by this PR.

type: task

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 Apr 2, 2023
@luixxiul luixxiul changed the title Update header buttons Update header buttons of RoomHeaderButtons Apr 5, 2023
Conform the rules
- %s/mx_RoomHeader_button_highlight/mx_RoomHeader_button--highlight/g
- %s/mx_RoomHeader_button_unread/mx_RoomHeader_button--unread/g

Move declarations
- Move mx_RoomHeader_button_unreadIndicator and mx_RoomHeader_button_unreadIndicator
- Move mx_RoomHeader_button--*
- Move mx_RoomHeader_button--unread
- Move mx_RoomHeader_button--highlight and &:hover
…utton--*

- mx_RoomHeader_button--forget
- mx_RoomHeader_button--apps
- mx_RoomHeader_button--search
- mx_RoomHeader_button--invite
- mx_RoomHeader_button--call--voice
- mx_RoomHeader_button--call--video
- mx_RoomHeader_button--close
- mx_RoomHeader_button--minimise
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.

1 participant