The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: remove TinyPlaceSunsetNotice component and its tests
Steven Enamakelb8a1f29d7616
diff --git a/app/src/components/upsell/TinyPlaceSunsetNotice.tsx b/app/src/components/upsell/TinyPlaceSunsetNotice.tsxdeleted file mode 100644index ba4d201a3f..0000000000--- a/app/src/components/upsell/TinyPlaceSunsetNotice.tsx+++ /dev/null@@ -1,36 +0,0 @@-/**- * tiny.place removal notice (#5424).- *- * Shown on the Brain orchestration sub-tab to users who have an identity — the- * only people who still see the feature. It tells them to keep using tiny.place- * at tiny.place, names the 31 August 2026 in-app removal date, and links out.- * Non-dismissible: the deadline is fixed, so the notice stays until then.- *- * The in-app Agent World section, the other surface this notice used to carry,- * was removed on that date; the notice moved here alongside `UpsellBanner` when- * it did.- */-import { useT } from '../../lib/i18n/I18nContext';-import { TINYPLACE_URL } from '../../utils/links';-import { openUrl } from '../../utils/openUrl';-import UpsellBanner from './UpsellBanner';--export default function TinyPlaceSunsetNotice() {- const { t } = useT();-- return (- <div className="relative z-20" data-testid="tinyplace-sunset-notice">- <UpsellBanner- variant="info"- title={t('tinyplaceSunset.title')}- message={t('tinyplaceSunset.message')}- ctaLabel={t('tinyplaceSunset.cta')}- rounded={false}- dismissible={false}- onCtaClick={() => {- void openUrl(TINYPLACE_URL);- }}- />- </div>- );-}diff --git a/app/src/components/upsell/__tests__/TinyPlaceSunsetNotice.test.tsx b/app/src/components/upsell/__tests__/TinyPlaceSunsetNotice.test.tsxdeleted file mode 100644index af929342d8..0000000000--- a/app/src/components/upsell/__tests__/TinyPlaceSunsetNotice.test.tsx+++ /dev/null@@ -1,31 +0,0 @@-import { fireEvent, render, screen } from '@testing-library/react';-import { describe, expect, it, vi } from 'vitest';--import TinyPlaceSunsetNotice from '../TinyPlaceSunsetNotice';--const openUrl = vi.fn();-vi.mock('../../../lib/i18n/I18nContext', () => ({ useT: () => ({ t: (k: string) => k }) }));-vi.mock('../../../utils/openUrl', () => ({ openUrl: (url: string) => openUrl(url) }));--describe('TinyPlaceSunsetNotice (#5424)', () => {- it('renders the removal notice with a call to action', () => {- render(<TinyPlaceSunsetNotice />);-- expect(screen.getByTestId('tinyplace-sunset-notice')).toBeInTheDocument();- expect(screen.getByText('tinyplaceSunset.title')).toBeInTheDocument();- expect(screen.getByRole('button', { name: 'tinyplaceSunset.cta' })).toBeInTheDocument();- });-- it('opens tiny.place in the system browser when the CTA is clicked', () => {- render(<TinyPlaceSunsetNotice />);-- fireEvent.click(screen.getByRole('button', { name: 'tinyplaceSunset.cta' }));- expect(openUrl).toHaveBeenCalledWith('https://tiny.place');- });-- it('is not dismissible — no dismiss control is rendered', () => {- render(<TinyPlaceSunsetNotice />);-- expect(screen.queryByRole('button', { name: 'common.dismiss' })).toBeNull();- });-});