Skip to content

feat: improve usability — double-click reset, chain-order badges, tooltips; update SVG screenshot - #15

Merged
GizzZmo merged 1 commit into
mainfrom
copilot/improve-usability-update-screenshots
May 3, 2026
Merged

feat: improve usability — double-click reset, chain-order badges, tooltips; update SVG screenshot#15
GizzZmo merged 1 commit into
mainfrom
copilot/improve-usability-update-screenshots

Conversation

Copilot AI commented May 3, 2026

Copy link
Copy Markdown
Contributor

Three targeted usability improvements to the plugin UI, plus an accurate replacement SVG screenshot.

Description

Double-click to reset knobs — every rotary slider now calls setDoubleClickReturnValue(true, defaultVal), where defaultVal is derived from the parameter's RangedAudioParameter normalizable range. Standard DAW convention, previously absent.

Hover tooltips — a juce::TooltipWindow (600 ms) is added to the editor. Each slider receives a setTooltip() showing full parameter name, min–max range, default value, and a reset hint. Fixes the usability gap caused by abbreviated labels like Fbk, Damp, Q.

Signal-chain order badgesdrawEffectPanel gains an int chainOrder parameter; a #N badge renders in the top-right of each panel header (cyan when active, gray when bypassed), mapping directly to the documented processing order:

#1 Bitcrusher → #2 Fuzz → #3 Compressor → #4 Ring Mod → #5 Wah
→ #6 Phaser → #7 Chorus → #8 Tremolo → #9 Delay → #10 Reverb

SVG screenshot — regenerated to match the actual 908×868 four-row layout. The old screenshot was 910×666 (three rows, missing Fuzz panel, pre-badge).

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring

Testing

  • Tested in DAW (specify which one):
  • Verified VST3 functionality
  • Verified AU functionality (macOS only)
  • Tested on platform(s): Linux (CI build — VST3 + Standalone, no warnings)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Updated assets/screenshots/plugin_ui.svg now reflects the correct four-row layout with chain-order badges and toggle LEDs. See the regenerated file for a full visual reference.

…ltips; update SVG screenshot

Agent-Logs-Url: https://github.com/GizzZmo/DSP4Guitar/sessions/9b8d1f40-820b-470a-879c-a47c47a2f127

Co-authored-by: GizzZmo <8039975+GizzZmo@users.noreply.github.com>
@GizzZmo
GizzZmo marked this pull request as ready for review May 3, 2026 23:51
Copilot AI review requested due to automatic review settings May 3, 2026 23:51
@GizzZmo
GizzZmo merged commit 1ba9d5b into main May 3, 2026
7 checks passed
@GizzZmo
GizzZmo deleted the copilot/improve-usability-update-screenshots branch May 3, 2026 23:52

Copilot AI 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.

Pull request overview

This PR updates the JUCE plugin editor UI to improve usability (knob reset behavior, richer tooltips, and chain-order badges) and refreshes the UI screenshot SVG to match the current 4-row layout.

Changes:

  • Add double-click reset on rotary sliders using each parameter’s default value derived from its NormalisableRange.
  • Add hover tooltips via a juce::TooltipWindow, populating per-slider parameter info (name, range, default, reset hint).
  • Add signal-chain order badges to panel headers and update the SVG screenshot asset accordingly.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
PluginEditor.cpp Adds slider double-click reset + tooltips; updates panel drawing calls and renders chain-order badges.
PluginEditor.h Updates drawEffectPanel signature and introduces a tooltip window member.
assets/screenshots/plugin_ui.svg Replaces the UI screenshot SVG to reflect the 4-row layout and new badges.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread PluginEditor.h
juce::Rectangle<int> panelBounds (int col, int row) const;

// Tooltip window – shows parameter info on hover
juce::TooltipWindow tooltipWindow { this, 600 };
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.

3 participants