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

fix: empty dependencies section [WPB-10929] #3425

Merged
merged 4 commits into from
Sep 10, 2024

Conversation

saleniuk
Copy link
Contributor

@saleniuk saleniuk commented Sep 9, 2024

BugWPB-10929 [Android] App does not show dependency versions (core-crypto, avs) on Bund version


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?

Issues

App does not show dependency versions (core-crypto, avs).

Causes (Optional)

The string with dependencies is remembered to keep it during recompositions, but without any key and the dependencies map is empty initially, so when the proper data appears, it takes the remembered empty value instead of creating new proper one with dependencies.

Solutions

Use dependencies as a key when remembering string so that when dependencies change, the string is rebuilt with current data.
Also, DependenciesItem texts stylings and paddings are unified with all other debug screen elements.

Testing

How to Test

Open "Debug Settings" and check "Dependencies" section.

Attachments (Optional)

Before After

PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@echoes-hq echoes-hq bot added the echoes: unplanned Any work item that isn’t part of the product or technical roadmap. label Sep 9, 2024
@saleniuk saleniuk requested review from a team, typfel, yamilmedina, alexandreferris, borichellow and MohamadJaara and removed request for a team September 9, 2024 15:43
Copy link
Contributor

github-actions bot commented Sep 9, 2024

Test Results

863 tests   863 ✅  28m 51s ⏱️
119 suites    0 💤
119 files      0 ❌

Results for commit 043f10b.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 9, 2024

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

Copy link

@MohamadJaara MohamadJaara enabled auto-merge (squash) September 10, 2024 15:31
@MohamadJaara MohamadJaara merged commit 4f9f365 into release/cycle-4.6 Sep 10, 2024
12 of 13 checks passed
@MohamadJaara MohamadJaara deleted the fix/empty-dependencies-section branch September 10, 2024 15:50
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
echoes: unplanned Any work item that isn’t part of the product or technical roadmap. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants