SIGN IN SIGN UP

fix(ui): improve Team setup recovery (#1561)

## Description

Improve Team setup recovery and Project repair UX: keep stale states fail-closed, route actionable repair work to Projects, preserve useful labels, remove transient layout shifts, and content-hash the staged Viewer bundle URL.

## Type of Change

- [ ] 🚀 Feature (new functionality)
- [x] 🐛 Bug fix (fixes an issue)
- [ ] 📚 Documentation (docs-only change)
- [ ] 🔧 Maintenance (refactor, chore, CI, etc.)
- [ ] 🧪 Testing (test-only changes)

## Testing

- [x] Relevant checks pass locally (`pnpm run tsc`, `pnpm run lint`, `pnpm run test`)
- [x] Added/updated tests for changes
- [x] Manually verified changes work as expected

## Checklist

- [x] Code follows project style (`pnpm run lint` passes for touched files)
- [x] Self-review completed
- [x] Documentation updated (if needed)
- [x] No new warnings introduced
A
Adam Kunicki committed
847f227709baa8cc09eebfbc53269a4fde66f097
Parent: 3d4c3dc
Committed by GitHub <noreply@github.com> on 9/1/2026, 5:47:33 PM