Files
scaffold/pyproject.toml
T
ZencacheandClaude Opus 4.6 bd4c27b94f v2.12.2 — picker quality-of-life: recently used + welcome modal
Two onboarding additions to the tool picker, sharing the new
picker/* QSettings namespace.

Added:
- "Recently used" virtual folder group at the top of the tool picker.
  Up to 5 most-recently-loaded tools in MRU order, populated from
  picker/recent_tools (JSON list, capped at 5). Each successful tool
  load via _load_tool_path records the path; failed loads, validation
  errors, and cancellations do not pollute the list. Same tool may
  appear twice (once in Recently used, once in its real folder) by
  design. Stale paths are filtered out silently. Section omitted when
  the recent list is empty.
- WelcomeDialog: a modal first-run dialog (480px fixed width)
  introducing what Scaffold does and pointing users at starting
  options (pick a bundled tool, save a preset, toggle the Cascade dock
  with Ctrl+G). Surfaces the resolved tools/ path. Includes a "Don't
  show again" checkbox (default checked) wired to the
  picker/welcome_dismissed flag.

Changed:
- ToolPicker._populate_table tracks a parallel _row_folder list
  alongside _row_map so each row knows its visual section, not just
  its underlying entry. Keeps per-section collapse and search
  filtering correct when the same tool is rendered in both Recently
  used and its real folder group.

Tests:
- Section 207 covers _record_recent_tool (persistence, dedupe, MRU
  ordering, 5-entry cap, corrupt-JSON recovery), the _populate_table
  rendering pass, and the WelcomeDialog lifecycle.
- MainWindow._suppress_welcome_dialog: class-level test escape hatch
  that bypasses the welcome-dialog timer entirely. Tests set it True
  at startup so MainWindow construction never blocks on the modal.
  207C.6 / 207C.7 flip it off locally to exercise the real __init__
  branch. Avoids depending on QSettings persistence, which can flip
  between registry and INI backends mid-suite when section 205
  toggles portable mode.
- Section 1 picker filter assertion updated to ignore header rows
  (Recently used header is visible during filter when it has
  matching children, which is correct UI behavior).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-26 02:16:32 -04:00

49 lines
1.4 KiB
TOML

[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "scaffold-gui"
version = "2.12.2"
description = "Schema-driven GUI generator for any CLI tool"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Kev" }]
requires-python = ">=3.10"
dependencies = [
"PySide6>=6.5",
]
keywords = ["cli", "gui", "wrapper", "schema", "pyside6", "qt", "security"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: X11 Applications :: Qt",
"Environment :: Win32 (MS Windows)",
"Environment :: MacOS X",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Utilities",
]
[project.urls]
Homepage = "https://github.com/kevlattice/scaffold"
Repository = "https://github.com/kevlattice/scaffold"
Changelog = "https://github.com/kevlattice/scaffold/blob/main/CHANGELOG.md"
[project.scripts]
scaffold = "scaffold:main"
[tool.setuptools]
py-modules = ["scaffold"]
[tool.setuptools.packages.find]
include = ["scaffold_data*"]
[tool.setuptools.package-data]
scaffold_data = ["**/*.json", "**/*.txt", "**/*.md"]