pythongosssss
1b05927ff4
test: App mode - setting widget value test ( #10746 )
...
## Summary
Adds a test for setting various types of widgets in app mode, then
validating the /prompt API is called with the expected values
## Changes
- **What**:
- extract duplicated enableLinearMode
- add AppModeWidgetHelper for setting values
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10746-test-App-mode-setting-widget-value-test-3336d73d365081739598fb5280d0127e )
by [Unito](https://www.unito.io )
2026-04-07 13:53:01 -07:00
pythongosssss
6f8e58bfa5
test: App Mode - widget reordering ( #10685 )
...
## Summary
Adds tests that simulate the user sorting the inputs and ensures they
are persisted and visible in app mode
## Changes
- **What**:
- rework input/output selection helpers to accept widget/node names
- extract additional shared helpers
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10685-test-App-Mode-widget-reordering-3316d73d3650813b8348da5f29fd01f8 )
by [Unito](https://www.unito.io )
2026-04-07 11:56:43 -07:00
pythongosssss
515f234143
fix: Ensure all save/save as buttons are the same width ( #10681 )
...
## Summary
Makes the save/save as buttons in the builder footer toolbar all a fixed
size so when switching states the elements dont jump
## Changes
- **What**:
- Apply widths from design to the buttons
- Add tests that measure the sizes of the buttons
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10681-fix-Ensure-all-save-save-as-buttons-are-the-same-width-3316d73d36508187bb74c5a977ea876f )
by [Unito](https://www.unito.io )
2026-03-31 02:47:27 -07:00
pythongosssss
54a00aac75
test/refactor: App mode - Refactor & Save As tests ( #10680 )
...
## Summary
Adds e2e Save As tests for #10679 .
Refactors tests to remove getByX and other locators in tests to instead
be in fixtures.
## Changes
- **What**:
- extract app mode fixtures
- add test ids where required
- add new tests
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10680-test-refactor-App-mode-Refactor-Save-As-tests-3316d73d3650815b9d49ccfbb6d54416 )
by [Unito](https://www.unito.io )
2026-03-28 15:02:23 -07:00
pythongosssss
6836419e96
fix: App mode - Save as not using correct extension or persisting mode on change ( #10679 )
...
## Summary
With a previously saved workflow, selecting "Save as" in app mode would
not correctly change the file extension to the chosen mode, and would
require an additional save after to persist the actual mode change.
Recreation:
- Build app
- Save as worklow X, app mode
- Select Save as from builder footer [Save | v] chevron button
- Select node graph
- Save
- Check workflow on disk - it's still called X.app.json and doesn't have
linearMode: false <-- bug
## Changes
- **What**:
- pass isApp to save workflow
- ensure active graph & initialMode are correctly set when calling
saveAs BEFORE the actual saveWorkflow call
- add linearMode to workflowShema to prevent casts
- tests
## Review Focus
e2e tests coming in a follow up PR along with some refactoring of the
browser tests (left this PR focused to the actual fix)
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10679-fix-App-mode-Save-as-not-using-correct-extension-or-persisting-mode-on-change-3316d73d365081ef985cf57c91c34299 )
by [Unito](https://www.unito.io )
2026-03-28 12:08:35 -07:00
pythongosssss
7864e780e7
feat: App mode - Rework save flow ( #10439 )
...
## Summary
Users were finding the final step of the builder flow
confusing/misleading, with the "choose default mode" not actually saving
the workflow and people losing changes. This updates it to remove
"save"/"set default" as a step in the builder, and changes it to a
distinct action.
## Changes
- **What**:
- add mode selection tab on footer toolbar
- extract reusable radio group component
- remove setting default mode dialog
- add save/save as/saved dialogs
## Screenshots (if applicable)
https://github.com/user-attachments/assets/c7439c2e-a917-4f2b-b176-f8bb8c10026d
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-10439-feat-App-mode-Rework-save-flow-32d6d73d3650814781b6c7bbea685a97 )
by [Unito](https://www.unito.io )
2026-03-27 12:53:09 -07:00