#1540 · Screens on panels: Squad comparison first

What's wrong today. The tab and the expanded window put the screen on different backgrounds. On the tab the screen sits on the card colour #141B2E. In the expanded window it sits on the backdrop #0B0F1A. The squad list is painted in the card colour too, so on the tab it disappears into the host and only its 1px edge shows, while expanded it stands out. The comparison side has no panel on either: its header, chips, sub-tabs and Grid / Spread / Shape row sit on whatever is behind them, and only the figures below sit on a panel.

The proposal: one rule for every screen.

  1. The expanded window uses the tab's background , so a screen looks the same in both places and the next rule only has to work on one background. The window keeps its edge and radius, so it still reads as a window over the app.
  2. Everything below the screen header sits on a panel: PanelFrame #1A2236, the brush most screens already use. On the rail screens that means two panels side by side: the squad list (moved up from the card colour, so it shows on the tab) and the comparison, holding the header, chips, sub-tabs, view switch and figures.
  3. Nesting stays at two levels. The "Their attributes" card loses its own panel and becomes the comparison panel's content. The group cards inside drop to the inset brush #161E33, a step under the panel, so they read as sections of it rather than a third stacked box.
  4. The screen header (title, subtitle, Help, Expand / Collapse) stays on the background, as it does on every screen.

Use the switches to compare the tab and the expanded window, today and the proposal. "Expanded background" lets you keep today's darkest backdrop in the expanded window and see that the panels still work there, so rule 1 can be dropped if you'd rather keep it. Figures come from your screenshot.

Window Layout Expanded background
Man Utd - Squad Vision / Man Utd

Squad comparison

Comparing 3Man Utd · First Team · at their latest capture, May 26/27
Guglielmo Vicario × Sam Johnstone × Senne Lammens × Clear
AttributesStatistics & metricsAttributes & outputGame time & formContracts & termsHistory
3 playersHide where they match
Their attributes at May 26/27 Collapse all
VicarioJohnstoneLammens

The other screens

A survey of every expandable screen's XAML. "Bare" means it sits straight on the host, with no panel under it. With the proposal, each bare item below moves onto a panel: either the panel already under the content beneath it, or a new one when there is none. Tabs that switch a whole screen (Summary's Team / Players / Moves / Youth and the like) are the exception, see the question at the end.

ScreenBare todayAlready on panels
Player evolutionThe header bar (name, title), the sub-tab rowThe pick prompt, each tab's tiles
Player comparisonThe header bar. Its body sits on a backdrop-coloured box, darker than the tab, and the control rows sit on thatThe tables and radars
Squad comparisonThe header bar, the sub-tabs, Grid / Spread / Shape and its checkbox, the empty stateThe figures card
League comparisonThe side and view switches, Season / League / Rank, the dial key rowThe tables and dial cards
SummaryTeam / Players / Moves / Youth tabs, the section labels ("Where we stand" and the rest)Every season card, the setup cards
Squad depthThe Season row (picker, Plan, Update, Rebuild), Pitch / Depth / Verdict and the By position tabs, the "Most suited to" tray, the pitch markings, the squad list's headingThe formation tray, the By player / Key players / Coverage / Depth cards, the squad list rows
Season reviewSummary / Progress tabs, the Seasons chips, the explainer and notes rows, the dial-picked line, the figure page's chipsThe tables and charts
SigningsOverview / Season / Player tabs, the Season headingEverything else
Youth intakesThe tabsImproving and Intakes (done in an earlier change); All intakes to check
Club recordsThe tab strip, the leaderboard figure chipsRecord cards, the table, the leaderboard columns
ScoutingThe tabs, the League and choices row, the dial key and capture lineLeaders, the Player view
Capture previewsThe tab buttons, date picker, Delete and Expand row, the category chipsThe grids paint the card colour themselves, with no panel edge

Questions for you

  1. Expanded background: match the tab (rule 1), or keep the darkest backdrop?
  2. A screen's own tabs (Summary's Team / Players / Moves / Youth, Signings' Overview / Season / Player): on the panel with the content they switch, as on Squad comparison here, or left on the background as the screen's top level, with the panel starting under them? I'd put them on the panel, so the rule has no exceptions.
  3. The build: one PR for the rail screens (the shared workspace fixes all four), then the other screens in one or two more PRs as sub-issues?