Skip to content

Conversation

@kraenhansen
Copy link
Contributor

@kraenhansen kraenhansen commented Nov 28, 2025

Description

As per #7594 (comment) these two components aren't used anymore and updating their tests are turning a bit messy - dropping them entirely seem like the best option.

Also - a React suspense boundary seems like a good modern alternative.

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added
  • If this change updates the UI, screenshots/videos are added and a design review is requested
  • If this change could impact the load on the MongoDB cluster, please describe the expected and worst case impact
  • I have signed the MongoDB Contributor License Agreement (https://www.mongodb.com/legal/contributor-agreement)

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@kraenhansen kraenhansen self-assigned this Nov 28, 2025
@kraenhansen kraenhansen requested a review from a team as a code owner November 28, 2025 13:32
Copilot AI review requested due to automatic review settings November 28, 2025 13:32
@kraenhansen kraenhansen added the no release notes Fix or feature not for release notes label Nov 28, 2025
@kraenhansen kraenhansen added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Nov 28, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes unused React components (ContentWithFallback and FadeInPlaceholder) that are no longer needed in the codebase, as these have been superseded by modern React Suspense boundaries.

  • Removed exports for ContentWithFallback and FadeInPlaceholder from the package index
  • Deleted the implementation file containing both components
  • Deleted the associated test file

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/compass-components/src/index.ts Removed exports for the two unused components
packages/compass-components/src/components/content-with-fallback.tsx Deleted entire component implementation file
packages/compass-components/src/components/content-with-fallback.spec.tsx Deleted test file for the removed components

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codeowners-service-app
Copy link

Assigned kmruiz for team compass-developers because gribnoysup is out of office.

@Anemy Anemy changed the title Delete unused ContentWithFallback and FadeInPlaceholder components chore(components): delete unused ContentWithFallback and FadeInPlaceholder components Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no release notes Fix or feature not for release notes no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants