Jump to content

Template talk:44th Canada Senate standings change

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Proposal to Replace Horizontal Layout with Validated Vertical Version

[edit]

Hi everyone — I've been working on a more readable, scroll-friendly version of this template that preserves all the same data, but formats it as a vertically scrolling table with sticky headers, color bars, and proper rowspan support. The result is much easier to navigate chronologically, especially on mobile or smaller screens.

The proposed version is here: 📎 User:Canadianpoliticaljunkie/sandbox

It includes:

  • A sticky header and group color bars (with fixed CPC colour)
  • Strict 8-column layout: Date, ISG, CSG, PSG, CPC, NA, Vacant, Total
  • rowspan applied only to stable values, just like standing change tables used in other contexts
  • Compressed event-based timeline using validated counts (through March 25, 2025)
  • No layout breakage, even under mobile preview or wide viewport

This change is visual only — the data is the same, just presented more clearly.

I’d really appreciate any feedback or concerns before proposing a switch. Tagging some editors who’ve worked on or shown interest in this template: @User:Wellington Bay @User:Pidashton @User:Bearcat @User:Kawnhr @User:Arctic.gnome @User:MikkelJSmith2 @User:Canterbury Tail @User:RedBlueGreen93 @User:Moxy @User:Bruce1ee @User:SMcCandlish

Thanks for considering — happy to adjust based on feedback or consensus.

Canadianpoliticaljunkie (talk) 13:41, 30 March 2025 (UTC)[reply]

It looks like it takes up more screen space, especially on a mobile device. Wellington Bay (talk) 14:14, 30 March 2025 (UTC)[reply]
Thanks for the feedback! I’ll take a look at how to further optimize for mobile. What kind of device were you using? Canadianpoliticaljunkie (talk) 17:40, 30 March 2025 (UTC)[reply]
Updated; I think I've just about eliminated side-scrolling on my iPhone. Do you have a different device to test on? Canadianpoliticaljunkie (talk) 20:27, 30 March 2025 (UTC)[reply]
Might be doable, if Wellington_Bay's issue report is resolved. However, use {{abbr}} on "NA", "Vac.", and "Tot."  — SMcCandlish ¢ 😼  08:59, 31 March 2025 (UTC)[reply]
fixed Canadianpoliticaljunkie (talk) 09:24, 31 March 2025 (UTC)[reply]
I think it would look better if the row of colours was also frozen during scrolling. Wellington Bay (talk) 09:23, 31 March 2025 (UTC)[reply]
I was thinking about that, but haven't figured out how to do it yet. Canadianpoliticaljunkie (talk) 09:31, 31 March 2025 (UTC)[reply]
Update: Figured out how! Canadianpoliticaljunkie (talk) 09:49, 31 March 2025 (UTC)[reply]