Skip to content

feat: Improve collapse - WPB-17259 #2961

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

Merged
merged 23 commits into from
May 14, 2025

Conversation

dmitrysimkin
Copy link
Contributor

@dmitrysimkin dmitrysimkin commented May 2, 2025

StoryWPB-17259 [iOS] Improve collapse based on user feedback

Issue

  • Text now should be collapsed if >3 lines
  • Keep asset messages uncollapsed between chat opens if user uncollapsed them and leaved as this
  • Added support to collapse links. There are 2 times of links we show: link attachments and link previews.

Testing

Describe how to test.

Optional: attachments like images, videos, etc.


Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • Make sure you use the API for UI elements that support large fonts.
  • All colors are taken from WireDesign.ColorTheme or constructed using WireDesign.BaseColorPalette.
  • New UI elements have Accessibility strings for VoiceOver.

# Conflicts:
#	wire-ios/Wire-iOS Tests/ConversationMessageCell/ConversationMessageSectionControllerTests.swift
#	wire-ios/Wire-iOS Tests/ConversationMessageCell/ConversationMessageSnapshotTestCase.swift
#	wire-ios/Wire-iOS Tests/ConversationMessageCell/MessageActionsViewControllerTests.swift
@netbe netbe changed the title Feature: Improve collapse - WPB-17259 feat: Improve collapse - WPB-17259 May 2, 2025
@dmitrysimkin dmitrysimkin requested review from a team, caldrian, jullianm and KaterinaWire and removed request for a team May 6, 2025 11:36
@dmitrysimkin dmitrysimkin marked this pull request as ready for review May 6, 2025 11:37
Copy link
Contributor

github-actions bot commented May 6, 2025

Test Results

4 458 tests   4 430 ✅  7m 59s ⏱️
  607 suites     28 💤
    5 files        0 ❌

Results for commit 91dee48.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

datadog-wireapp bot commented May 6, 2025

Datadog Report

Branch report: feature/imrove-collapse-WPB-17259
Commit report: 4c1a599
Test service: wire-ios-mono

✅ 0 Failed, 4430 Passed, 28 Skipped, 4m 44.11s Total Time

@dmitrysimkin dmitrysimkin changed the base branch from develop to release/cycle-3.124 May 7, 2025 15:57
dmitrysimkin and others added 6 commits May 9, 2025 10:19
…7259

# Conflicts:
#	wire-ios/Wire-iOS Tests/ConversationMessageCell/ConversationMessageSectionControllerTests.swift
#	wire-ios/Wire-iOS/Sources/UserInterface/Conversation/Content/Cells/ConfigurationMessageCell/Content/Text/ConversationCollapsedMessageCell.swift
#	wire-ios/Wire-iOS/Sources/UserInterface/Conversation/Content/Cells/ConfigurationMessageCell/ConversationMessageSectionController.swift
#	wire-ios/Wire-iOS/Sources/UserInterface/Conversation/Content/Cells/Utility/NSAttributedString+MessageFormatting.swift
@netbe
Copy link
Collaborator

netbe commented May 12, 2025

@dmitrysimkin can you target develop as this is for 3.125 please?

@dmitrysimkin dmitrysimkin changed the base branch from release/cycle-3.124 to develop May 12, 2025 16:11
@dmitrysimkin dmitrysimkin changed the base branch from develop to release/cycle-3.124 May 12, 2025 16:12
@dmitrysimkin dmitrysimkin changed the base branch from release/cycle-3.124 to develop May 12, 2025 16:30
@dmitrysimkin dmitrysimkin enabled auto-merge May 13, 2025 11:19
@dmitrysimkin dmitrysimkin added this pull request to the merge queue May 14, 2025
Merged via the queue into develop with commit aafcc05 May 14, 2025
13 checks passed
@dmitrysimkin dmitrysimkin deleted the feature/imrove-collapse-WPB-17259 branch May 14, 2025 09:04
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.

5 participants