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

Simplify activity list delegates by making them ItemDelegates, clean up #4786

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

claucambra
Copy link
Collaborator

Rather than use a MouseArea and some wacky workarounds to get the sizing we want, the ItemDelegate does exactly what we want to the proper way

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

@claucambra claucambra self-assigned this Jul 28, 2022
@sonarcloud
Copy link

sonarcloud bot commented Jul 28, 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

@codecov
Copy link

codecov bot commented Jul 28, 2022

Codecov Report

Merging #4786 (2028b7e) into master (a40202c) will increase coverage by 0.07%.
The diff coverage is n/a.

❗ Current head 2028b7e differs from pull request most recent head 85c5002. Consider uploading reports for the commit 85c5002 to get more accurate results

@@            Coverage Diff             @@
##           master    #4786      +/-   ##
==========================================
+ Coverage   57.15%   57.23%   +0.07%     
==========================================
  Files         138      138              
  Lines       17135    17146      +11     
==========================================
+ Hits         9794     9813      +19     
+ Misses       7341     7333       -8     
Impacted Files Coverage Δ
src/libsync/owncloudpropagator.h 73.28% <0.00%> (-1.16%) ⬇️
src/libsync/owncloudpropagator.cpp 86.00% <0.00%> (-0.03%) ⬇️
src/libsync/syncengine.cpp 87.22% <0.00%> (+0.02%) ⬆️
src/libsync/propagatedownload.cpp 65.18% <0.00%> (+0.14%) ⬆️
src/libsync/vfs/cfapi/cfapiwrapper.cpp 74.71% <0.00%> (+0.51%) ⬆️
src/libsync/propagateremotemkdir.cpp 65.24% <0.00%> (+0.70%) ⬆️
src/libsync/vfs/cfapi/vfs_cfapi.cpp 87.45% <0.00%> (+1.03%) ⬆️
src/libsync/propagateuploadng.cpp 83.89% <0.00%> (+1.49%) ⬆️

src/gui/tray/ActivityItem.qml Show resolved Hide resolved
@allexzander
Copy link
Contributor

@claucambra Nice, but, please check my comment.

@mgallien mgallien force-pushed the bugfix/activity-list-itemdelegate branch from 7976538 to 2028b7e Compare September 5, 2022 07:14
@sonarcloud
Copy link

sonarcloud bot commented Sep 5, 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 force-pushed the bugfix/activity-list-itemdelegate branch from 2028b7e to 283188d Compare September 7, 2022 16:19
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the bugfix/activity-list-itemdelegate branch from 283188d to 85c5002 Compare September 7, 2022 16:19
@claucambra claucambra merged commit 7ac1bdf into master Sep 7, 2022
@claucambra claucambra deleted the bugfix/activity-list-itemdelegate branch September 7, 2022 16:20
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-4786-85c5002d34f8f41847d9d166c6f3a7c86b8267c9-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.

4 participants