mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Initial build of the URL mode interstitial. Has complete mock data to be able to view different states (this will be stripped out in the end). A starting point for us to use as an intercept. This is linked with @barryroodt ticket in the MCP project. https://github.com/supabase/mcp/pull/412 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added an authenticated MCP Secrets page for securely storing API secrets requested by AI tools. - Added provider-aware guidance for OpenAI, Anthropic, Resend, and Stripe keys, including validation warnings and dashboard links. - Added clear success, cancellation, expiration, error, and wrong-account states with account switching. - Added loading placeholders, secret visibility controls, overwrite warnings, and accessibility announcements. - **Bug Fixes** - Improved interstitial animations to respect reduced-motion preferences. - Preserved return destinations and related parameters during sign-in flows. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
25 lines
642 B
TypeScript
25 lines
642 B
TypeScript
import { Admonition } from 'ui-patterns/Admonition'
|
|
|
|
import { InterstitialFooter, InterstitialShell } from './InterstitialShell'
|
|
|
|
export type InterstitialTerminalCopy = {
|
|
title: string
|
|
subtitle: string
|
|
calloutTitle: string
|
|
calloutBody: string
|
|
footer: string
|
|
}
|
|
|
|
export const InterstitialTerminalScreen = ({
|
|
title,
|
|
subtitle,
|
|
calloutTitle,
|
|
calloutBody,
|
|
footer,
|
|
}: InterstitialTerminalCopy) => (
|
|
<InterstitialShell title={title} subtitle={subtitle}>
|
|
<Admonition type="note" title={calloutTitle} description={calloutBody} className="mb-0" />
|
|
<InterstitialFooter>{footer}</InterstitialFooter>
|
|
</InterstitialShell>
|
|
)
|