Skip to content

Replace text buttons with icons and add tooltips#8

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/replace-buttons-with-icons
Draft

Replace text buttons with icons and add tooltips#8
Copilot wants to merge 3 commits intomainfrom
copilot/replace-buttons-with-icons

Conversation

Copy link
Copy Markdown

Copilot AI commented Nov 17, 2025

The T, c, and i buttons lacked visual clarity and discoverability. This PR replaces them with icons and adds title attributes for tooltips.

Changes

  • New icon components following existing SVG pattern with var(--color-icon):

    • IconVisibility - eye icon for toggle visibility (T/t → 👁️)
    • IconClone - overlapping squares for duplication (c → ▢▢)
    • IconInvert - circle with X for matrix inversion (i → ⊗)
  • Added tooltips to all control buttons:

    • Dynamic tooltip for visibility: "Show matrix" / "Hide matrix"
    • Static tooltips for: Clone, Invert, Move left/right, Delete
<button
  className={styles.button}
  onClick={toggleMatrix}
  title={visible ? 'Hide matrix' : 'Show matrix'}
>
  <IconVisibility />
</button>

Screenshots

Before:
before

After:
after

Tooltip demo:
tooltip

Original prompt

This section details on the original issue you should resolve

<issue_title>Replace T c i with icons and add titles</issue_title>
<issue_description>Replace the T, c, and i buttons with icons that better depict they're functionality. Also add title attributes so that we get tooltips that make the functionality extra clear.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 17, 2025 05:01
Co-authored-by: bschlenk <1390303+bschlenk@users.noreply.github.com>
Co-authored-by: bschlenk <1390303+bschlenk@users.noreply.github.com>
Copilot AI changed the title [WIP] Replace T, c, and i buttons with icons and add titles Replace text buttons with icons and add tooltips Nov 17, 2025
Copilot AI requested a review from bschlenk November 17, 2025 05:10
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.

Replace T c i with icons and add titles

2 participants