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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Remove all background color classes #13755

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

andersonjeccel
Copy link
Contributor

Q A
Bug fix? (use the a.b branch) 馃敶
New feature/enhancement? (use the a.x branch) 馃敶
Deprecations? 馃煝
BC breaks? (use the c.x branch) 馃敶
Automated tests included? 馃敶
Related user documentation PR URL mautic/user-documentation#...
Related developer documentation PR URL mautic/developer-documentation-new#...
Issue(s) addressed Fixes #...

Description

This PR removes all background classes to make sure everything will inherit the <body> standard, increasing the compatibility with the dark theme, while simplifying our way of building the UI.

It means we can improve consistency by defining properties according to the elements instead of using separate classes. It also makes easier to maintain the project, since new CSS features can handle different scenarios automatically. More focus on features, less focus on building the interface.

Tested all main pages, they seem fine.


馃搵 Steps to test this PR:

  1. Open this PR on Gitpod or pull down for testing locally (see docs on testing PRs here)
  2. Open every page and check if everything is displaying fine

@andersonjeccel andersonjeccel self-assigned this May 15, 2024
@andersonjeccel andersonjeccel added T1 Low difficulty to fix (issue) or test (PR) user-interface Anything related to appearance, layout, and interactivity ready-to-test PR's that are ready to test code-review-needed PR's that require a code review before merging labels May 15, 2024
Copy link

@PatrickJenkner PatrickJenkner left a comment

Choose a reason for hiding this comment

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

I clicked through a couple of pages (not all), and everything I saw looked good 馃憤

@PatrickJenkner PatrickJenkner added pending-test-confirmation PR's that require one test before they can be merged and removed ready-to-test PR's that are ready to test labels May 24, 2024
Copy link
Sponsor Member

@escopecz escopecz left a comment

Choose a reason for hiding this comment

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

I like PRs removing unnecessary code! While browsing the UI I did not notice any change 馃憤

@escopecz escopecz added code-review-passed PRs which have passed code review user-testing-passed PRs which have been successfully tested by the required number of people. and removed code-review-needed PR's that require a code review before merging pending-test-confirmation PR's that require one test before they can be merged labels Jun 6, 2024
@escopecz escopecz added this to the 5.1.0 milestone Jun 6, 2024
@escopecz escopecz merged commit e1ff3d8 into mautic:5.x Jun 6, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-review-passed PRs which have passed code review T1 Low difficulty to fix (issue) or test (PR) user-interface Anything related to appearance, layout, and interactivity user-testing-passed PRs which have been successfully tested by the required number of people.
Projects
Status: 馃コ Done
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants