Skip to content

Conversation

@OlivellaO
Copy link
Collaborator

@OlivellaO OlivellaO commented Oct 24, 2025

Issue

What was done in this PR:

  1. Adding new View for large Documents preview files.
  2. Extract header part from WireCellsDocumentAttachmentPreview into a new reusable View.

Testing

Using a version that has Wire Cells enabled send a single document file on a chat.
When single document is shared, large document preview should be shown.

UI test can't be done, no way of mocking AsyncImage.


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.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2025

Test Results

386 tests   385 ✅  1m 14s ⏱️
 92 suites    1 💤
  3 files      0 ❌

Results for commit 99cbb32.

♻️ This comment has been updated with latest results.

@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch from f37c449 to 374b0b3 Compare October 24, 2025 10:41
Copy link
Contributor

@samwyndham samwyndham left a comment

Choose a reason for hiding this comment

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

Nice work! I will approve after @WilhelmOks comments are addressed

@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch 2 times, most recently from 868bd41 to dfe0f9b Compare October 27, 2025 14:34
@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch 2 times, most recently from da4e84a to 241bc1d Compare October 28, 2025 09:03
Copy link
Contributor

@samwyndham samwyndham left a comment

Choose a reason for hiding this comment

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

Nice work!

@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch from 241bc1d to 579ff4e Compare October 28, 2025 12:01
@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch 3 times, most recently from 014e5b2 to 9f9baa7 Compare November 3, 2025 23:29
@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch from 9f9baa7 to 99cbb32 Compare November 4, 2025 11:03
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.

4 participants