Skip to content

feat(workflow-preview): added workflow preview for version control, with the ability to revert to old states of the workflow#330

Merged
waleedlatif1 merged 12 commits intomainfrom
feat/workflowpreview
May 6, 2025
Merged

feat(workflow-preview): added workflow preview for version control, with the ability to revert to old states of the workflow#330
waleedlatif1 merged 12 commits intomainfrom
feat/workflowpreview

Conversation

@waleedlatif1
Copy link
Copy Markdown
Collaborator

  • generic workflow preview and view deployed modal
  • improved styling and functionality
  • cleaning up throwing errors
  • Remove node_modules from tracking
  • coped the deployment-controls from main
  • added revert to current state
  • added subblock fields
  • preview cleaned up
  • added mrge changes
  • added support for all sub-block types

Description

Displays a deployed workflow preview to the user using React Flow, allowing them to compare to their current workflow and revert back to the deployed version.

Fixes #224

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

I configured and deployed large and small workflows, viewed their previews, and modified the current workflow by adding/removing fields. I compared the deployed version with the current workflow to ensure the changes were reflected, verifying that filled-in fields showed correctly in the preview. After making changes, I redeployed the workflows to confirm the updates were properly reflected in the deployed version. This was tested with both large and small workflows to ensure scalability and accuracy in field mapping.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • All tests pass locally and in CI (npm test)
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I have updated version numbers as needed (if needed)
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Security Considerations:

  • My changes do not introduce any new security vulnerabilities
  • I have considered the security implications of my changes

@cubic-dev-ai
Copy link
Copy Markdown

cubic-dev-ai Bot commented May 6, 2025

Your mrge subscription is currently inactive. Please reactivate your subscription to receive AI reviews and use mrge.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 6, 2025 7:23am
sim ❌ Failed (Inspect) May 6, 2025 7:23am

@waleedlatif1 waleedlatif1 force-pushed the feat/workflowpreview branch from d496de8 to 637e2bd Compare May 6, 2025 07:15
@waleedlatif1 waleedlatif1 force-pushed the feat/workflowpreview branch from 571fefb to 637e2bd Compare May 6, 2025 07:25
@waleedlatif1 waleedlatif1 merged commit 699600f into main May 6, 2025
6 of 7 checks passed
@waleedlatif1 waleedlatif1 deleted the feat/workflowpreview branch May 6, 2025 07:30
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.

[REQUEST] Workflow Previews for Deployed Workflows

2 participants