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

Properly adapt the UserStatusSelectorModel to QML, eliminate hacks, make code more declarative #4650

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Jun 17, 2022

Other changes include:

  • Replaced some QML-incompatible STL containers with Qt ones
  • Renamed some properties/methods to make them less confusing

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

@claucambra claucambra self-assigned this Jun 17, 2022
@claucambra claucambra force-pushed the bugfix/userstatusselectormodel-refactor branch 2 times, most recently from 540be62 to bafc6f3 Compare June 20, 2022 09:40
@codecov
Copy link

codecov bot commented Jun 20, 2022

Codecov Report

Merging #4650 (cf40e62) into master (b707aef) will increase coverage by 0.00%.
The diff coverage is 0.00%.

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

@@           Coverage Diff           @@
##           master    #4650   +/-   ##
=======================================
  Coverage   56.51%   56.51%           
=======================================
  Files         138      138           
  Lines       17068    17071    +3     
=======================================
+ Hits         9646     9648    +2     
- Misses       7422     7423    +1     
Impacted Files Coverage Δ
src/libsync/ocsuserstatusconnector.cpp 6.09% <0.00%> (ø)
src/libsync/userstatusconnector.h 33.33% <ø> (ø)
src/libsync/propagatedownload.cpp 64.00% <0.00%> (-0.15%) ⬇️
src/libsync/networkjobs.cpp 49.92% <0.00%> (-0.15%) ⬇️
src/libsync/discovery.cpp 84.56% <0.00%> (ø)
src/libsync/ocsprofileconnector.cpp 0.00% <0.00%> (ø)
src/libsync/account.cpp 36.99% <0.00%> (+0.38%) ⬆️
src/libsync/account.h 35.71% <0.00%> (+6.30%) ⬆️

@claucambra claucambra changed the title Properly adapt the UserStatusSelectormodel to QML, eliminate hacks, make code more declarative Properly adapt the UserStatusSelectorModel to QML, eliminate hacks, make code more declarative Jun 23, 2022
@claucambra claucambra force-pushed the bugfix/userstatusselectormodel-refactor branch 2 times, most recently from 6af26cf to cad2563 Compare June 24, 2022 17:50
@claucambra claucambra requested review from mgallien and camilasan June 24, 2022 17:51
@camilasan
Copy link
Member

/backport to stable-3.5

…e more declarative

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@claucambra claucambra force-pushed the bugfix/userstatusselectormodel-refactor branch from cad2563 to cf372b4 Compare July 12, 2022 19:10
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4650-cf372b43ac542268b528fe3149964815cdf669ad-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

SonarCloud Quality Gate failed.    Quality Gate failed

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

76.0% 76.0% Coverage
0.0% 0.0% Duplication

@claucambra claucambra merged commit 53aba48 into master Jul 12, 2022
@claucambra claucambra deleted the bugfix/userstatusselectormodel-refactor branch July 12, 2022 20:52
@backportbot-nextcloud
Copy link

The backport to stable-3.5 failed. Please do this backport manually.

@claucambra
Copy link
Collaborator Author

Best not to back port this, heavily dependent on the visual changes to the user status selector dialog

@mgallien mgallien added this to the 3.6.0 milestone Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants