flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/apps/web/app/components/repo-settings-tabs.tsx

41 lines1,442 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API1import { Bot, GitBranch, Globe, Lock, Network, Rocket, Settings, ShieldCheck, Webhook } from "lucide-react";
Webhooks: every event, to your own addresses, signed and retried2
3import { TabLink } from "./ui";
4
Projects: what a workspace builds and runs, first on every page5/**
6 * A project's settings, and its repository's: what is about running it
7 * first, then what is about the code.
8 */
Webhooks: every event, to your own addresses, signed and retried9export function RepoSettingsTabs({ base }: { base: string }) {
10 return (
11 <nav className="mb-8 flex gap-x-6 border-b border-line">
12 <TabLink to={`${base}/settings`} end icon={<Settings size={15} />}>
13 General
14 </TabLink>
Secrets and variables: one list, rows per environment, for workflows and deployments15 <TabLink to={`${base}/settings/deployments`} icon={<Rocket size={15} />}>
16 Deployments
Webhooks: every event, to your own addresses, signed and retried17 </TabLink>
Agents and memory, checks and conflicts, profiles, slug renames, custom domains18 <TabLink to={`${base}/settings/domains`} icon={<Globe size={15} />}>
19 Domains
20 </TabLink>
Project dependencies: addresses, preview stacks, Affects, and agents who know21 <TabLink to={`${base}/settings/dependencies`} icon={<Network size={15} />}>
22 Dependencies
23 </TabLink>
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API24 <TabLink to={`${base}/settings/agents`} icon={<Bot size={15} />}>
25 Agents
26 </TabLink>
27 <TabLink to={`${base}/settings/guardrails`} icon={<ShieldCheck size={15} />}>
28 Guardrails
29 </TabLink>
Secrets and variables: one list, rows per environment, for workflows and deployments30 <TabLink to={`${base}/settings/secrets`} icon={<Lock size={15} />}>
GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs31 Secrets and variables
32 </TabLink>
Projects: what a workspace builds and runs, first on every page33 <TabLink to={`${base}/settings/repository`} icon={<GitBranch size={15} />}>
34 Repository
35 </TabLink>
Secrets and variables: one list, rows per environment, for workflows and deployments36 <TabLink to={`${base}/settings/webhooks`} icon={<Webhook size={15} />}>
37 Webhooks
38 </TabLink>
Webhooks: every event, to your own addresses, signed and retried39 </nav>
40 );
41}