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

Fixing constraint issues by changing BottomContainer to be a standard UIStackView instead of custom one #1545

Merged
merged 3 commits into from Oct 15, 2021

Conversation

adamrushy
Copy link
Contributor

@adamrushy adamrushy commented Oct 13, 2021

🎯 Goal

We are currently getting a broken constraint on the ComposerView on a simple integration. This issue exists in our customer ContainerStackView whereby we have built our custom StackView implementation.

🛠 Implementation

We have made the BottomContainer a standard UIStackView this is a small change because the API matches our custom version and will still allow integrations to override this stack view but more stable as it's provided and supported by the OS.

🧪 Testing

I have tested this on our DemoApp but I am also going to reach out to various customers to make sure this still works as expected. But I have tested across multiples devices (iPhone/iPad) and also Portrait/Landscape.

☑️ Checklist

  • I have signed the Stream CLA (required)
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Affected documentation updated (docusaurus, tutorial, CMS (task created)

@codecov
Copy link

codecov bot commented Oct 13, 2021

Codecov Report

Merging #1545 (99f6c22) into main (6416f07) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1545   +/-   ##
=======================================
  Coverage   87.82%   87.82%           
=======================================
  Files         232      232           
  Lines       10971    10971           
=======================================
  Hits         9635     9635           
  Misses       1336     1336           
Flag Coverage Δ
llc-tests 87.82% <ø> (ø)

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


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6416f07...99f6c22. Read the comment docs.

nuno-vieira
nuno-vieira previously approved these changes Oct 15, 2021
Copy link
Member

@nuno-vieira nuno-vieira left a comment

Choose a reason for hiding this comment

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

LGTM!

@adamrushy adamrushy marked this pull request as ready for review October 15, 2021 12:43
@tbarbugli tbarbugli merged commit 81be558 into main Oct 15, 2021
@tbarbugli tbarbugli deleted the tech/constraint-fix branch October 15, 2021 21:28
nuno-vieira pushed a commit that referenced this pull request Oct 21, 2021
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.

None yet

3 participants