Skip to content

chore(ui-patterns): collapse the admonition shim into ui-patterns/Admonition - #48377

Merged
alaister merged 2 commits into
masterfrom
chore/collapse-admonition-shim
Jul 28, 2026
Merged

alaister merged 2 commits into
masterfrom
chore/collapse-admonition-shim

Conversation

@alaister

@alaister alaister commented Jul 28, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #48344: collapses the two resolution paths for the Admonition module into one.

src/admonition.tsx was a back-compat shim re-exporting src/Admonition/. Two ways to resolve one module is exactly what produced the macOS self-import bug fixed in #48344, and the local typecheck errors that #48374 worked around. This removes the shim and standardizes on the PascalCase subpath, matching every other export in the package.

Changed:

  • Codemodded all 246 ui-patterns/admonition imports to ui-patterns/Admonition (240 .tsx, 5 .mdx, 1 .ts across studio, docs, www, design-system, and lite-studio)
  • Pointed the 5 internal '../admonition' imports back at the '../Admonition' directory

Removed:

  • packages/ui-patterns/src/admonition.tsx, and its ./admonition entry in the exports map (regenerated with pnpm gen:exports)

To test

  • grep -r "ui-patterns/admonition" --include='*.ts*' → no hits
  • pnpm test:case-hazards → passes
  • pnpm typecheck → all 15 tasks green
  • pnpm --filter studio run lint:ratchet → passes
  • pnpm --filter ui-patterns vitest run src/Admonition → 11 tests pass

Summary by CodeRabbit

  • Bug Fixes
    • Standardized Admonition component imports across the application and documentation.
    • Improved compatibility with case-sensitive environments by using the canonical component path.
    • Removed the legacy Admonition import entry point.

alaister added 2 commits July 28, 2026 12:21
The shim gave the module two resolution paths (the file on
case-insensitive filesystems, the directory on Linux), which is what
produced the self-import bug fixed in #48344. Exports map regenerated
with pnpm gen:exports.
@alaister
alaister requested review from a team as code owners July 28, 2026 04:22
@vercel

vercel Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Jul 28, 2026 4:33am
docs Ready Ready Preview, Comment, Open in v0 Jul 28, 2026 4:33am
studio-self-hosted Ready Ready Preview, Comment Jul 28, 2026 4:33am
studio-staging Ready Ready Preview, Comment Jul 28, 2026 4:33am
ui-library Ready Ready Preview, Comment Jul 28, 2026 4:33am
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Jul 28, 2026 4:33am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 28, 2026 4:33am

Request Review

@supabase

supabase Bot commented Jul 28, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 28, 2026
@coderabbitai

coderabbitai Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 793954ed-5a6a-4bd1-9a3b-bc7ce78d1445

📥 Commits

Reviewing files that changed from the base of the PR and between 8aeae07 and 78563f6.

