Skip to content

System override: add secret pulse button#521

Merged
jbampton merged 2 commits into
NextCommunity:mainfrom
surbhibadhe:add-pulse-button
Jun 11, 2026
Merged

System override: add secret pulse button#521
jbampton merged 2 commits into
NextCommunity:mainfrom
surbhibadhe:add-pulse-button

Conversation

@surbhibadhe

Copy link
Copy Markdown
Contributor

Changes:

  • Added a PULSE button to the System Override panel.
  • Connected the button to the existing triggerSecretUnlock('pulse') functionality.

Testing:

  • Verified the PULSE button appears in the System Override panel.
  • Verified clicking the button triggers the pulse secret.
Screenshot 2026-06-11 175559

@surbhibadhe surbhibadhe changed the title Add pulse button to system override panel System override: add secret pulse button Jun 11, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new 'PULSE' button to the system override interface. The review comment points out a layout alignment issue in the grid where the new button causes a height mismatch with the 'Force Surge' button, and suggests adding 'col-span-3' to the 'Force Surge' button to push it to its own row.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +20 to +22
<button onclick="triggerSecretUnlock('pulse')" class="override-btn py-1.5 bg-orange-500/5 hover:bg-orange-500/20 text-orange-400 text-[8px] border border-orange-500/20 rounded transition-all">
PULSE
</button>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

📐 Layout Alignment Issue

Adding the PULSE button increases the number of small buttons to 5. In the current 3-column grid layout (grid-cols-3), this causes the larger Force Surge button to be positioned in the same row as MATRIX and PULSE (Row 2, Column 3).

The Problem:

  • Height Mismatch: Because CSS Grid items stretch to match the row height by default, the smaller MATRIX and PULSE buttons will stretch vertically to match the taller Force Surge button.
  • Visual Inconsistency: This makes Row 2 significantly taller than Row 1, leading to an uneven and misaligned layout.

Recommended Solution:

Update the Force Surge button (lines 23-27) to span all 3 columns using col-span-3. This will cleanly push it to its own row at the bottom, keeping the small buttons perfectly aligned and consistent in height.

<button onclick="triggerForceSurge()"
    class="col-span-3 relative overflow-hidden py-2 px-6 bg-blue-600/20 text-blue-300 border-2 border-blue-400 rounded-lg font-bold tracking-[0.2em] transition-all hover:bg-blue-500/40 hover:shadow-[0_0_30px_rgba(59,130,246,0.6)] animate-pulse uppercase">
    ...
</button>

@BaseMax

BaseMax commented Jun 11, 2026

Copy link
Copy Markdown
Member

Hi @surbhibadhe, welcome and many thanks for your PR. Checking...

@BaseMax

BaseMax commented Jun 11, 2026

Copy link
Copy Markdown
Member

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new "PULSE" override button to the system-override.njk template, which triggers the triggerSecretUnlock('pulse') function when clicked. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@jbampton jbampton self-assigned this Jun 11, 2026
@jbampton jbampton moved this to Review in progress in Next Jun 11, 2026
@jbampton jbampton added this to the Turbo milestone Jun 11, 2026

@jbampton jbampton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks 🏂

@github-project-automation github-project-automation Bot moved this from Review in progress to Reviewer approved in Next Jun 11, 2026
@jbampton jbampton merged commit 5856ed8 into NextCommunity:main Jun 11, 2026
13 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Next Jun 11, 2026
@jbampton jbampton linked an issue Jun 11, 2026 that may be closed by this pull request
@BaseMax

BaseMax commented Jun 12, 2026

Copy link
Copy Markdown
Member

Many thanks for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

System override: add secret pulse button

3 participants