A Rally Custom View widget that displays User Stories in a kanban board grouped by their parent Feature (or other Portfolio Item type). Each parent becomes a collapsible swim lane row, and stories are organized into columns by Schedule State.
This widget is ported from the Rally App Catalog hackathon app
HierarchicalCardBoard (ExtJS SDK 2.0). The original source is preserved at:
code-viewer/dist/apps-html/HierarchicalCardBoard-App-20260412-213615.html
The legacy app had two panels: a left portfolio tree for selecting a parent item, and a right cardboard showing its children. The React port collapses both panels into a single flat board — all parent groups are visible simultaneously, eliminating the click-to-drill-down interaction that isn't well-suited to a fixed-size Custom View widget.
- Hierarchical grouping — User Stories grouped by parent Feature (or Epic)
- Collapsible parent rows — click a parent header to expand/collapse its stories
- Progress bar — per-parent
PercentDoneByStoryCountshown in the group header - State badge — parent's current State shown alongside its name
- Blocked stories — red ⊘ banner with blocked reason (symbol + text + color, accessible)
- Move menu — ⇄ button on each card to move it to any other Schedule State column
- Unparented group — stories with no Feature shown in a "(No Feature)" group
- Settings — parent item type, additional WSAPI filter, show/hide unparented stories
- Mock mode — 20 stories across 4 features, various states, including blocked and ready stories
| Column | Description |
|---|---|
| Defined | Work accepted into the backlog but not started |
| In-Progress | Active work underway |
| Completed | Work done, pending acceptance |
| Accepted | Accepted by Product Owner |
| Setting | Default | Description |
|---|---|---|
| Parent Item Type | Feature | Group stories by Feature or Epic |
| Additional Filter | (none) | Extra WSAPI filter, e.g. (Iteration.Name = "Sprint 42") |
| Show unparented stories | true | Show stories with no parent Feature |
For end-to-end setup — Rally API key, auth configuration, dev harness, and deployment — see docs/setup-guide.md.
Quick start once auth is configured:
npm install
npm run dev # Dev server (mock data) at http://localhost:5175
npm run build # Production IIFE bundle (live Rally data)
npm run build:mock # Mock bundle (no Rally credentials needed)
npm run typecheck # TypeScript check
npx widget-ai deploy # Build + deploy to Rally as a Custom Viewsrc/App.tsx— Main widget component, EditMode + ViewModesrc/types.ts—StoryCard,ParentItem,HierarchicalCardBoardDataProvider,HierarchicalCardBoardSettingssrc/data-provider.ts— Live Rally WSAPI providersrc/mock-data.ts— 20 mock stories across 4 parent featuressrc/main.tsx— Entry point, mock/live branchingsrc/components/BoardColumns.tsx— Column layout + per-column totalssrc/components/ParentGroup.tsx— Collapsible parent group with progress barsrc/components/StoryCardView.tsx— Individual story card with blocked banner and move menu
