0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-data-explorer
Krzysztof Kotlarek 70cdb7885a
UX: Prevent wide tables from breaking the dashboard (#41648)
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"
/>
2026-07-14 08:59:53 +08:00
..
admin/assets/javascripts/admin UI: Add the DE search table hiding mechanism back per before (#41278) 2026-06-30 13:48:33 +08:00
app DEV: Add usage metrics for workflows, automations, and data explorer (#41437) 2026-07-13 11:41:58 +02:00
assets UX: Prevent wide tables from breaking the dashboard (#41648) 2026-07-14 08:59:53 +08:00
config I18N: Update translations (#41653) 2026-07-13 17:38:52 +02:00
db PERF: Improve user participation default query (#41676) 2026-07-13 16:15:05 -04:00
lib PERF: Improve user participation default query (#41676) 2026-07-13 16:15:05 -04:00
spec DEV: Add usage metrics for workflows, automations, and data explorer (#41437) 2026-07-13 11:41:58 +02:00
test/javascripts DEV: Turn on AI data explorer queries by default (#41581) 2026-07-09 13:49:10 +08:00
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: Add usage metrics for workflows, automations, and data explorer (#41437) 2026-07-13 11:41:58 +02:00
README.md
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

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