Repository navigation
chore(studio): move short Admonitions to descriptions - #46049
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughThis PR migrates ChangesAdmonition Component Prop Migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎭 Playwright Test ResultsDetails
Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
| <Admonition | ||
| type="warning" | ||
| label={`User banned until ${dayjs(user.banned_until).format(DATE_FORMAT)}`} | ||
| description={`User banned until ${dayjs(user.banned_until).format(DATE_FORMAT)}`} |
There was a problem hiding this comment.
You can just invite yourself/a dummy email to a local/staging project and ban to see this.
There was a problem hiding this comment.
Made a few tweaks here since it rendered awkwardly to the right.
See image on PR description.
kemaldotearth
left a comment
There was a problem hiding this comment.
Appearing as described in the instance I checked (sign up from invite).
Braintrust eval report
|
## What kind of change does this PR introduce? Bug fix. Follow-up to DEPR-551, #45302, #45535, #45618, and stacked on #46049. ## What is the current behaviour? Warning and destructive Alert variants do not explicitly own their foreground text colour. In muted parent contexts, nested Admonition content can inherit lighter text styling. ## What is the new behaviour? Warning and destructive Alert variants now include `text-foreground`, just like the default counterpart. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Updated styling for alert components with destructive and warning variants. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46050?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
What kind of change does this PR introduce?
Chore. Follow-up to DEPR-551, #45302, #45535, and #45618.
What is the current behaviour?
Some short Studio Admonitions still put their entire message in
titleor legacylabel, so body-copy callouts render as headings.What is the new behaviour?
Moves selected single-message Studio Admonitions to
description, keeping the follow-up deliberately limited to Studio callsites.This PR does not touch Docs content, shared Alert styling, ui-patterns, design-system registry/docs, or Tailwind config.
Summary by CodeRabbit
Style
UI Updates