Skip to content

Add contrast to the text/icon of buttons if the server defined color is light.#4641

Merged
mgallien merged 1 commit into
masterfrom
bugfix/userheadercolor-contrast
Jun 21, 2022
Merged

Add contrast to the text/icon of buttons if the server defined color is light.#4641
mgallien merged 1 commit into
masterfrom
bugfix/userheadercolor-contrast

Conversation

@camilasan

Copy link
Copy Markdown
Member

Before:

before-primary-button
before

After:

after-primary-button
after

@camilasan

Copy link
Copy Markdown
Member Author

/backport to stable-3.5

@codecov

codecov Bot commented Jun 14, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4641 (dca696f) into master (19bb164) will not change coverage.
The diff coverage is n/a.

❗ Current head dca696f differs from pull request most recent head fc2408c. Consider uploading reports for the commit fc2408c to get more accurate results

@@           Coverage Diff           @@
##           master    #4641   +/-   ##
=======================================
  Coverage   56.43%   56.43%           
=======================================
  Files         138      138           
  Lines       17070    17070           
=======================================
  Hits         9634     9634           
  Misses       7436     7436           
Impacted Files Coverage Δ
src/libsync/propagateupload.cpp 76.41% <0.00%> (-0.66%) ⬇️
src/libsync/discovery.cpp 84.86% <0.00%> (+0.29%) ⬆️

@camilasan

Copy link
Copy Markdown
Member Author

/rebase

@nimishavijay nimishavijay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great!

Comment thread src/gui/tray/ActivityItemContent.qml Outdated

@jancborchardt jancborchardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Better! :) Btw a bit unrelated, but the "Reply" button does not need a title which shows on hover – it’s bad for accessibility, as the label is already "Reply", it doesn’t need to duplicate that.

@claucambra claucambra left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Small comment on my part and agree with @mgallien, but besides that it looks good :)

Comment thread src/gui/tray/ActivityItem.qml Outdated
@camilasan camilasan force-pushed the bugfix/userheadercolor-contrast branch 3 times, most recently from dca696f to c7030cd Compare June 16, 2022 21:29
@camilasan

Copy link
Copy Markdown
Member Author

/rebase

@camilasan camilasan force-pushed the bugfix/userheadercolor-contrast branch from c7030cd to e5d9522 Compare June 20, 2022 12:02
@camilasan

Copy link
Copy Markdown
Member Author

/rebase

…is light.

Signed-off-by: Camila <hello@camila.codes>
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@nextcloud-desktop-bot

Copy link
Copy Markdown

AppImage file: Nextcloud-PR-4641-fc2408cf415bb496bd7f286744e2e8ae8531a5bd-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@mgallien mgallien left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nice

@mgallien mgallien added this to the 3.6.0 milestone Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants