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

Extended device info (PSG-772) #6766

Merged
merged 17 commits into from
Sep 29, 2022
Merged

Conversation

ismailgulek
Copy link
Contributor

@ismailgulek ismailgulek commented Sep 27, 2022

Requires matrix-org/matrix-ios-sdk#1583 and matrix-org/matrix-ios-sdk#1582

Adds application section and some more items into the device section in the session details screen:

Simulator Screen Shot - iPhone 13 Pro Max - 2022-09-29 at 13 52 15

@ismailgulek ismailgulek changed the title Extended device info Extended device info (PSG-772) Sep 27, 2022
@github-actions
Copy link

github-actions bot commented Sep 27, 2022

📱 Scan the QR code below to install the build for this PR.
🔒 This build is for internal testing purpose. Only devices listed in the ad-hoc provisioning profile can install Element Alpha.

QR code

If you can't scan the QR code you can install the build via this link: https://i.diawi.com/4sTZG5

# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	RiotSwiftUI/Modules/UserSessions/Common/UserAgentParser.swift
#	RiotSwiftUI/Modules/UserSessions/Common/UserSessionInfo.swift
#	RiotSwiftUI/Modules/UserSessions/Common/View/UserSessionCardView.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionDetails/MockUserSessionDetailsScreenState.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionDetails/Test/Unit/UserSessionDetailsViewModelTests.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionDetails/UserSessionDetailsViewModel.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Coordinator/UserSessionsOverviewCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/MatrixSDK/UserSessionsOverviewService.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/Mock/MockUserSessionsOverviewService.swift
@codecov
Copy link

codecov bot commented Sep 28, 2022

Codecov Report

Base: 10.11% // Head: 10.24% // Increases project coverage by +0.12% 🎉

Coverage data is based on head (bc2ce2e) compared to base (9cbf5dc).
Patch coverage: 78.33% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6766      +/-   ##
===========================================
+ Coverage    10.11%   10.24%   +0.12%     
===========================================
  Files         1498     1500       +2     
  Lines       150968   151168     +200     
  Branches     60957    61031      +74     
===========================================
+ Hits         15272    15485     +213     
+ Misses      135143   135121      -22     
- Partials       553      562       +9     
Impacted Files Coverage Δ
.../Modules/UserSessions/Common/UserSessionInfo.swift 0.00% <0.00%> (ø)
...UserSessions/Common/View/UserSessionCardView.swift 65.15% <0.00%> (-3.11%) ⬇️
.../Coordinator/UserSessionsOverviewCoordinator.swift 0.00% <ø> (ø)
...ervice/MatrixSDK/UserSessionsOverviewService.swift 0.00% <0.00%> (ø)
...Service/Mock/MockUserSessionsOverviewService.swift 50.00% <ø> (-36.96%) ⬇️
...UserSessionOverview/View/UserSessionOverview.swift 57.69% <66.66%> (ø)
...erSessionDetails/UserSessionDetailsViewModel.swift 85.54% <80.00%> (-14.46%) ⬇️
.../Modules/UserSessions/Common/UserAgentParser.swift 95.00% <95.00%> (ø)
...SwiftUI/Modules/Common/Extensions/Collection.swift 100.00% <100.00%> (ø)
...ionDetails/MockUserSessionDetailsScreenState.swift 100.00% <100.00%> (ø)
... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
#	RiotSwiftUI/Modules/UserSessions/Common/UserSessionInfo.swift
#	RiotSwiftUI/Modules/UserSessions/Common/View/UserSessionCardView.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionDetails/MockUserSessionDetailsScreenState.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionDetails/Test/Unit/UserSessionDetailsViewModelTests.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionDetails/UserSessionDetailsViewModel.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/MockUserSessionOverviewScreenState.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/Test/Unit/UserSessionOverviewViewModelTests.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/MatrixSDK/UserSessionsOverviewService.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionsOverview/Service/Mock/MockUserSessionsOverviewService.swift
@ismailgulek ismailgulek marked this pull request as ready for review September 29, 2022 10:51
@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

Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

Quite a few potentially brittle things in here but they're really well tested so I guess that's okay. Looks good to me 👍

@ismailgulek ismailgulek merged commit 2f689f4 into develop Sep 29, 2022
@ismailgulek ismailgulek deleted the ismail/extended_device_info branch September 29, 2022 12:07
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.

2 participants