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

feat: avatar border and message padding improvements [WPB-5059] #2428

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

Garzas
Copy link
Contributor

@Garzas Garzas commented Nov 15, 2023

BugWPB-5059 [Android] Paddings between messages from the same sender are off


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

  • added border to avatar
  • improved paddings for messages
  • increased size of system message icons

Attachments (Optional)

Attachments like images, videos, etc. (drag and drop in the text box)

Before After
before_1 after_1
before_2 after_2

Copy link
Contributor

Test Results

680 tests   680 ✔️  9m 18s ⏱️
  98 suites      0 💤
  98 files        0

Results for commit cac1edd.

Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@@ -270,7 +270,7 @@ sealed class UIMessageContent {
sealed class SystemMessage(
@DrawableRes val iconResId: Int?,
@StringRes open val stringResId: Int,
val isSmallIcon: Boolean = true,
val isSmallIcon: Boolean = false,
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: so right now all system messages have "large icon", right? If so then we can remove this parameter completely 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is one exception for this and I will add some code for it

@AndroidBob
Copy link
Collaborator

Build 1839 succeeded.

The build produced the following APK's:

@pull-request-size pull-request-size bot added size/L and removed size/M labels Nov 15, 2023
@Garzas Garzas enabled auto-merge (squash) November 15, 2023 14:04
@Garzas Garzas merged commit bcb8870 into release/candidate Nov 15, 2023
@Garzas Garzas deleted the fix/message-padding-and-avatar-border branch November 15, 2023 14:21
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants