1
0
Fork 0
polaris-task-force/src/components/frontend/blocks/sidebarData.ts
Z8MB1E afa79b4be4 feat(tech): member-facing tech research system and tech tree
Add a research pipeline over the existing technology tree: Research
Facility blueprint fields copied to structure instances, tech-researches/
tech-ballots/tech-ballot-votes collections, Game Rules research config,
pure rules lib (capacity, duration math, eligibility, intel-weighted
tally with tie cascade), a timestamp-derived tech-tick bin that opens,
resolves, advances and completes research with notifications, vote
casting server actions, and a read-only member-facing tech tree page at
/intelligence/tech-tree with veil blackout and dossier-style panels.

Includes migration 20261019_184409_add_tech_research_system, permission
groups, event and notification types, sidebar entry, and integration
plus e2e coverage.
2026-10-19 17:28:26 -04:00

227 lines
3.7 KiB
TypeScript

import {
Award,
Backpack,
BarChart3,
BookOpen,
Boxes,
Building2,
ClipboardList,
ClipboardCheck,
Car,
Contact,
Crosshair,
Flag,
Kanban,
Landmark,
LifeBuoy,
Medal,
Map,
Network,
NotebookText,
Package,
Radar,
ScrollText,
Search,
Store,
Swords,
Trophy,
Truck,
UserCog,
Users,
} from "lucide-react";
export const sidebarData = {
navMap: [
{
title: "World Map",
url: "/map",
icon: Map,
},
],
navHelpdesk: [
{
title: "Helpdesk",
url: "/helpdesk",
icon: LifeBuoy,
},
{
title: "Projects",
url: "/projects",
icon: Kanban,
},
{
title: "Search",
url: "/projects/search",
icon: Search,
},
],
navIntelligence: [
{
title: "Campaigns",
url: "/intelligence/campaigns",
icon: Swords,
},
{
title: "Missions",
url: "/intelligence/missions",
icon: Crosshair,
},
{
title: "Factions",
url: "/intelligence/factions",
icon: Flag,
},
{
title: "Tech Tree",
url: "/intelligence/tech-tree",
icon: Network,
},
{
title: "Wiki",
url: "/wiki",
icon: BookOpen,
},
],
navOperations: [
{
title: "Ops Overview",
url: "/operations",
icon: Radar,
},
{
title: "Ops Ledger",
url: "/operations/ledger",
icon: ScrollText,
},
{
title: "Reservations",
url: "/operations/reservations",
icon: ClipboardList,
},
],
navLogistics: [
{
title: "Assets",
url: "",
icon: Boxes,
defaultOpen: true,
items: [
{
title: "Structures",
url: "/logistics",
icon: Building2,
},
{
title: "Resources",
url: "/logistics/resources",
icon: Boxes,
},
{
title: "Vehicles",
url: "/logistics/vehicles",
icon: Truck,
},
],
},
{
title: "Operations",
url: "",
icon: Package,
defaultOpen: true,
items: [
{
title: "Shipments",
url: "/logistics/shipments",
icon: Package,
},
{
title: "Garage",
url: "/logistics/garage",
icon: Car,
},
{
title: "Supply Boxes",
url: "/logistics/supply-boxes",
icon: Boxes,
},
],
},
{
title: "Personnel",
url: "",
icon: Users,
defaultOpen: true,
items: [
{
title: "Contacts",
url: "/personnel/contacts",
icon: Contact,
},
{
title: "Statistics",
url: "/personnel/statistics",
icon: BarChart3,
},
{
title: "Promotions",
url: "/personnel/promotions",
icon: Medal,
},
],
},
],
navCommerce: [
{
title: "Banking",
url: "/logistics/banking",
icon: Landmark,
},
{
title: "Market",
url: "/logistics/market",
icon: Store,
},
],
navPersonal: [
{
title: "Awards",
url: "/awards",
icon: Award,
},
{
title: "Contributions",
url: "/contributions",
icon: Trophy,
},
{
title: "Locker",
url: "/locker",
icon: Backpack,
},
{
title: "Account",
url: "/account",
icon: UserCog,
},
],
navStory: [
{
title: "Chronicle",
url: "/story",
icon: ScrollText,
},
{
title: "Journals",
url: "/journals",
icon: NotebookText,
},
],
navSurveys: [
{
title: "Surveys",
url: "/surveys",
icon: ClipboardCheck,
},
],
navSecondary: [],
};