Repository navigation
fix: match the frame details spacing and background to the image details - #3734
LeonardoRosaa wants to merge 3 commits into
Conversation
Frame details had no card background and no padding. A shared SampleDetailsPageContainer now wraps the image, annotation and frame details pages. The frame Number label also gets the correct tooltip.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
All reported issues were addressed across 8 files
Tip: cubic used a learning from your PR history. Let your coding agent read cubic learnings directly with the cubic MCP.
View guided diff | Turn on auto-fix | Re-trigger cubic
❌ Fast Track: checks did not pass
To run the guardrails locally, from Reflects |
|
/review |
| import type { Snippet } from 'svelte'; | ||
| import type { HTMLAttributes } from 'svelte/elements'; | ||
| interface Props extends HTMLAttributes<HTMLDivElement> { |
There was a problem hiding this comment.
Not blocking: rest is spread after the static class, so if someone passes class later it replaces the base classes and the card loses its padding and background. Maybe just block it?
interface Props extends Omit<HTMLAttributes<HTMLDivElement>, 'class'> {There was a problem hiding this comment.
Good catch, Props now omits class, so a caller can't replace the base classes.
| render(SampleDetailsPageContainer, { | ||
| props: { | ||
| 'data-testid': 'sample-details', | ||
| 'data-onboarding-detail': '', |
There was a problem hiding this comment.
Nit: the image page passes the bare attribute, so the prop is true, not ''. Maybe use true here so the test matches the real call?
There was a problem hiding this comment.
Done, the test now passes true like the image page does.
…pper # Conflicts: # CHANGELOG.md
… test to the real call
What has changed and why?
SampleDetailsPageContainergives the image, annotation and frame details pages the same background and padding.How has it been tested?
SampleDetailsPageContainer.Did you update CHANGELOG.md?
🤖 Generated with Claude Code
Summary by CodeRabbit