Skip to content

editor: unify playbook view and edit modes - #159

Open
Paul2803k wants to merge 6 commits into
feature/stored-resourcesfrom
feature/playbook-workspace
Open

Paul2803k wants to merge 6 commits into
feature/stored-resourcesfrom
feature/playbook-workspace

Conversation

@Paul2803k

@Paul2803k Paul2803k commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

The playbook detail page and new-playbook flow now share one workspace. Edit switches the diagram and panels in place without changing the URL, selected step or open tabs. Playbook fields, steps, connections and resource mappings share a draft. Cancel and navigation warn before discarding changes.

The panels use tables and shared controls for variables, agents, targets, authentication and commands. Stored authentication and targets can be copied into a playbook without copying their mappings or secret values. Saving writes the playbook first and then its mapping; if the mapping save fails, the draft remains available for retry.

The run dialog checks resource resolution and reports backend rejection details. Mock resolve responses only describe mock data; they do not mean SOARCA can resolve those resources.

While the mapping is loading or failed to load, the editor can't remove external variables or turn External on or off, so a save can't drop mappings it never saw. Save, run and lookup errors appear as cards at the top of the workspace or dialog, using the same generic messages as Resources.

Usual eye candy:

View Edit
playbook-view playbook-edit
Variables Resources
playbook-variables playbook-resources

@Paul2803k
Paul2803k added this pull request to stack #148 November 30, 2026 17:35
@Paul2803k
Paul2803k force-pushed the feature/playbook-workspace branch 2 times, most recently from c3a202b to 64cbae2 Compare December 1, 2026 14:20
@Paul2803k
Paul2803k marked this pull request as ready for review December 1, 2026 14:45
@Paul2803k
Paul2803k force-pushed the feature/playbook-workspace branch from 22e8c32 to 8e03243 Compare December 3, 2026 10:45
MaartendeKruijf
MaartendeKruijf previously approved these changes Dec 3, 2026
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.

2 participants