Commit Graph

6 Commits

Author SHA1 Message Date
Koshi
067e778e8a Merge branch 'main' into feat/app-mode-layouts
Resolve conflicts keeping branch app-mode changes for store,
tests, and linear-mode previews; take main for knip config and
clipspace cleanup. Add missing imports for main's VueNode switch
and promoted widget features.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 20:20:58 +01:00
Koshi
a2ea5a9a9c test: browser tests for app mode layouts
Amp-Thread-ID: https://ampcode.com/threads/T-019d3012-26c4-70ff-984c-913b12217454
Co-authored-by: Amp <amp@ampcode.com>
2026-03-27 17:35:53 +01:00
pythongosssss
dee494f019 feat: App mode - Switch to Nodes 2.0 when entering builder (#10337)
## Summary

We've had some reports of issues selecting inputs/nodes when trying to
use the builder in LiteGraph mode and due to the complexity of the
canvas system, we're going to enable Nodes 2.0 when entering the builder
to ensure the best experience.

## Changes

- **What**:  
- When entering builder select mode automatically switch to Nodes 2.0
- Extract reusable component from features toast
- Show popup telling user the mode was changed
- Add hidden setting for storing "don't show again" on the switch popup

## Review Focus
- I have not removed the LiteGraph selection code in case someone still
manages to enter the builder in LiteGraph mode, this should be cleaned
up in future

## Screenshots (if applicable)

<img width="423" height="224" alt="image"
src="https://github.com/user-attachments/assets/cc2591bc-e5dc-47ef-a3c6-91ca7b6066ff"
/>

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10337-feat-App-mode-Switch-to-Nodes-2-0-when-entering-builder-3296d73d3650818e9f3cdaac59d15609)
by [Unito](https://www.unito.io)
2026-03-21 10:38:59 -07:00
Koshi
6fb8004829 Add presets UI, drop indicators & zone drag/drop
Features:

  - Preset system: PresetStrip with tabs/buttons/menu display modes, save/overwrite/rename/delete
  - Draggable presets between zones with within-zone reordering
  - Presets toggle (eye icon) in builder inputs sidebar
  - LoadImage/LoadVideo drop zones with image/video preview in app mode
  - Persistent mask editor button below image preview
  - Default run controls in bottom-right zone per template
  - Default preset strip in top-right zone per template
  - Zone align toggle with smooth 300ms rotation animation
  - Reka UI Tooltip component with Storybook story
  - Welcome screen when no inputs/outputs selected

  Fixes:

  - Widget deduplication — render each node once per zone
  - Zone overflow scrolling with full rounded borders
  - Resize handle clamping at MIN_FR=0.25
  - Toast alert on queue failure (was silent console.error)
  - i18n for all tooltips and labels
  - Float +/- buttons work on all value ranges
  - Improved drag sensitivity for float widgets
  - data-testid shims for E2E backward compatibility
  - E2E tests updated for zone-based layout
  - Removed unused handleDragDrop/widgetListRef from LinearControls
2026-03-20 23:47:53 +01:00
pythongosssss
c90a5402b4 feat: App mode - double click to rename widget (#10341)
## Summary

Allows users to rename widgets by double clicking the label

## Changes

- **What**: Uses EditableText component to allow inline renaming

## Screenshots (if applicable)


https://github.com/user-attachments/assets/f5cbb908-14cf-4dfa-8eb2-1024284effef

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10341-feat-App-mode-double-click-to-rename-widget-3296d73d36508146bbccf8c29f56dc96)
by [Unito](https://www.unito.io)
2026-03-20 14:35:09 -07:00
pythongosssss
77ddda9d3c fix: App mode - renaming widgets on subgraphs (#10245)
## Summary

Fixes renaming of widgets from subgraph nodes in app builder/app mode.

## Changes

- **What**: If the widget is from a subgraph node and no parents passed,
use the node as the subgraph parent.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10245-fix-App-mode-renaming-widgets-on-subgraphs-3276d73d3650815bb131c840df43cdf2)
by [Unito](https://www.unito.io)
2026-03-19 04:00:31 -07:00