Skip to content

fix/workflow-reload#526

Merged
icecrasher321 merged 1 commit into
mainfrom
fix/workflow-reload
Jun 20, 2025
Merged

fix/workflow-reload#526
icecrasher321 merged 1 commit into
mainfrom
fix/workflow-reload

Conversation

@SHARKYBOY1248
Copy link
Copy Markdown
Contributor

Description

fixed issue where it goes to random workspace when you click reload

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Reloaded on different workflows. Also went to a different workspace, and pasted in the url of another workflow in a diff workspace and it worked.

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 (bun run 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)

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 20, 2025

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

Name Status Preview Comments Updated (UTC)
sim ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 10:10pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Skipped (Inspect) Jun 20, 2025 10:10pm

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Fixed workflow loading state synchronization by modifying initial state in apps/sim/stores/workflows/registry/store.ts to prevent incorrect workspace transitions during page reloads and direct URL navigation.

  • Changed initial isLoading state from false to true in workflow registry store to ensure proper loading states during workspace transitions
  • Improves handling of direct workflow URL navigation across different workspaces
  • Prevents random workspace selection when reloading the page

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@vercel vercel Bot temporarily deployed to Preview – docs June 20, 2025 22:01 Inactive
@icecrasher321 icecrasher321 merged commit c4f3987 into main Jun 20, 2025
4 of 5 checks passed
@waleedlatif1 waleedlatif1 deleted the fix/workflow-reload branch June 28, 2025 04:47
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