georgetown-cset / parat

🦜 PARAT: CSET's Private-sector AI-Related Activity Tracker
https://parat.cset.tech
Other
4 stars 0 forks source link

Rework buttonbar label visibility based on viewport #466

Closed brianlove closed 6 days ago

brianlove commented 6 days ago

Adjust the visibility of the labels for the Reset, Download, and Column buttons based on the available space in the buttonbar. Download's label will hide first (still accessible to screen readers), followed by Add/Remove Columns, and finally Reset. If not enough space is available for the "Viewing X of Y..." text and/or buttons, they will wrap onto the next row of the buttonbar.

Closes #464

https://github.com/georgetown-cset/parat/assets/22353962/ea668442-95db-4464-ab2b-0d3b75a32531

github-actions[bot] commented 6 days ago

No need for rebasing :+1: behind_count is 0 ahead_count is 1

github-actions[bot] commented 6 days ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
637 425 67% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 534e53d by action🐍

github-actions[bot] commented 6 days ago

JavaScript Coverage

Summary

Lines Statements Branches Functions
Coverage: 68%
68.43% (451/659) 55.58% (229/412) 69.89% (137/196)
Modified Files • (68%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files68.4355.5869.8968.26 
components64.5654.8164.4964.19 
   ListViewTable.jsx90.0674.7398.4389.93283, 366–367, 372–375, 492, 537, 647–649, 651–653, 744, 765–768, 784–785, 809–810, 813, 831–834, 858, 872–877