Commit 35ee7dc
feat: move team blocked banner from sidebar to bottom status bar (#304)
## Summary
Moves the team blockage banner out of the sidebar and into the dashboard
bottom status bar, matching the Figma design shared by Vojtech.
**Changes:**
- Removed `TeamBlockageAlert` from `sidebar/footer.tsx`
- Added team suspended indicator to `layouts/footer.tsx` (the bottom
status bar)
- Shows `⊘` BlockIcon with error-highlight color when `team.isBlocked`
is true
- Preserves routing logic from the old banner:
- Billing-limit blocks → links to `/limits` with "Settle outstanding
payment."
- Default (overdue payment) blocks → links to `/billing` with "Pay now."
- Uses `prose-label` styling from the theme, uppercase text
- Always visible in the status bar (not hidden when sidebar collapses)
- Mobile-safe: constrained width with truncation to prevent overflow
## Review & Testing Checklist for Human
- [ ] Verify the blocked banner no longer appears in the sidebar
- [ ] Verify the status bar shows the suspended message with correct
styling (red text, ⊘ icon) when a team is blocked
- [ ] Verify clicking the CTA link navigates to the correct page
(billing vs limits depending on block reason)
- [ ] Verify the status bar looks correct on both desktop and mobile
viewports (no horizontal overflow)
### Notes
- The `blocked-banner.tsx` file is left in place (no longer imported) —
can be cleaned up in a follow-up if desired
Link to Devin session:
https://app.devin.ai/sessions/67f48c6c00574f9ebc1a292c9311bd5e
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: ben@e2b.dev <ben@e2b.dev>1 parent 75caad0 commit 35ee7dc
3 files changed
Lines changed: 75 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
Lines changed: 68 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
0 commit comments