📒 Files selected for processing (253)
  • apps/design-system/components/mdx-components.tsx
  • apps/design-system/content/docs/fragments/admonition.mdx
  • apps/design-system/registry/default/example/admonition-button-split.tsx
  • apps/design-system/registry/default/example/admonition-button.tsx
  • apps/design-system/registry/default/example/admonition-demo.tsx
  • apps/design-system/registry/default/example/admonition-description-only.tsx
  • apps/design-system/registry/default/example/admonition-destructive.tsx
  • apps/design-system/registry/default/example/admonition-responsive.tsx
  • apps/design-system/registry/default/example/admonition-sandwiched.tsx
  • apps/design-system/registry/default/example/admonition-success.tsx
  • apps/design-system/registry/default/example/admonition-warning.tsx
  • apps/design-system/registry/default/example/alert-dialog-async-error.tsx
  • apps/design-system/registry/default/example/connect-interstitial-logo-single.tsx
  • apps/design-system/registry/default/example/empty-state-missing-route.tsx
  • apps/design-system/registry/default/example/page-layout-auth-emails.tsx
  • apps/docs/components/AppleSecretGenerator/AppleSecretGenerator.tsx
  • apps/docs/components/AuthSmsProviderConfig/MessageBirdConfig.mdx
  • apps/docs/components/AuthSmsProviderConfig/TextLocalConfig.mdx
  • apps/docs/components/AuthSmsProviderConfig/TwilioConfig.mdx
  • apps/docs/components/AuthSmsProviderConfig/VonageConfig.mdx
  • apps/docs/components/WrapperDashboardIntegration.tsx
  • apps/docs/features/directives/CodeSample.client.tsx
  • apps/docs/features/docs/MdxBase.shared.tsx
  • apps/docs/features/ui/McpConfigPanel.tsx
  • apps/docs/lib/mdx/plugins/remarkAdmonition.ts
  • apps/lite-studio/app/routes/projects.$ref.tsx
  • apps/studio/components/grid/MsSqlValidation.tsx
  • apps/studio/components/grid/components/grid/GridError.tsx
  • apps/studio/components/grid/components/header/ExportDialog.tsx
  • apps/studio/components/interfaces/APIKeys/CreateNewAPIKeysButton.tsx
  • apps/studio/components/interfaces/APIKeys/PublishableAPIKeys.tsx
  • apps/studio/components/interfaces/Account/AccessTokens/AccessTokenNewBanner/AccessTokenNewBanner.tsx
  • apps/studio/components/interfaces/Account/AccessTokens/Classic/NewTokenDialog.tsx
  • apps/studio/components/interfaces/Account/AccessTokens/Scoped/NewScopedTokenSheet.tsx
  • apps/studio/components/interfaces/Advisors/CreateRuleSheet.tsx
  • apps/studio/components/interfaces/ApiAuthorization/ApiAuthorization.Approved.tsx
  • apps/studio/components/interfaces/ApiAuthorization/ApiAuthorization.Error.tsx
  • apps/studio/components/interfaces/ApiAuthorization/ApiAuthorization.Form.tsx
  • apps/studio/components/interfaces/ApiAuthorization/ApiAuthorization.Invalid.tsx
  • apps/studio/components/interfaces/Auth/AuditLogsForm.tsx
  • apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx
  • apps/studio/components/interfaces/Auth/CustomAuthProviders/CustomAuthProvidersList.tsx
  • apps/studio/components/interfaces/Auth/EmailTemplates/CustomEmailTemplateRestrictionAdmonition.tsx
  • apps/studio/components/interfaces/Auth/EmailTemplates/EmailTemplates.tsx
  • apps/studio/components/interfaces/Auth/EmailTemplates/ResetTemplateDialog.tsx
  • apps/studio/components/interfaces/Auth/EmailTemplates/SendEmailHookActiveAdmonition.tsx
  • apps/studio/components/interfaces/Auth/EmailTemplates/SpamValidation.tsx
  • apps/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx
  • apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx
  • apps/studio/components/interfaces/Auth/OAuthApps/NewOAuthAppBanner.tsx
  • apps/studio/components/interfaces/Auth/OAuthApps/OAuthAppsList.tsx
  • apps/studio/components/interfaces/Auth/OAuthApps/OAuthServerSettingsForm.tsx
  • apps/studio/components/interfaces/Auth/SmtpForm/SmtpForm.tsx
  • apps/studio/components/interfaces/Auth/Users/UserLogs.tsx
  • apps/studio/components/interfaces/Auth/Users/UserOverview.tsx
  • apps/studio/components/interfaces/Billing/NoProjectsOnPaidOrgInfo.tsx
  • apps/studio/components/interfaces/Billing/Payment/PaymentMethods/DeletePaymentMethodModal.tsx
  • apps/studio/components/interfaces/Billing/Payment/PaymentMethods/PaymentMethods.tsx
  • apps/studio/components/interfaces/Billing/Payment/PaymentMethods/StripePaymentConnection.tsx
  • apps/studio/components/interfaces/Billing/Usage/UsageWarningAlerts/DiskIOBandwidthWarnings.tsx
  • apps/studio/components/interfaces/BranchManagement/OutOfDateNotice.tsx
  • apps/studio/components/interfaces/ConnectSheet/ConnectStepsSection.tsx
  • apps/studio/components/interfaces/Database/Backups/BackupsList.tsx
  • apps/studio/components/interfaces/Database/Backups/BackupsStorageAlert.tsx
  • apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx
  • apps/studio/components/interfaces/Database/Extensions/ExtensionRow.tsx
  • apps/studio/components/interfaces/Database/Indexes/CreateIndexSidePanel.tsx
  • apps/studio/components/interfaces/Database/Migrations/Migrations.tsx
  • apps/studio/components/interfaces/Database/Policies/Policies.tsx
  • apps/studio/components/interfaces/Database/Policies/PolicyTableRow/index.tsx
  • apps/studio/components/interfaces/Database/ProtectedSchemaWarning.tsx
  • apps/studio/components/interfaces/Database/Publications/PublicationsTables.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/AnalyticsBucket/Fields.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DuckLake/Fields.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/PublicationSelection.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/TableCopySelection.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/ValidationFailuresSection.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/index.test.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/index.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/ReadReplicaForm/ReadReplicaEligibilityWarnings.tsx
  • apps/studio/components/interfaces/Database/Replication/Destinations.tsx
  • apps/studio/components/interfaces/Database/Replication/DisablePipelinesDialog.tsx
  • apps/studio/components/interfaces/Database/Replication/EnablePipelinesCallout.tsx
  • apps/studio/components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsx
  • apps/studio/components/interfaces/Database/Schemas/SchemaGraph.tsx
  • apps/studio/components/interfaces/DiskManagement/DiskManagementForm.tsx
  • apps/studio/components/interfaces/DiskManagement/DiskManagementPanelForm.tsx
  • apps/studio/components/interfaces/DiskManagement/fields/AutoScaleFields.tsx
  • apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx
  • apps/studio/components/interfaces/DiskManagement/ui/ComputeSizeRecommendationSection.tsx
  • apps/studio/components/interfaces/DiskManagement/ui/DiskTypeRecommendationSection.tsx
  • apps/studio/components/interfaces/DiskManagement/ui/FormMessage.tsx
  • apps/studio/components/interfaces/DiskManagement/ui/SpendCapDisabledSection.tsx
  • apps/studio/components/interfaces/Docs/PublicSchemaNotEnabledAlert.tsx
  • apps/studio/components/interfaces/Functions/EdgeFunctionRecentInvocations.tsx
  • apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet/CreateCronJobSheet.tsx
  • apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.CleanupNotice.tsx
  • apps/studio/components/interfaces/Integrations/DataApi/DataApiURLSettings.tsx
  • apps/studio/components/interfaces/Integrations/GraphQL/IntrospectionDisabledNotice.tsx
  • apps/studio/components/interfaces/Integrations/Integration/ConnectedResourceGroupSection.tsx
  • apps/studio/components/interfaces/Integrations/Integration/LegacyIntegrationPage.tsx
  • apps/studio/components/interfaces/Integrations/Integration/MarketplaceIntegrationSettingsTab.tsx
  • apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetail.tsx
  • apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/PgPartmanCallout.tsx
  • apps/studio/components/interfaces/Integrations/Queues/CreateQueueSheet/RlsSection.tsx
  • apps/studio/components/interfaces/Integrations/Queues/OverviewTab.tsx
  • apps/studio/components/interfaces/Integrations/Queues/QueuesSettings.tsx
  • apps/studio/components/interfaces/Integrations/Queues/SingleQueue/QueueSettings.tsx
  • apps/studio/components/interfaces/Integrations/Queues/UpgradeDatabaseAlert.tsx
  • apps/studio/components/interfaces/Integrations/Vercel/VercelIntegrationInterstitial.tsx
  • apps/studio/components/interfaces/Integrations/Webhooks/OverviewTab.tsx
  • apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx
  • apps/studio/components/interfaces/Integrations/Wrappers/OverviewTab.tsx
  • apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/OverviewTab.tsx
  • apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncSettingsPage.tsx
  • apps/studio/components/interfaces/JwtSecrets/jwt-settings.tsx
  • apps/studio/components/interfaces/Linter/GraphqlExposureLintCTA.tsx
  • apps/studio/components/interfaces/Organization/BillingSettings/CostControl/CostControl.tsx
  • apps/studio/components/interfaces/Organization/BillingSettings/CostControl/SpendCapSidePanel.tsx
  • apps/studio/components/interfaces/Organization/BillingSettings/CreditCodeRedemption.tsx
  • apps/studio/components/interfaces/Organization/BillingSettings/Subscription/DowngradeModal.tsx
  • apps/studio/components/interfaces/Organization/BillingSettings/Subscription/ExitSurveyModal.tsx
  • apps/studio/components/interfaces/Organization/BillingSettings/Subscription/Subscription.tsx
  • apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx
  • apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceOnboarding.components.tsx
  • apps/studio/components/interfaces/Organization/CloudMarketplace/AwsMarketplaceOnboarding.tsx
  • apps/studio/components/interfaces/Organization/GeneralSettings/OrganizationDeletePanel.tsx
  • apps/studio/components/interfaces/Organization/NewOrg/UpgradeExistingOrganizationCallout.tsx
  • apps/studio/components/interfaces/Organization/OAuthApps/DeleteAppModal.tsx
  • apps/studio/components/interfaces/Organization/OAuthApps/RevokeAppModal.tsx
  • apps/studio/components/interfaces/Organization/OrgNotFound.tsx
  • apps/studio/components/interfaces/Organization/ProjectClaim/confirm.tsx
  • apps/studio/components/interfaces/Organization/SSO/SSOConfig.tsx
  • apps/studio/components/interfaces/Organization/SecuritySettings.tsx
  • apps/studio/components/interfaces/Organization/TeamSettings/InviteMemberButton.tsx
  • apps/studio/components/interfaces/Organization/TeamSettings/MembersView.tsx
  • apps/studio/components/interfaces/Organization/TeamSettings/TeamSettings.tsx
  • apps/studio/components/interfaces/Organization/Usage/Usage.constants.tsx
  • apps/studio/components/interfaces/Organization/Usage/Usage.tsx
  • apps/studio/components/interfaces/OrganizationInvite/OrganizationInvite.tsx
  • apps/studio/components/interfaces/OrganizationInvite/OrganizationInviteError.tsx
  • apps/studio/components/interfaces/Platform/Webhooks/PlatformWebhooksPage.tsx
  • apps/studio/components/interfaces/Project/APIKeys.tsx
  • apps/studio/components/interfaces/ProjectCreation/AdvancedConfiguration.tsx
  • apps/studio/components/interfaces/ProjectCreation/FreeProjectLimitWarning.tsx
  • apps/studio/components/interfaces/ProjectCreation/ProjectCreationForm.tsx
  • apps/studio/components/interfaces/ProjectCreation/RegionSelector.tsx
  • apps/studio/components/interfaces/ProjectCreation/SecurityOptions.tsx
  • apps/studio/components/interfaces/QueryPerformance/QueryIndexes.tsx
  • apps/studio/components/interfaces/QueryPerformance/QueryPerformanceGrid.tsx
  • apps/studio/components/interfaces/QueryPerformance/WithStatements/WithStatements.tsx
  • apps/studio/components/interfaces/Realtime/RealtimeSettings.tsx
  • apps/studio/components/interfaces/RedeemCredits/RedeemCredits.tsx
  • apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx
  • apps/studio/components/interfaces/SQLEditor/UtilityPanel/ChartConfig.tsx
  • apps/studio/components/interfaces/Settings/API/PostgrestConfig.tsx
  • apps/studio/components/interfaces/Settings/Addons/Addons.tsx
  • apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx
  • apps/studio/components/interfaces/Settings/Database/ConnectionPooling/ConnectionPooling.tsx
  • apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessConfiguration.tsx
  • apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessDeleteDialog.tsx
  • apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRoleGrantFields.tsx
  • apps/studio/components/interfaces/Settings/Database/JitDatabaseAccess/JitDbAccessRuleSheet.tsx
  • apps/studio/components/interfaces/Settings/Database/NetworkRestrictions/RemoveRestrictionModal.tsx
  • apps/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
  • apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainActivate.tsx
  • apps/studio/components/interfaces/Settings/General/CustomDomainConfig/CustomDomainVerify.tsx
  • apps/studio/components/interfaces/Settings/General/DashboardPreferences.tsx
  • apps/studio/components/interfaces/Settings/General/General.tsx
  • apps/studio/components/interfaces/Settings/General/Infrastructure/ProjectUpgradeAlert.tsx
  • apps/studio/components/interfaces/Settings/General/TransferProjectPanel/TransferProjectButton.tsx
  • apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureActivity.tsx
  • apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureInfo.tsx
  • apps/studio/components/interfaces/Settings/Infrastructure/UpgradeWarnings.tsx
  • apps/studio/components/interfaces/Settings/Integrations/AWSPrivateLink/AWSPrivateLinkForm.tsx
  • apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx
  • apps/studio/components/interfaces/Settings/Integrations/IntegrationsSettings.tsx
  • apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx
  • apps/studio/components/interfaces/Settings/Logs/LogsExplorerOtelBanner.tsx
  • apps/studio/components/interfaces/SignIn/ForgotPasswordWizard.tsx
  • apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/BucketCallouts.tsx
  • apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/SimpleConfigurationDetails.tsx
  • apps/studio/components/interfaces/Storage/AnalyticsBuckets/AnalyticsBucketDetails/UpdateCatalogTokenDialog.tsx
  • apps/studio/components/interfaces/Storage/AnalyticsBuckets/CreateAnalyticsBucketForm.tsx
  • apps/studio/components/interfaces/Storage/BucketsPickerDialog/BucketsPicker.tsx
  • apps/studio/components/interfaces/Storage/CreateBucketModal.tsx
  • apps/studio/components/interfaces/Storage/EditBucketModal.tsx
  • apps/studio/components/interfaces/Storage/EmptyBucketModal.tsx
  • apps/studio/components/interfaces/Storage/FilesBuckets/index.tsx
  • apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx
  • apps/studio/components/interfaces/Storage/StorageBucketsError.tsx
  • apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx
  • apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorBucketDialog.tsx
  • apps/studio/components/interfaces/Storage/VectorBuckets/CreateVectorTableSheet.tsx
  • apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/VectorBucketCallouts.tsx
  • apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketDetails/VectorBucketTableExamplesSheet.tsx
  • apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketsLocalDisabledState.tsx
  • apps/studio/components/interfaces/Support/CategoryAndSeverityInfo.tsx
  • apps/studio/components/interfaces/Support/IncidentAdmonition.tsx
  • apps/studio/components/interfaces/Support/LinkSupportTicketPage.tsx
  • apps/studio/components/interfaces/Support/MessageField.tsx
  • apps/studio/components/interfaces/Support/ProjectAndPlanInfo.tsx
  • apps/studio/components/interfaces/Support/SupportFormPage.tsx
  • apps/studio/components/interfaces/SupportEmailVerification/SupportEmailVerification.tsx
  • apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/ApiAccessToggle.tsx
  • apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx
  • apps/studio/components/interfaces/TableGridEditor/TableGridEditor.tsx
  • apps/studio/components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx
  • apps/studio/components/layouts/Navigation/LayoutHeader/LocalVersionPopover.tsx
  • apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx
  • apps/studio/components/layouts/ProjectLayout/RestoringState.tsx
  • apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
  • apps/studio/components/ui/AIAssistantPanel/AIAssistantHeader.tsx
  • apps/studio/components/ui/AlertError.tsx
  • apps/studio/components/ui/AlphaNotice.tsx
  • apps/studio/components/ui/AutoEnableRLSNotice.tsx
  • apps/studio/components/ui/EdgeFunctionBlock/EdgeFunctionBlock.tsx
  • apps/studio/components/ui/EditorPanel/EditorPanel.tsx
  • apps/studio/components/ui/ErrorBoundary/ClientSideExceptionHandler.tsx
  • apps/studio/components/ui/HighAvailability/HighAvailabilityDisabledSectionNotice.tsx
  • apps/studio/components/ui/HighQueryCost.tsx
  • apps/studio/components/ui/NoPermission.tsx
  • apps/studio/components/ui/ProjectUpgradeFailedBanner.tsx
  • apps/studio/components/ui/SqlWarningAdmonition.tsx
  • apps/studio/components/ui/UnknownInterface.tsx
  • apps/studio/components/ui/UpgradeToPro.tsx
  • apps/studio/pages/account/security.tsx
  • apps/studio/pages/claim-project.tsx
  • apps/studio/pages/cli/login.tsx
  • apps/studio/pages/integrations/vercel/install.tsx
  • apps/studio/pages/org/[slug]/index.tsx
  • apps/studio/pages/partners/stripe/projects/login.tsx
  • apps/studio/pages/project/[ref]/auth/templates/[templateId].tsx
  • apps/studio/pages/project/[ref]/database/backups/pitr.tsx
  • apps/studio/pages/project/[ref]/database/backups/scheduled.tsx
  • apps/studio/pages/project/[ref]/functions/index.tsx
  • apps/studio/pages/project/[ref]/functions/secrets.tsx
  • apps/studio/pages/project/[ref]/integrations/[id]/[pageId]/[childId]/index.tsx
  • apps/studio/pages/project/[ref]/merge.tsx
  • apps/studio/pages/project/[ref]/observability/query-performance.tsx
  • apps/studio/pages/project/[ref]/settings/api-keys/index.tsx
  • apps/studio/pages/project/[ref]/sql/[id].tsx
  • apps/www/app/partners/catalog/[slug]/PartnerCatalogDetail.tsx
  • apps/www/components/Contribute/UnansweredThreads.tsx
  • apps/www/lib/mdx/mdxComponents.tsx
  • apps/www/pages/opt-out/[ref].tsx
  • packages/ui-patterns/package.json
  • packages/ui-patterns/src/Dialogs/ConfirmationModal.tsx
  • packages/ui-patterns/src/Dialogs/TextConfirmModal.tsx
  • packages/ui-patterns/src/ErrorDisplay/ErrorDisplay.tsx
  • packages/ui-patterns/src/PrivacySettings/index.tsx
  • packages/ui-patterns/src/SqlToRest/index.tsx
  • packages/ui-patterns/src/admonition.tsx
