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

Refactor user line #4797

Merged
merged 1 commit into from
Aug 10, 2022
Merged

Refactor user line #4797

merged 1 commit into from
Aug 10, 2022

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Aug 1, 2022

At the moment, the code in UserLine.qml is messy and has a lot of layout bugs.

This PR refactors UserLine so that it is sanely structured and properly considers layout restrictions and label widths. Labels should no longer elide randomly (or not at all).

Screenshot 2022-08-01 at 13 56 12

@claucambra claucambra self-assigned this Aug 1, 2022
@codecov
Copy link

codecov bot commented Aug 1, 2022

Codecov Report

Merging #4797 (387dfa9) into master (e92aa62) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4797      +/-   ##
==========================================
+ Coverage   57.21%   57.23%   +0.02%     
==========================================
  Files         138      138              
  Lines       17144    17144              
==========================================
+ Hits         9809     9813       +4     
+ Misses       7335     7331       -4     
Impacted Files Coverage Δ
src/libsync/propagatedownload.cpp 65.33% <0.00%> (+0.14%) ⬆️
src/libsync/discovery.cpp 84.86% <0.00%> (+0.29%) ⬆️

@claucambra claucambra force-pushed the work/user-line-refactor branch from 52866c9 to be8e2f5 Compare August 10, 2022 10:06
Signed-off-by: Claudio Cambra <[email protected]>
@claucambra claucambra force-pushed the work/user-line-refactor branch from be8e2f5 to 387dfa9 Compare August 10, 2022 10:10
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4797-387dfa96a1b8c47b6c9138a70121c659c4a0dc95-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

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

@camilasan
Copy link
Member

/rebase

@claucambra claucambra merged commit cce7ed7 into master Aug 10, 2022
@claucambra claucambra deleted the work/user-line-refactor branch August 10, 2022 11:31
@mgallien mgallien added this to the 3.6.0 milestone Sep 2, 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.

5 participants