Skip to content

MOBILE-413:Measure the content the block shows, whatever the host does - #760

Open
sergeysozinov wants to merge 2 commits into
mission/storiesfrom
feature/MOBILE-413
Open

MOBILE-413:Measure the content the block shows, whatever the host does#760
sergeysozinov wants to merge 2 commits into
mission/storiesfrom
feature/MOBILE-413

Conversation

@sergeysozinov

Copy link
Copy Markdown
Collaborator

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Dynamic padding changes can leave content using stale bounds when the host suppresses layout.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Ensures embedded content is measured and positioned even when its host suppresses layout passes.

Changes:

  • Adds direct content measurement and placement.
  • Adds Robolectric coverage for delayed content and placeholders.
File summaries
File Description
MindboxEmbeddedBlockView.kt Adds host-independent content layout.
MindboxEmbeddedBlockViewContentLayoutTest.kt Tests layout edge cases.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants