diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5c3296b74..efbeec3fd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,8 +14,10 @@ Single source of truth for developer and AI assistant rules. Tool-specific files - **Never add AI co-author to commits** — no "Co-Authored-By" lines for AI assistants. - **Do not generate .md files** unless explicitly told to. -## 🔀 Parallel Work +## 🔀 Git Workflow +- **NEVER commit or push directly to main** — all changes must go through a pull request. No exceptions. +- **Always work from a feature branch** — create a branch, push it, open a PR, wait for CI to pass, then merge. - **Use git worktrees** for parallel work (`claude --worktree ` or `git worktree add`). - Multiple agents/sessions must use separate worktrees to avoid collisions. @@ -116,7 +118,7 @@ Button, Card (named export), BaseInput, BaseSelect, Checkbox, Divider, Title, To ## 📁 Documentation -- **All docs go in `docs/`** (except root `README.md`, `SOP.md`, `CONTRIBUTING.md`). +- **All docs go in `docs/`** (except root `README.md` and `CONTRIBUTING.md`). - **Keep it concise** — AI tends to be verbose. No one reads that. - **Check existing docs** before creating new ones — merge instead of duplicate. - **Delete or edit outdated docs** instead of creating new ones. diff --git a/SOP.md b/docs/archive/SOP.md similarity index 100% rename from SOP.md rename to docs/archive/SOP.md diff --git a/src/components/Global/InvitesGraph/index.tsx b/src/components/Global/InvitesGraph/index.tsx index 2f1984d1a..49de10c73 100644 --- a/src/components/Global/InvitesGraph/index.tsx +++ b/src/components/Global/InvitesGraph/index.tsx @@ -2564,6 +2564,8 @@ export default function InvitesGraph(props: InvitesGraphProps) { handleResetView, handleReset, handleRecalculate, + hiddenStatuses, + setHiddenStatuses, })} diff --git a/src/constants/chains.consts.ts b/src/constants/chains.consts.ts index 4ff7b54e6..59352c55f 100644 --- a/src/constants/chains.consts.ts +++ b/src/constants/chains.consts.ts @@ -1,4 +1,9 @@ -// https://wagmi.sh/core/chains +// How to add a new chain: +// 1. If available in wagmi/chains (https://wagmi.sh/core/api/chains), import it directly. +// 2. If NOT in wagmi/chains, create a custom chain object (see `milkomeda` below for reference). +// 3. Add it to the `supportedPeanutChains` array at the bottom of this file. +// Note: Every chain used in the SDK MUST be listed here, or wallet interactions will break. +// Chains can be listed here even if not yet supported in the SDK. import type { Chain } from 'viem' import * as wagmiChains from 'wagmi/chains'