Skip to content

Make activity action button an actual button, clean up contents#4784

Merged
claucambra merged 1 commit into
masterfrom
bugfix/activity-action-button
Sep 28, 2022
Merged

Make activity action button an actual button, clean up contents#4784
claucambra merged 1 commit into
masterfrom
bugfix/activity-action-button

Conversation

@claucambra

Copy link
Copy Markdown
Collaborator

This should make the behaviour of this component much more predictable

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

@claucambra claucambra self-assigned this Jul 27, 2022
@codecov

codecov Bot commented Jul 27, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4784 (db861e1) into master (a4dde43) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4784      +/-   ##
==========================================
- Coverage   57.12%   57.10%   -0.02%     
==========================================
  Files         138      138              
  Lines       17230    17230              
==========================================
- Hits         9842     9839       -3     
- Misses       7388     7391       +3     
Impacted Files Coverage Δ
src/libsync/discovery.cpp 83.95% <0.00%> (-0.30%) ⬇️
src/libsync/propagatedownload.cpp 64.61% <0.00%> (ø)

Comment thread src/gui/tray/NCButtonContents.qml Outdated
Comment thread src/gui/tray/NCButtonContents.qml
Comment thread src/gui/tray/NCButtonBackground.qml
Comment thread src/gui/tray/TextButtonContents.qml
Comment thread src/gui/tray/TextButtonContents.qml Outdated
@claucambra claucambra force-pushed the bugfix/activity-action-button branch from 17cbedb to 213635d Compare August 3, 2022 10:10
@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2022

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

@allexzander

Copy link
Copy Markdown
Contributor

@claucambra Buttons in this new version look kinda off. They look huge. Maybe you need to ask @jancborchardt or @nimishavijay for review.

Here is how they look for me with these changes:
image

And here is the old look:
image

@claucambra

Copy link
Copy Markdown
Collaborator Author

@claucambra Buttons in this new version look kinda off. They look huge. Maybe you need to ask @jancborchardt or @nimishavijay for review.

Here is how they look for me with these changes: image

And here is the old look: image

Yes, the buttons have changed height but this is actually their intended behaviour. Some change to CustomButton overrode the height set to the ActivityActionButton, which is in QML set to be this big button size

The underline of the text buttons looks weird, though, so I will take a look

@claucambra claucambra requested a review from mgallien August 26, 2022 18:23
@claucambra claucambra force-pushed the bugfix/activity-action-button branch from 213635d to d924f6c Compare September 28, 2022 11:06
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the bugfix/activity-action-button branch from d924f6c to db861e1 Compare September 28, 2022 11:07
@nextcloud-desktop-bot

Copy link
Copy Markdown

AppImage file: nextcloud-PR-4784-db861e1ade541a4a1bd979538919fff1dd517b55-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.

@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

@claucambra claucambra merged commit 00e118b into master Sep 28, 2022
@claucambra claucambra deleted the bugfix/activity-action-button branch September 28, 2022 11:43
@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.

4 participants