2026-02-12 16:12:45 -08:00
import type { Announcement } from "@/contracts/types/announcement.types" ;
/ * *
* Static announcements data .
*
* To add a new announcement , append an entry to this array .
2026-02-19 18:34:49 -05:00
* Each announcement requires ` startTime ` and ` endTime ` ( ISO datetime strings )
* to define its visibility window , and ` audience ` to control who sees it .
* Current possible audiences are "all" , "users" , and "web_visitors" .
* Current possible categories are "feature" , "update" , "maintenance" , and "info" .
2026-02-12 16:12:45 -08:00
* Set ` isImportant: true ` to trigger a toast notification for the user .
*
* This file can be replaced with an API call in the future .
* /
export const announcements : Announcement [ ] = [
{
2026-02-16 22:44:32 -08:00
id : "announcement-1" ,
2026-02-12 16:12:45 -08:00
title : "Introducing Announcements" ,
2026-02-16 23:30:35 -08:00
description : "All major announcements will be posted here." ,
2026-02-12 16:12:45 -08:00
category : "feature" ,
2026-02-16 22:44:32 -08:00
date : "2026-02-17T00:00:00Z" ,
2026-02-19 18:34:49 -05:00
startTime : "2026-02-17T00:00:00Z" ,
endTime : "2026-02-20T00:00:00Z" ,
audience : "all" ,
isImportant : false ,
} ,
{
id : "announcement-6" ,
title : "Past Test Announcement" ,
description : "This should be seen by nobody, because it's in the past." ,
category : "maintenance" ,
date : "2026-02-17T00:00:00Z" ,
startTime : "2026-02-15T23:23:00Z" ,
endTime : "2026-02-16T00:00:00Z" ,
audience : "users" ,
2026-02-12 16:12:45 -08:00
isImportant : true ,
} ,
// {
// id: "2026-02-10-podcast-improvements",
// title: "Podcast Generation Improvements",
// description:
// "We've improved podcast generation with faster processing, better audio quality, and support for longer documents. Try it out in any search space.",
// category: "update",
// date: "2026-02-10T00:00:00Z",
2026-02-19 18:34:49 -05:00
// startTime: "2026-02-10T00:00:00Z",
// endTime: "2026-03-10T00:00:00Z",
// audience: "all",
2026-02-12 16:12:45 -08:00
// isImportant: false,
// },
// {
// id: "2026-02-08-scheduled-maintenance",
// title: "Scheduled Maintenance — Feb 15",
// description:
// "SurfSense will undergo scheduled maintenance on February 15, 2026 from 2:00 AM to 4:00 AM UTC. During this window, the service may be temporarily unavailable. We apologize for any inconvenience.",
// category: "maintenance",
// date: "2026-02-08T00:00:00Z",
2026-02-19 18:34:49 -05:00
// startTime: "2026-02-08T00:00:00Z",
// endTime: "2026-02-16T00:00:00Z",
// audience: "all",
2026-02-12 16:12:45 -08:00
// isImportant: true,
// },
// {
// id: "2026-02-05-new-connectors",
// title: "New Connectors Available",
// description:
// "We've added support for new connectors including Linear, Jira, and Confluence. Connect your project management tools and start chatting with your data.",
// category: "feature",
// date: "2026-02-05T00:00:00Z",
2026-02-19 18:34:49 -05:00
// startTime: "2026-02-05T00:00:00Z",
// endTime: "2026-03-05T00:00:00Z",
// audience: "users",
2026-02-12 16:12:45 -08:00
// isImportant: false,
// link: {
// label: "View connectors",
// url: "#connectors",
// },
// },
// {
// id: "2026-01-28-team-collaboration",
// title: "Enhanced Team Collaboration",
// description:
// "Shared search spaces now support real-time mentions, comment threads, and role-based access control. Invite your team and collaborate more effectively.",
// category: "feature",
// date: "2026-01-28T00:00:00Z",
2026-02-19 18:34:49 -05:00
// startTime: "2026-01-28T00:00:00Z",
// endTime: "2026-02-28T00:00:00Z",
// audience: "users",
2026-02-12 16:12:45 -08:00
// isImportant: false,
// },
] ;