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

Refactor TimelineItemSendInfo out of the styler. #3100

Merged
merged 4 commits into from
Jul 30, 2024
Merged

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Jul 29, 2024

Small refactoring in preparation to add encryption shields to messages in a similar way to send failures.

Last commit extends this with some (unexposed) encryption shield states.
test_timelineItemSendInfoLabel-iPhone-15-pseudo 1
(Technically they're on the wrong side, but will discuss with @amshakal tomorrow as it would be nice to have consistency for the status icon in this view)

@pixlwave pixlwave requested a review from a team as a code owner July 29, 2024 16:20
@pixlwave pixlwave requested review from stefanceriu and removed request for a team July 29, 2024 16:20
Copy link

github-actions bot commented Jul 29, 2024

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 7907171

@pixlwave pixlwave added the pr-misc for other changes label Jul 29, 2024
Copy link

codecov bot commented Jul 29, 2024

Codecov Report

Attention: Patch coverage is 97.77778% with 3 lines in your changes missing coverage. Please review.

Project coverage is 77.85%. Comparing base (0fab3a8) to head (9450429).

Files Patch % Lines
...TimelineItems/EventBasedTimelineItemProtocol.swift 50.00% 2 Missing ⚠️
...een/View/Style/TimelineItemBubbledStylerView.swift 90.90% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3100      +/-   ##
===========================================
+ Coverage    77.83%   77.85%   +0.01%     
===========================================
  Files          704      705       +1     
  Lines        54534    54584      +50     
===========================================
+ Hits         42449    42498      +49     
- Misses       12085    12086       +1     
Flag Coverage Δ
unittests 68.51% <97.77%> (+0.06%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Very very nice!

My only comment is that I would've named that new file TimelineItemSendInfoLabel instead of TimelineItemSendInfoModifier as the label is the important thing in there.

Copy link

sonarcloud bot commented Jul 30, 2024

@pixlwave pixlwave merged commit a2ea9c4 into develop Jul 30, 2024
6 checks passed
@pixlwave pixlwave deleted the doug/send-status branch July 30, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-misc for other changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants