Skip to content

Commit d0026d2

Browse files
Updated chambers.ts to the 6 chambers:
design, engineering, economics, marketing, general, product (and added getChamberById). Rewired all references to the new chamber IDs/names across the app/mocks (feed, proposals, proposal pages, chamber detail, proposal draft, human nodes, guide, CM panel, my governance). Removed legacy chamber IDs/names like protocol-engineering, security-council, Governance chamber, Protocol chamber, Legal chamber, etc.
1 parent c302ebb commit d0026d2

17 files changed

Lines changed: 112 additions & 99 deletions

src/components/PageHint.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ export const PageHint: React.FC<PageHintProps> = ({ pageId, className }) => {
2525

2626
return (
2727
<div
28-
className={cn("fixed top-4 right-2 z-40 sm:top-6 sm:right-4", className)}
28+
className={cn(
29+
"fixed top-4 right-4 z-40 sm:top-6 sm:right-6 md:right-8",
30+
className,
31+
)}
2932
>
3033
<Button
3134
variant="ghost"
@@ -34,7 +37,7 @@ export const PageHint: React.FC<PageHintProps> = ({ pageId, className }) => {
3437
onClick={() => setOpen(true)}
3538
aria-label="Open page hint"
3639
>
37-
<HelpCircle className="h-6 w-6" />
40+
<HelpCircle className="h-7 w-7" />
3841
</Button>
3942

4043
<Modal

src/data/mock/chamberDetail.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const chamberProposals: ChamberProposal[] = [
4242
{
4343
id: "evm-dev-starter-kit",
4444
title: "Humanode EVM Dev Starter Kit & Testing Sandbox",
45-
meta: "Legate · Protocol chamber",
45+
meta: "Legate · Engineering chamber",
4646
summary:
4747
"Starter kit + sandbox so developers can deploy EVM dApps on Humanode in under 30 minutes.",
4848
lead: "Sesh",
@@ -53,7 +53,7 @@ export const chamberProposals: ChamberProposal[] = [
5353
{
5454
id: "voluntary-commitment-staking",
5555
title: "Voluntary Governor Commitment Staking",
56-
meta: "Legate · Governance chamber",
56+
meta: "Legate · General chamber",
5757
summary:
5858
"Optional commitment staking + opt-in self-slashing without changing governance access or voting power.",
5959
lead: "Victor",
@@ -64,10 +64,10 @@ export const chamberProposals: ChamberProposal[] = [
6464
];
6565

6666
export const chamberGovernors: Governor[] = [
67-
{ id: "shahmeer", name: "Shahmeer", tier: "Citizen", focus: "Protocol" },
67+
{ id: "shahmeer", name: "Shahmeer", tier: "Citizen", focus: "Engineering" },
6868
{ id: "dato", name: "Dato", tier: "Consul", focus: "Infra" },
6969
{ id: "andrei", name: "Andrei", tier: "Consul", focus: "Observability" },
70-
{ id: "victor", name: "Victor", tier: "Legate", focus: "Legal" },
70+
{ id: "victor", name: "Victor", tier: "Legate", focus: "Policy" },
7171
{ id: "fares", name: "Fares", tier: "Legate", focus: "Economics" },
7272
{ id: "sesh", name: "Sesh", tier: "Legate", focus: "Security" },
7373
];

src/data/mock/chambers.ts

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,45 +21,48 @@ export type Chamber = {
2121

2222
export const chambers: Chamber[] = [
2323
{
24-
id: "protocol-engineering",
25-
name: "Protocol Engineering",
24+
id: "engineering",
25+
name: "Engineering",
2626
multiplier: 1.5,
2727
stats: { governors: "22", acm: "3,400", mcm: "1,600", lcm: "1,800" },
2828
pipeline: { pool: 2, vote: 2, build: 1 },
2929
},
3030
{
31-
id: "research-cryptobiometrics",
32-
name: "Legal",
33-
multiplier: 1.8,
34-
stats: { governors: "15", acm: "2,600", mcm: "1,200", lcm: "1,400" },
35-
pipeline: { pool: 2, vote: 1, build: 0 },
36-
},
37-
{
38-
id: "treasury-economics",
39-
name: "Treasury & Economics",
31+
id: "economics",
32+
name: "Economics",
4033
multiplier: 1.3,
4134
stats: { governors: "18", acm: "2,950", mcm: "1,400", lcm: "1,550" },
4235
pipeline: { pool: 2, vote: 2, build: 1 },
4336
},
4437
{
45-
id: "formation-logistics",
46-
name: "Formation Logistics",
38+
id: "product",
39+
name: "Product",
4740
multiplier: 1.2,
4841
stats: { governors: "12", acm: "1,900", mcm: "900", lcm: "1,000" },
4942
pipeline: { pool: 1, vote: 0, build: 3 },
5043
},
5144
{
52-
id: "social-outreach",
53-
name: "Social Outreach",
45+
id: "marketing",
46+
name: "Marketing",
5447
multiplier: 1.1,
5548
stats: { governors: "10", acm: "1,480", mcm: "700", lcm: "780" },
5649
pipeline: { pool: 1, vote: 1, build: 0 },
5750
},
5851
{
59-
id: "security-council",
60-
name: "Security Council",
61-
multiplier: 1.7,
52+
id: "general",
53+
name: "General",
54+
multiplier: 1.2,
55+
stats: { governors: "15", acm: "2,600", mcm: "1,200", lcm: "1,400" },
56+
pipeline: { pool: 2, vote: 1, build: 0 },
57+
},
58+
{
59+
id: "design",
60+
name: "Design",
61+
multiplier: 1.4,
6262
stats: { governors: "23", acm: "3,800", mcm: "1,800", lcm: "2,000" },
6363
pipeline: { pool: 1, vote: 2, build: 1 },
6464
},
6565
];
66+
67+
export const getChamberById = (id: string | undefined): Chamber | undefined =>
68+
(id ? chambers.find((chamber) => chamber.id === id) : undefined) ?? undefined;

src/data/mock/factions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const factions: Faction[] = [
9999
members: 17,
100100
votes: "17",
101101
acm: "1,780",
102-
focus: "Security & protocol",
102+
focus: "Engineering & security",
103103
goals: [
104104
"Require clear specs and review before upgrades.",
105105
"Prefer verified safety over “ship now, patch later.”",

src/data/mock/feed.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const feedItems: FeedItem[] = [
2929
{
3030
id: "voluntary-commitment-staking",
3131
title: "Voluntary Governor Commitment Staking",
32-
meta: "Governance chamber · Legate tier",
32+
meta: "General chamber · Legate tier",
3333
stage: "vote",
3434
summaryPill: "No mandatory stake",
3535
summary:
@@ -63,7 +63,7 @@ export const feedItems: FeedItem[] = [
6363
{
6464
id: "evm-dev-starter-kit",
6565
title: "Humanode EVM Dev Starter Kit & Testing Sandbox",
66-
meta: "Protocol chamber · Legate tier",
66+
meta: "Engineering chamber · Legate tier",
6767
stage: "build",
6868
summaryPill: "Milestone 1 / 3",
6969
summary:
@@ -111,14 +111,14 @@ export const feedItems: FeedItem[] = [
111111
},
112112
{
113113
id: "protocol-council-thread",
114-
title: "Protocol Council Thread",
115-
meta: "Protocol chamber · Thread",
114+
title: "Engineering thread",
115+
meta: "Engineering chamber · Thread",
116116
stage: "thread",
117-
summaryPill: "Protocol chamber",
117+
summaryPill: "Engineering chamber",
118118
summary: "Incident review for redundant checkpoints · new replies.",
119119
ctaPrimary: "Open thread",
120120
ctaSecondary: "Mark read",
121-
href: "/app/chambers/protocol-engineering",
121+
href: "/app/chambers/engineering",
122122
timestamp: "2025-03-30T05:10:00Z",
123123
},
124124
{

src/data/mock/formation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const formationProjects: FormationProject[] = [
3131
{
3232
id: "evm-dev-starter-kit",
3333
title: "Humanode EVM Dev Starter Kit & Testing Sandbox",
34-
focus: "Protocol chamber · Developer tooling",
34+
focus: "Engineering chamber · Developer tooling",
3535
proposer: "Sesh",
3636
summary:
3737
"Starter kit + public sandbox so developers can deploy EVM dApps on Humanode in under 30 minutes.",

src/data/mock/humanNodeProfiles.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,19 @@ const defaultGovernanceActions: GovernanceAction[] = [
7373
{
7474
title: "EVM Dev Starter Kit",
7575
action: "Reviewed scope",
76-
context: "Protocol chamber",
76+
context: "Engineering chamber",
7777
detail: "Left notes on SDK ergonomics and sandbox onboarding flow.",
7878
},
7979
{
8080
title: "Commitment staking",
8181
action: "Casted vote",
82-
context: "Governance chamber",
82+
context: "General chamber",
8383
detail: "Suggested UX framing for voluntary vs mandatory stake.",
8484
},
8585
{
8686
title: "Chamber policy refresh",
8787
action: "Commented",
88-
context: "Legal chamber",
88+
context: "General chamber",
8989
detail: "Proposed a short checklist for proposal compliance and clarity.",
9090
},
9191
{
@@ -103,7 +103,7 @@ const defaultGovernanceActions: GovernanceAction[] = [
103103
{
104104
title: "Governance onboarding",
105105
action: "Hosted session",
106-
context: "Social Outreach",
106+
context: "Marketing",
107107
detail: "Walked new governors through pools, chambers, and Formation.",
108108
},
109109
];
@@ -112,21 +112,21 @@ const defaultActivity: HistoryItem[] = [
112112
{
113113
title: "EVM Dev Starter Kit",
114114
action: "Reviewed scope",
115-
context: "Protocol chamber",
115+
context: "Engineering chamber",
116116
detail: "Left notes on SDK ergonomics and sandbox onboarding flow.",
117117
date: "Epoch 214",
118118
},
119119
{
120120
title: "Commitment staking",
121121
action: "Casted vote",
122-
context: "Governance chamber",
122+
context: "General chamber",
123123
detail: "Suggested UX framing for voluntary vs mandatory stake.",
124124
date: "Epoch 209",
125125
},
126126
{
127127
title: "Chamber policy refresh",
128128
action: "Commented",
129-
context: "Legal chamber",
129+
context: "General chamber",
130130
detail: "Proposed a short checklist for proposal compliance and clarity.",
131131
date: "Epoch 205",
132132
},
@@ -140,7 +140,7 @@ const defaultActivity: HistoryItem[] = [
140140
{
141141
title: "Governance onboarding",
142142
action: "Hosted session",
143-
context: "Social Outreach",
143+
context: "Marketing",
144144
detail: "Walked new governors through pools, chambers, and Formation.",
145145
date: "Epoch 198",
146146
},

0 commit comments

Comments
 (0)