Skip to content

cowprotocol/cow-triage-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฎ CoW Triage

Live app GitHub API Static app

A compact review workload board for CoW Protocol PRs. See who is currently requested for review, which team queues are aging, and which PRs still need a reviewer.

Open it: https://cow-triage-web.vercel.app/

Screenshot_20260513_153047

โœจ What It Does

  • ๐Ÿง‘โ€๐Ÿ’ป Groups open PRs by requested reviewer, requested GitHub team, or no active review request.
  • ๐Ÿšฆ Highlights PR age: green <7d, yellow 7-14d, red >14d.
  • ๐Ÿ”ฅ Surfaces aging reviews, oldest PRs per lane, and PRs with no active review request.
  • ๐Ÿงญ Defaults to cowprotocol/cowswap, with searchable repo switching.
  • ๐Ÿ”Ž Filters by age, reviewer/team, activity, review need, sort mode, and free-text PR search.
  • โœ… Shows review signals like approvals, changes requested, and review/comment activity.
  • ๐Ÿ™‹ Shows a token-aware Needs my attention view for requested PRs you did not author and have not reviewed or commented on yet.
  • ๐Ÿ‘ฅ Shows requested GitHub team lanes first when team data is available.
  • ๐Ÿ”— Keeps filters in the URL so views are easy to share.
  • ๐Ÿ’ค Hides draft PRs by default, including from counts and metrics.
  • ๐Ÿ” Auto-refreshes on a configurable interval.

๐ŸŽฏ Why It Exists

CoW Triage shows current requested-review load, not historical reviewer output. It helps answer:

  • Who currently has the most requested reviews?
  • Which queue has the oldest waiting PR?
  • Which PRs have no active review request?
  • Which team review requests are aging?

๐Ÿ•น๏ธ How To Use

  1. Pick a repo from the searchable repo selector.
  2. Use the age, reviewer/team, activity, review need, sort, and search filters to narrow the board.
  3. Click Aging reviews to jump to PRs open for more than 14 days.
  4. Click No active review request to focus PRs with no current requested reviewer/team.
  5. Use Clear filters to reset target/activity/review need/age/search while keeping the selected repo.
  6. Open Settings to change card gradients, draft visibility, auto-refresh, or GitHub token.

๐Ÿ” GitHub Token Safety

A token is optional for public PRs, but useful to avoid rate limits and required to see org team review requests and private repos reliably.

Without a token, CoW Triage only sees public GitHub data. With a token, it can only show private repositories your GitHub account is already allowed to access.

Use a fine-grained token for cowprotocol with only:

  • Metadata: read
  • Pull requests: read

Avoid classic tokens. Do not grant write, admin, workflow, code, or organization-management permissions. The token is stored only in this browser session and is sent only to GitHub.

๐Ÿ”— Shareable Views

Filters are reflected in the URL:

?repo=cowswap&target=team:frontend&status=ready&review=needs-review&age=red&sort=priority&drafts=hide

Supported params:

  • repo=cowswap
  • target=all | user:<handle> | team:<slug> | unassigned
  • status=all | ready | stale | draft
  • review=all | needs-review | needs-my-attention | enough-approvals | has-review-activity
  • age=all | green | yellow | red | draft
  • sort=priority | oldest | recently-updated | newest
  • drafts=hide | show

GitHub tokens are never written to the URL.

๐Ÿงฑ Local Dev

No build step required:

open index.html

The app is plain HTML, CSS, and JavaScript using the GitHub REST API.

About

๐Ÿค  A compact review workload board for CoW Protocol PRs. See who is currently requested for review, which team queues are aging, and which PRs still need a reviewer.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors