mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 02:59:07 +08:00
Previously, the reports section used `1fr` grid tracks, which cannot shrink below a grid item's min-content width — a table-style report with many columns (e.g. a wide Data Explorer query) forced its column to grow and blew the whole section out of the page. This change caps the tracks with `minmax(0, 1fr)`, so cards keep equal widths and wide tables are clipped at the card edge; admins can click into the report to see the full table. Before: <img width="1112" height="874" alt="Screenshot 2026-07-13 at 1 44 04 pm" src="https://github.com/user-attachments/assets/e0778374-ff29-4964-872f-7dcab9bf1ce0" /> After: <img width="1087" height="850" alt="Screenshot 2026-07-13 at 1 44 40 pm" src="https://github.com/user-attachments/assets/7a47e04d-4983-4051-84f3-b9ef48c79d5d" /> |
||
|---|---|---|
| .. | ||
| admin/assets/javascripts/admin | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Data Explorer Plugin
This plugin allows admins to run SQL queries against the live Discourse database, including parameterized queries and formatting for several common column types.
For more information, please see: https://meta.discourse.org/t/data-explorer-plugin/32566