Skip to content

Commit ed87595

Browse files
committed
remove enterprise settings card and add more whats new updates
1 parent ce9bab3 commit ed87595

File tree

3 files changed

+13
-86
lines changed

3 files changed

+13
-86
lines changed

packages/web/src/app/[domain]/settings/(general)/components/enterpriseFeaturesCard.tsx

Lines changed: 0 additions & 80 deletions
This file was deleted.

packages/web/src/app/[domain]/settings/(general)/page.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { ChangeOrgDomainCard } from "./components/changeOrgDomainCard";
66
import { ServiceErrorException } from "@/lib/serviceError";
77
import { ErrorCode } from "@/lib/errorCodes";
88
import { headers } from "next/headers";
9-
import { EnterpriseFeaturesCard } from "./components/enterpriseFeaturesCard";
109

1110
interface GeneralSettingsPageProps {
1211
params: {
@@ -47,10 +46,6 @@ export default async function GeneralSettingsPage({ params: { domain } }: Genera
4746
currentUserRole={currentUserRole}
4847
rootDomain={host}
4948
/>
50-
51-
<EnterpriseFeaturesCard
52-
domain={domain}
53-
/>
5449
</div>
5550
)
5651
}

packages/web/src/lib/newsData.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,21 @@ import { NewsItem } from "./types";
33
// Sample news data - replace with your actual data source
44
export const newsData: NewsItem[] = [
55
{
6-
unique_id: "1",
6+
unique_id: "code-nav",
77
header: "Code navigation",
88
sub_header: "Built in go-to definition and find references",
99
url: "https://docs.sourcebot.dev", // TODO: link to code nav docs
10+
},
11+
{
12+
unique_id: "sso",
13+
header: "SSO",
14+
sub_header: "We've added support for SSO providers",
15+
url: "https://docs.sourcebot.dev/self-hosting/configuration/authentication",
16+
},
17+
{
18+
unique_id: "search-contexts",
19+
header: "Search contexts",
20+
sub_header: "Group repos into different search contexts to search against",
21+
url: "https://docs.sourcebot.dev/docs/search/search-contexts"
1022
}
1123
];

0 commit comments

Comments
 (0)