Skip to content

feat(site-nav): add sticky /sunset announcement bar to the nav header - #1806

Merged
AnishSarkar22 merged 1 commit into
MODSetter:devfrom
AnishSarkar22:feat/banner-homepage
Sep 17, 2026
Merged

AnishSarkar22 merged 1 commit into
MODSetter:devfrom
AnishSarkar22:feat/banner-homepage

Conversation

@AnishSarkar22

@AnishSarkar22 AnishSarkar22 commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Description

Motivation and Context

FIX #

Screenshots

API Changes

  • This PR includes API changes

Change Type

  • Bug fix
  • New feature
  • Performance improvement
  • Refactoring
  • Documentation
  • Dependency/Build system
  • Breaking change
  • Other (specify):

Testing Performed

  • Tested locally
  • Manual/QA verification

Checklist

  • Follows project coding standards and conventions
  • Documentation updated as needed
  • Dependencies updated as needed
  • No lint/build errors or new warnings
  • All relevant tests are passing

High-level PR Summary

This PR adds a sticky announcement banner to the top of the site navigation header to inform visitors that SurfSense is transitioning to a local app, with a link directing them to the /sunset announcement page. The banner can be toggled via an environment variable (NEXT_PUBLIC_TOP_ANNOUNCEMENT_ENABLED), supports dismissal via localStorage with versioning to allow future announcements to resurface, and is designed to stick together with the existing navigation header as a single unit to avoid stacking issues.

⏱️ Estimated Review Time: 5-15 minutes

💡 Review Order Suggestion
Order File Path
1 surfsense_web/.env.example
2 surfsense_web/lib/env-config.ts
3 surfsense_web/components/ui/icons.tsx
4 surfsense_web/components/homepage/top-announcement-bar.tsx
5 surfsense_web/components/site/site-nav.tsx
6 surfsense_web/components/site/site-shell.tsx

Need help? Join our Discord

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

@AnishSarkar22 is attempting to deploy a commit to the Rohan Verma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: b9b66eb8-6605-458f-b803-b7b08ac045ee

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@AnishSarkar22
AnishSarkar22 merged commit 9e6bc49 into MODSetter:dev Sep 17, 2026
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant