From b069004e7c7fe758e12ced6be2f36579e875fea4 Mon Sep 17 00:00:00 2001 From: AEmotionStudio <163354043+AEmotionStudio@users.noreply.github.com> Date: Sat, 17 Jan 2026 19:54:30 -0800 Subject: [PATCH] chore: remove PRD.md from repository and update gitignore --- .gitignore | 1 + PRD.md | 582 ----------------------------------------------------- 2 files changed, 1 insertion(+), 582 deletions(-) delete mode 100644 PRD.md diff --git a/.gitignore b/.gitignore index b1796e8..ed3fe1b 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,7 @@ Broswer_Console_Errors.md font_resizing_attempts.md FUTURE_ADDITIONS.md DEBUG_SUMMARY.md +PRD.md # Environment .env diff --git a/PRD.md b/PRD.md deleted file mode 100644 index 9bf6e2f..0000000 --- a/PRD.md +++ /dev/null @@ -1,582 +0,0 @@ -# PRD: Inspector Value Editing - -**Feature Name:** Inspector Value Editing -**Version:** 1.0 -**Author:** Æmotion Studio -**Last Updated:** January 15, 2026 -**Status:** Draft - ---- - -## Executive Summary - -This feature enables users to **edit node widget values and text content directly from the Inspector Panel**, eliminating the need to zoom into nodes or click through individual widgets on the canvas. When Sticky Info mode is active, users can click on any displayed value in the inspector to modify it inline, with changes immediately syncing to the corresponding node widget on the canvas. - ---- - -## Problem Statement - -Currently, the Inspector Panel in ComfyUI-MagnifyGlass is **read-only**—users can view node parameters, copy text values, and navigate to nodes, but cannot modify values without leaving the inspector to interact with the actual node on the canvas. This creates friction in workflows where users need to: - -1. Frequently adjust parameters across multiple nodes -2. Work with complex workflows where nodes are zoomed out or overlapping -3. Edit prompt text in CLIPTextEncode nodes without hunting for the node -4. Make quick iterative changes during experimentation - ---- - -## Goals & Success Metrics - -### Goals -- Enable inline editing of **all widget types** from the Inspector Panel -- Provide **immediate visual feedback** with live sync to canvas nodes -- Maintain **constraint enforcement** (min/max/step, valid dropdown options) -- Support editing in both the **main Inspector Panel** and **Pop-Out Viewer** - -### Success Metrics -- Users can edit any widget value without zooming to the node -- Edits are reflected on the canvas within 100ms of user interaction -- Zero invalid values can be committed (respecting widget constraints) -- Feature works seamlessly with Sticky Info mode - ---- - -## User Stories - -1. **As a user**, I want to click on a seed value in the inspector and type a new number, so I can quickly iterate without finding the KSampler node. - -2. **As a user**, I want to select a different sampler from a dropdown in the inspector, so I can compare samplers without navigating the canvas. - -3. **As a user**, I want to edit my positive prompt text directly in the inspector, so I can refine prompts while keeping the overall workflow visible. - -4. **As a user**, I want my edits in the Pop-Out Viewer to sync to the main canvas, so I can work on a second monitor. - -5. **As a user**, I want the inspector to prevent invalid inputs (like negative steps), so I don't accidentally break my workflow. - ---- - -## Feature Specification - -### Scope: Widget Types Supported - -All widget types that are normally editable in ComfyUI nodes: - -| Widget Type | Inspector Editor | Example Widgets | -|-------------|------------------|-----------------| -| **text** / **string** | Inline text input or expandable textarea | `text` (prompts), `filename_prefix` | -| **number** | Number input with step buttons | `seed`, `steps`, `cfg`, `width`, `height` | -| **slider** | Range slider with value display | `denoise`, `strength` | -| **combo** | Dropdown select | `sampler_name`, `scheduler`, `ckpt_name` | -| **boolean** | Toggle switch/checkbox | `add_noise`, `return_with_leftover_noise` | -| **INT** / **FLOAT** | Number input (like number) | Various numeric parameters | - -### Interaction Model - -#### Entry Point -- **No special "edit mode"**—values are always editable when Sticky Info is active -- Click directly on a value to begin editing -- Sticky Info ensures the panel doesn't disappear during editing - -#### Edit Behavior by Widget Type - -``` -┌─────────────────────────────────────────────────────────────────────┐ -│ Widget Type │ Click Action │ Editor Component │ -├─────────────────────────────────────────────────────────────────────┤ -│ number/INT │ Select value │ │ -│ FLOAT │ Select value │ │ -│ text (short) │ Inline edit │ │ -│ text (long) │ Expand textarea │