Skip to content

Conversation

Copy link

Copilot AI commented Jan 28, 2026

What

Adds collapsible bottom bar in proposals/grants recap screens. Users reviewing submissions often need more screen space; the fixed statistics bar consumes ~100px at bottom.

Implementation:

  • Circular toggle button (bottom-right, z-index 501) with ▼/▲ indicator
  • CSS transform animation (translateY(100%) when hidden, 0.3s ease-in-out)
  • Button repositions itself: bottom: 100px when bar visible, 10px when hidden
  • localStorage persistence with page-specific keys (proposalsBottomBarHidden, grantsBottomBarHidden)
  • Full ARIA support (aria-label, aria-expanded dynamic updates, aria-hidden on icon)
  • Null-safe initialization (checks element existence, console.warn on missing DOM)

Affected templates:

  • backend/reviews/templates/proposals-recap.html - always shows toggle
  • backend/reviews/templates/grants-recap.html - toggle rendered inside permission block

Technical details:

  • Event listener consolidated into existing window.addEventListener('load') handlers (no duplicates)
  • Button uses sibling combinator (~) for conditional positioning CSS
  • Graceful degradation if localStorage unavailable

ToDo

  • Implement toggle functionality
  • Add accessibility attributes
  • Consolidate event listeners
  • Add null checks
  • Fix permission-based rendering

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link

vercel bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
pycon Ready Ready Preview Jan 28, 2026 4:58pm

Co-authored-by: marcoacierno <3382153+marcoacierno@users.noreply.github.com>
… localStorage keys

Co-authored-by: marcoacierno <3382153+marcoacierno@users.noreply.github.com>
Co-authored-by: marcoacierno <3382153+marcoacierno@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement ability to hide reviews bottom bar element Add toggle to hide reviews bottom bar in recap screens Jan 28, 2026
Copilot AI requested a review from marcoacierno January 28, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants