Skip to content

[BUG] [alpha] Source Control panel header Refresh and More Actions button icons not displaying — "arrows-rotate" and "ellipsis" icons missing, Git menu inaccessible #22232

Description

@Grizouforever

Project

ide

Description

In the Source Control (Git) panel header, the Refresh button and More Actions ("...") button icons fail to render — they appear as invisible/empty SVG elements. Only the Stage All ("+") button icon renders correctly between them. This makes the More Actions dropdown menu (containing Pull, Push, Fetch, Stash, Show History) effectively invisible and difficult to discover.

Steps to Reproduce

  1. Open Cortex IDE
  2. Switch to IDE mode
  3. Open the Source Control panel by clicking the Git branch icon in the activity bar
  4. Look at the panel header row next to "Source Control" text
  5. Observe: the Refresh button (left of "+") and More Actions button (right of "+") render as invisible/blank — only the "+" (Stage All) icon is visible

Expected Behavior

Three icon buttons should be visible in the Source Control header:

  • Refresh icon (circular arrows) — to refresh repository state
  • Stage All icon (+) — to stage all changes
  • More Actions icon (...) — to access Pull, Push, Fetch, Stash, Show History menu

Actual Behavior

Only the "+" (Stage All) icon renders. The Refresh and More Actions buttons render as empty, invisible 20×20px areas. The More Actions menu (Pull/Push/Fetch/Stash/History) is effectively hidden from users since the trigger button has no visible icon.

Evidence

In CortexGitPanel.tsx lines 158–162:

<CortexTooltip content="Refresh">
  <CortexIconButton icon="refresh" size={20} onClick={refresh} />
</CortexTooltip>
<CortexTooltip content="Stage All">
  <CortexIconButton icon="plus" size={20} onClick={stageAll} />
</CortexTooltip>
<CortexTooltip content="More Actions">
  <CortexIconButton icon="more" size={20} onClick={() => setShowDotsMenu((v) => !v)} />
</CortexTooltip>

Root cause: The icon names resolve through CortexIconICON_NAME_MAP:

  • "refresh""arrows-rotate" — NOT in the 50 inlined criticalIcons, SVG fetch fails (empty /svgs-full/light/ directory)
  • "more""ellipsis" — NOT in criticalIcons, same fetch failure
  • "plus""plus" — IS in criticalIcons → renders correctly ✓

The More Actions button at line 162 opens a CortexDropdownMenu (line 164) containing Pull, Push, Fetch, Stash, and Show History operations — all of which are inaccessible because the trigger button is invisible.

Screenshots

Full view — Red outlines highlight empty SVGs; two empty icons flanking the working "+" in the Source Control header:
Source Control header with missing icons highlighted

Zoomed 2.5× — Clearly showing the two empty icon buttons (red-outlined) next to the working "+" in the header:
Zoomed view of Source Control header missing icons

System Information

Cortex IDE alpha (v1.1.0) / Browser / Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideIssues related to IDEvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions