Skip to content

fix(GAT-9883): Stop homepage hover panel resizing on hover - #1759

Open
philreekshdr wants to merge 2 commits into
devfrom
fix/GAT-9883
Open

philreekshdr wants to merge 2 commits into
devfrom
fix/GAT-9883

Conversation

@philreekshdr

Copy link
Copy Markdown
Collaborator

Disclaimer: AI (Claude) was used to assist with implementing and documenting the changes in this PR.

Describe your changes

On the homepage, hovering or focusing a resource button changed the panel's title and text, and the panel resized to fit. That pushed the buttons below it up or down while the pointer was still on them. The panel now keeps enough height for its longest content, and the rotating featured-metric line keeps a fixed height in the same way. The hidden options are marked aria-hidden so screen readers only read the visible one. A new Cypress test checks that a button stays in place when focusing it changes the content.

This branch also fixes long tags on the dataset page, such as dataset aliases and keywords, which were cut off at both edges. They now end in "…" at the existing 200px limit, and a tooltip shows the full text on hover or focus, positioned the same way as the DUO code chip tooltips.

Issue ticket link

https://hdruk.atlassian.net/browse/GAT-9883

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have added appropriate unit tests / e2e tests (where relevant)
  • I have created mocks for api endpoints (where appropriate)
  • The interface is responsive (where ticket is relevant)
  • The interface is at least AA (where ticket is relevant)
  • Commits are described as "(chore|fix|feature|test|maintenance): description"

@gh-actions-pipelines-app

Copy link
Copy Markdown

🎉 Great job! Your PR title follows the correct format. 🚀

This branch had an error being deployed

1 failed and 1 active deployments
cypress_dev — 30d9b34a Deployed Nov 20, 2026 by philreekshdr via e2e-tests #717
dev — 30d9b34a Deployed Nov 20, 2026 by philreekshdr via test #6461
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