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

Image viewer #338

Merged
merged 15 commits into from
Nov 28, 2022
Merged

Image viewer #338

merged 15 commits into from
Nov 28, 2022

Conversation

ismailgulek
Copy link
Contributor

@ismailgulek ismailgulek commented Nov 24, 2022

Fixes #244

Also adds isModallyPresented functionality into the video player screen.

@github-actions
Copy link

github-actions bot commented Nov 24, 2022

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consinder using them for better tracking.
⚠️ You seem to have made changes to views. Please consider adding screenshots.
⚠️

ElementX/Sources/Services/Timeline/RoomTimelineController.swift#L111 - Function should have complexity 10 or less: currently complexity equals 11 (cyclomatic_complexity)

Generated by 🚫 Danger Swift against a7f62f3

@ismailgulek ismailgulek requested review from stefanceriu, pixlwave and a team and removed request for stefanceriu, pixlwave and a team November 24, 2022 13:20
@codecov
Copy link

codecov bot commented Nov 24, 2022

Codecov Report

Base: 33.83% // Head: 13.65% // Decreases project coverage by -20.17% ⚠️

Coverage data is based on head (f0f4e88) compared to base (9589c68).
Patch coverage: 3.61% of modified lines in pull request are covered.

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

Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #338       +/-   ##
============================================
- Coverage    33.83%   13.65%   -20.18%     
============================================
  Files          234      232        -2     
  Lines        15548    15149      -399     
  Branches      9229     7424     -1805     
============================================
- Hits          5260     2068     -3192     
- Misses       10130    13025     +2895     
+ Partials       158       56      -102     
Flag Coverage Δ
uitests ?
unittests 13.65% <3.61%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...s/Screens/ImageViewer/ImageViewerCoordinator.swift 0.00% <0.00%> (ø)
...s/Screens/ImageViewer/View/ImageViewerScreen.swift 0.00% <0.00%> (ø)
...tX/Sources/Screens/Other/ActivityCoordinator.swift 0.00% <0.00%> (ø)
...ces/Screens/RoomScreen/RoomScreenCoordinator.swift 0.00% <0.00%> (-32.61%) ⬇️
.../Sources/Screens/RoomScreen/RoomScreenModels.swift 0.00% <ø> (-100.00%) ⬇️
...urces/Screens/RoomScreen/RoomScreenViewModel.swift 0.00% <0.00%> (-37.63%) ⬇️
...s/Screens/VideoPlayer/VideoPlayerCoordinator.swift 0.00% <0.00%> (ø)
...s/Screens/VideoPlayer/View/VideoPlayerScreen.swift 0.00% <0.00%> (ø)
...ces/Services/Timeline/RoomTimelineController.swift 0.00% <0.00%> (ø)
...mentX/Sources/UITests/UITestScreenIdentifier.swift 0.00% <ø> (-100.00%) ⬇️
... and 137 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.

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.

This looks great, albeit there are improvements we can make.

Another option would be to treat is similarly to files and use the QLPreviewController to display it, which would bring us a lot of features for free

Simulator.Screen.Recording.-.iPhone.14.-.2022-11-28.at.10.15.23.mp4

@ismailgulek ismailgulek enabled auto-merge (squash) November 28, 2022 11:04
@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 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ismailgulek ismailgulek merged commit 232430a into develop Nov 28, 2022
@ismailgulek ismailgulek deleted the ismail/244_image_viewer branch November 28, 2022 11:19
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.

Image message full screen viewer
2 participants