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

Allow different states for the last message. #514

Merged
merged 1 commit into from
Feb 2, 2023

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Feb 1, 2023

This PR makes a small change to the last message in the room list. It now has 3 states defined in an enum and we choose whether to display the message, a loading placeholder, or a placeholder string when the message is unknown.

Simulator.Screen.Recording.-.iPhone.14.-.2023-02-01.at.16.33.44.mp4

@github-actions
Copy link

github-actions bot commented Feb 1, 2023

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

Generated by 🚫 Danger Swift against bf0e6fe

@pixlwave pixlwave force-pushed the doug/last-message-loading branch from df44aa2 to 87b8144 Compare February 1, 2023 16:42
@pixlwave pixlwave force-pushed the doug/last-message-loading branch from 87b8144 to bf0e6fe Compare February 1, 2023 16:48
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 1, 2023

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

@codecov
Copy link

codecov bot commented Feb 1, 2023

Codecov Report

Base: 41.01% // Head: 21.11% // Decreases project coverage by -19.90% ⚠️

Coverage data is based on head (bf0e6fe) compared to base (a9c24ab).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #514       +/-   ##
============================================
- Coverage    41.01%   21.11%   -19.90%     
============================================
  Files          289      243       -46     
  Lines        16577    13132     -3445     
  Branches     10984     5661     -5323     
============================================
- Hits          6799     2773     -4026     
- Misses        9467    10286      +819     
+ Partials       311       73      -238     
Flag Coverage Δ
integrationtests ?
uitests ?
unittests 21.11% <0.00%> (-0.03%) ⬇️

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

Impacted Files Coverage Δ
.../Sources/Screens/HomeScreen/HomeScreenModels.swift 6.66% <0.00%> (-62.19%) ⬇️
...urces/Screens/HomeScreen/HomeScreenViewModel.swift 55.88% <0.00%> (-13.46%) ⬇️
...s/Screens/HomeScreen/View/HomeScreenRoomCell.swift 0.00% <0.00%> (-59.59%) ⬇️
DesignKit/Sources/Fonts/ElementFonts.swift 0.00% <0.00%> (-100.00%) ⬇️
DesignKit/Sources/Fonts/ElementBaseFonts.swift 0.00% <0.00%> (-100.00%) ⬇️
...X/Sources/Screens/Authentication/UIConstants.swift 0.00% <0.00%> (-100.00%) ⬇️
...urces/Other/SwiftUI/Views/ElementToggleStyle.swift 0.00% <0.00%> (-100.00%) ⬇️
...urces/Other/SwiftUI/Views/RoundedCornerShape.swift 0.00% <0.00%> (-100.00%) ⬇️
...es/Screens/OnboardingScreen/OnboardingModels.swift 0.00% <0.00%> (-100.00%) ⬇️
...s/Other/SwiftUI/Layout/ReadableFrameModifier.swift 0.00% <0.00%> (-100.00%) ⬇️
... and 189 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.

@pixlwave pixlwave requested a review from stefanceriu February 2, 2023 09:24
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.

lgtm 👍

@pixlwave pixlwave merged commit 93997ef into develop Feb 2, 2023
@pixlwave pixlwave deleted the doug/last-message-loading branch February 2, 2023 11:05
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