#986 · Settings › FM views: one place linking Football Manager's views to the capture, for squad and league

This shows the end state, after #986, #978 and #985 in that order. #986 ships the tab with today's seven metric views on each side and one category per view. #978 lets a view hold several categories and moves the squad to your two views. #985 does the league once its test capture settles the width.

Each card is one capture step. Drag a metric category onto another card (or click it, then Move here) to capture it from that view instead. Every count and column list is computed from the app's own column definitions as shipped (read from a freshly migrated database). League columns come from the dials the same way LeagueSampleStore.GetViewSchemaAsync works them out: what the dials plot, plus the totals their percentages are taken over.

Why it is shaped like this

  1. Categories go in views, not single columns. A capture replaces a category's figures for its date as one unit. If one category were split over two views, capturing the second would wipe what the first stored. Columns still move between categories on the Categories tab.
  2. Only Metrics can have several views. Attributes and Statistics are stored as one capture per player per date, so each stays one view (only its name can change). Squad view stays first, because it is the step that finds the players.
  3. A view holds one kind of data. Fouls Made and Goals Conceded are both a statistic and a metric, so a mixed view's headers would be ambiguous.
  4. Squad and league are grouped separately; the categories are shared. A category made on the Categories tab turns up on both.

Decisions, with my recommendation

Mockup controls (not in the app): Squad League
Squad Vision· Settings

Settings

A new view is not a step until a category is in it.