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

vector-im/element-x-ios/issues/134 - Prevent home screen room last me… #138

Merged
merged 3 commits into from
Jul 22, 2022

Conversation

stefanceriu
Copy link
Member

…ssage attributed string from being computed on every update

@github-actions
Copy link

github-actions bot commented Jul 20, 2022

Warnings
⚠️ Please add a changelog.
⚠️ Some of the commits are missing ticket numbers. Please consinder using them for better tracking.
⚠️

UnitTests/Sources/AttributedStringBuilderTests.swift#L380 - where clauses are preferred over a single if inside a for. (for_where)

Generated by 🚫 Danger Swift against 96d592e

@github-actions
Copy link

github-actions bot commented Jul 20, 2022

Changes in 138 (2022-07-21)

✨ Features

  • Implement rageshake service. (#23)
  • Add filtering for rooms by name. (#26)
  • Settings screen minimal implementation. (#37)
  • DesignKit: Add initial implementation of DesignKit to the repo as a Swift package. (#43)
  • Room timeline: Add plain styler and add timeline option in settings screen. (#92)
  • Implement and use background tasks. (#99)

🙌 Improvements

  • Implement new ClientBuilder pattern for login (#120)
  • Flatten the room list by removing the encrypted groups. (#121)
  • Add AuthenticationService and missing UI tests on the flow. (#126)
  • Room: Use bubbles in the timeline. (#34)
  • Room: Add header view containing room avatar and encryption badge. (#35)
  • Add the splash, login and server selection screens from Element iOS along with a UserSessionStore. (#40)
  • DesignKit: Add DesignKit to the ElementX project, style the login screen with it and tint the whole app. (#43)
  • Settings: Auto dismiss bug report screen and show a success indicator when bug report completed. (#76)
  • Bug report: Add GH labels. (#77)
  • Danger: Add a check for png files and warn to use SVG and PDF files. (#87)
  • Add localizations to UI tests target and add some checks. (#101)

🐛 Bugfixes

  • ElementInfoPlist: Use custom template for Info.plist. (#71)

🧱 Build

  • Add swiftformat to the project and run it for the first time. (#129)
  • Use v0.0.1 of the DesignTokens package. (#78)
  • Update to v0.0.2 of the DesignTokens package. (#90)
  • Fix Danger's changelog detection. (#74)

Others

  • Add Screen as a suffix to all screens and tidy up the template. (#125)
  • Fix project urls in Towncrier configuration. (#96)

📱 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/8SJZUm

@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2022

Codecov Report

Merging #138 (f2fe4ad) into develop (6081a8f) will decrease coverage by 0.04%.
The diff coverage is 12.82%.

@@             Coverage Diff             @@
##           develop     #138      +/-   ##
===========================================
- Coverage    35.54%   35.50%   -0.05%     
===========================================
  Files          166      166              
  Lines        11478    11520      +42     
  Branches      5633     5656      +23     
===========================================
+ Hits          4080     4090      +10     
- Misses        7307     7339      +32     
  Partials        91       91              
Impacted Files Coverage Δ
.../Sources/Screens/HomeScreen/HomeScreenModels.swift 9.09% <ø> (ø)
...urces/Screens/HomeScreen/HomeScreenViewModel.swift 12.59% <0.00%> (-2.50%) ⬇️
ElementX/Sources/Services/Room/RoomProxy.swift 0.00% <ø> (ø)
...ources/Services/Room/RoomSummary/RoomSummary.swift 0.00% <0.00%> (ø)
...ces/Services/Timeline/RoomTimelineController.swift 0.00% <0.00%> (ø)
...meline/TimelineItems/RoomTimelineItemFactory.swift 0.00% <0.00%> (ø)
...es/Other/HTMLParsing/AttributedStringBuilder.swift 90.14% <100.00%> (+0.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6081a8f...f2fe4ad. Read the comment docs.

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

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

LGTM, a few minor comments inline.

@sonarcloud
Copy link

sonarcloud bot commented Jul 21, 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
0.0% 0.0% Duplication

@stefanceriu stefanceriu merged commit e1eee94 into develop Jul 22, 2022
@stefanceriu stefanceriu deleted the stefan/homeScreenPerformance branch July 22, 2022 07:25
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.

3 participants