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

Improve the error box QML component #4976

Merged
merged 1 commit into from
Sep 29, 2022
Merged

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Sep 26, 2022

Makes it less strident and easier to read

Screenshot 2022-09-26 at 13 04 42

versus before:

Code also includes a close button we will be using for #4929 to dismiss the error box

Closes #4946

Signed-off-by: Claudio Cambra claudio.cambra@gmail.com

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Much better. Best regards, my eyes 👀

@claucambra claucambra self-assigned this Sep 26, 2022
Copy link
Collaborator

@mgallien mgallien left a comment

Choose a reason for hiding this comment

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

is there a way we could get the proper error color from the server theming API ?

@claucambra
Copy link
Collaborator Author

is there a way we could get the proper error color from the server theming API ?

Possibly, I will investigate the capabilities API

I will merge this and if we can pull the error colour from the capabilities then I will open a new PR using that

@claucambra claucambra force-pushed the feature/nicer-errorbox branch from d381d6c to 7cb5b82 Compare September 28, 2022 15:22
@codecov
Copy link

codecov bot commented Sep 28, 2022

Codecov Report

Merging #4976 (9781e89) into master (0d8a70e) will increase coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4976      +/-   ##
==========================================
+ Coverage   57.11%   57.13%   +0.01%     
==========================================
  Files         138      138              
  Lines       17230    17221       -9     
==========================================
- Hits         9841     9839       -2     
+ Misses       7389     7382       -7     
Impacted Files Coverage Δ
src/libsync/theme.cpp 12.90% <ø> (+0.23%) ⬆️
src/libsync/theme.h 33.33% <ø> (ø)
src/common/utility_win.cpp 42.98% <0.00%> (-0.46%) ⬇️
src/libsync/propagatedownload.cpp 64.61% <0.00%> (-0.15%) ⬇️

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the feature/nicer-errorbox branch from 7cb5b82 to 9781e89 Compare September 29, 2022 10:14
@sonarcloud
Copy link

sonarcloud bot commented Sep 29, 2022

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

@claucambra claucambra merged commit 5357374 into master Sep 29, 2022
@claucambra claucambra deleted the feature/nicer-errorbox branch September 29, 2022 10:48
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-4976-9781e896a16089d8eb98365914f48b65631cefb9-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 added this to the 3.7.0 milestone Oct 3, 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.

Make error box component less strident
5 participants