Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make icons change layout too [#1911] #1912

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

genehack
Copy link
Contributor

Description of proposed changes

This PR adds wrapping <span>s to the grid/full buttons in the layout sub-panel, so clicking the icons changes the layout, just like clicking the words.

Related issue(s)

Closes #1911

Checklist

@nextstrain-bot nextstrain-bot temporarily deployed to auspice-make-grid-full--twbgmz November 20, 2024 00:32 Inactive
@genehack genehack force-pushed the make-grid-full-icons-work-1911 branch from d4688c0 to 400d5ee Compare December 5, 2024 23:50
@genehack genehack requested a review from victorlin December 5, 2024 23:51
@victorlin victorlin temporarily deployed to auspice-make-grid-full--mxzwxw December 6, 2024 17:23 Inactive
@genehack genehack force-pushed the make-grid-full-icons-work-1911 branch from 400d5ee to 6c2bfd6 Compare December 6, 2024 19:17
@genehack genehack temporarily deployed to auspice-make-grid-full--mxzwxw December 6, 2024 19:18 Inactive
Copy link
Member

@victorlin victorlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog entry, maybe?

@genehack genehack force-pushed the make-grid-full-icons-work-1911 branch from 6c2bfd6 to 7971a1e Compare December 6, 2024 22:56
@genehack genehack temporarily deployed to auspice-make-grid-full--mxzwxw December 6, 2024 22:56 Inactive
@genehack
Copy link
Contributor Author

genehack commented Dec 6, 2024

Changelog entry, maybe?

Added & force-pushed — in a "NEXT" section, as I don't think this change by itself deserves a release?

@victorlin
Copy link
Member

No need for a new section header, it is automatically added in the release script:

echo -e "# Changelog\n\n## version ${newVersion} - ${today}\n\n$(tail -n +2 CHANGELOG.md)" > CHANGELOG.md

This leads to a slight styling change, but is probably Close Enough™
@genehack genehack force-pushed the make-grid-full-icons-work-1911 branch from 7971a1e to 261b86a Compare December 6, 2024 23:02
@genehack genehack temporarily deployed to auspice-make-grid-full--mxzwxw December 6, 2024 23:02 Inactive
@genehack
Copy link
Contributor Author

genehack commented Dec 6, 2024

ah, okay, cool, removed, re-pushed.

@genehack genehack merged commit 0fea602 into master Dec 6, 2024
18 checks passed
@genehack genehack deleted the make-grid-full-icons-work-1911 branch December 6, 2024 23:31
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.

"Grid" and "Full" icons are not click targets, only the text responds to clicks
3 participants