Skip to content

Process builder validations#597

Merged
nourmalaeb merged 13 commits intodevfrom
process-builder-validations
Feb 13, 2026
Merged

Process builder validations#597
nourmalaeb merged 13 commits intodevfrom
process-builder-validations

Conversation

@nourmalaeb
Copy link
Collaborator

@nourmalaeb nourmalaeb commented Feb 13, 2026

Validates each step in the process builder and stores the result in localstorage. Updates the "X steps remaining" indicator in the header. Stacks on #596.

Demo

Screen.Recording.2026-02-13.at.12.12.11.AM.mov

@vercel
Copy link
Contributor

vercel bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview Feb 13, 2026 2:30pm

Request Review

Copy link
Collaborator

@scazan scazan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blocking here but we should lean into react-query for the header I think. Also let's use zod for validation where can as it'll keep it consistent and hopefully less error-prone.

useProcessBuilderStore.getState().instances[decisionProfileId];

// Server data as base, localStorage edits on top
const merged = { ...serverData, ...existing };
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious. We should be sure if we have deeper nested data that this isn't gonna overwrite objects that are partial in the existing var. I haven't looked at whether that is the case but something to check on:
ie: `serverData = { a: { b: 1, c: 2 } }; existing = { a: { b: 5 }}; {...serverData, ...existing} == { a: { b: 5} };

Base automatically changed from update-process-builder-overview-page to dev February 13, 2026 14:04
@nourmalaeb nourmalaeb merged commit ceb5005 into dev Feb 13, 2026
10 checks passed
@nourmalaeb nourmalaeb deleted the process-builder-validations branch February 13, 2026 15:00
nourmalaeb added a commit that referenced this pull request Feb 13, 2026
The "Launch Process" button in the process builder header now sets the
process's status to published. There is a confirmation modal.

Stacks on #597 

## Demo


https://github.com/user-attachments/assets/eb47652c-5d2b-439a-bb3e-f9f0de34e6f5
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