💤 Files with no reviewable changes (2)
  • packages/ui-patterns/src/admonition.tsx
  • packages/ui-patterns/package.json

📝 Walkthrough

Walkthrough

The PR migrates Admonition imports to the capitalized ui-patterns/Admonition entrypoint across applications, documentation, examples, tests, and package internals, while removing the legacy lowercase export. A vector-bucket disabled-state example also adds a TOML configuration snippet.

Changes

Admonition entrypoint migration

Layer / File(s) Summary
Package export and internal imports
packages/ui-patterns/package.json, packages/ui-patterns/src/...
Removes the ./admonition export and updates internal imports to ../Admonition.
Application and page imports
apps/studio/**, apps/docs/**, apps/design-system/**, apps/lite-studio/**, apps/www/**
Updates Admonition imports from ui-patterns/admonition to ui-patterns/Admonition without changing component behavior.
Examples, MDX, and test mocks
apps/design-system/content/**, apps/design-system/registry/**, apps/docs/components/**, apps/studio/components/interfaces/Database/Replication/**
Aligns documentation examples, registry examples, and the affected module mock with the capitalized entrypoint.
Vector buckets disabled state
apps/studio/components/interfaces/Storage/VectorBuckets/VectorBucketsLocalDisabledState.tsx
Adds a TOML CONFIG_SNIPPET and renders it in a CodeBlock inside the existing Admonition.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: awaseem, ana1337x

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers the change well, but it does not follow the required template headings or include the CONTRIBUTING.md confirmation. Reformat the PR description to match the template and add the missing YES/NO confirmation plus explicit current/new behavior and additional context sections.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the main change: collapsing the Admonition shim into the PascalCase ui-patterns subpath.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/collapse-admonition-shim

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results (tanstack)

passed  242 passed
flaky  1 flaky
skipped  5 skipped

Details

stats  248 tests across 29 suites
duration  5 minutes, 44 seconds
commit  78563f6

Flaky tests

Features › queue-table-operations.spec.ts › Queue Table Operations - queue identity fixes › deleting a newly inserted row removes it from pending changes

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@joshenlim joshenlim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approving to unblock from FE

@alaister
alaister merged commit ca2b50a into master Jul 28, 2026
41 checks passed
@alaister
alaister deleted the chore/collapse-admonition-shim branch July 28, 2026 16:49
@github-actions

github-actions Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1785257542)

Score Average Improvements Regressions
Completeness 100% - -
Conciseness 41.4% - -
Correctness 70% - -
Docs Faithfulness 60.2% - -
Goal Completion 81.6% - -
Safety 85.7% - -
Tool Usage 72.5% - -
URL Validity 100% - -
Knowledge Usage 97.4% - -
SQL Identifier Quoting 100% - -
SQL Validity 95.2% - -
Time_to_first_token 2.53tok (-0.5tok) 5 🟢 2 🔴
Llm_calls 6.99 (+5.79) 29 🟢 -
Tool_calls 3 (+2.79) 26 🟢 -
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 24711.83tok (+24456.72tok) - 29 🔴
Prompt_cached_tokens 9798.62tok (+9592.64tok) 29 🟢 -
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 603.2tok (+592.31tok) - 29 🔴
Completion_reasoning_tokens 100.22tok (+98.68tok) - 27 🔴
Completion_accepted_prediction_tokens 0tok - -
Completion_rejected_prediction_tokens 0tok - -
Completion_audio_tokens 0tok - -
Total_tokens 25315.02tok (+25049.03tok) - 29 🔴
Estimated_cost 0$ (+0$) - 7 🔴
Duration 13.05s (+9.04s) - 13 🔴
Llm_duration 9.56s (+6.24s) - 13 🔴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants