Skip to content

Integrate phasePlannerStore for Enhanced Ticket Management and Websocket Support #702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

aliraza556
Copy link
Contributor

@aliraza556 aliraza556 commented Dec 3, 2024

Describe the Chnages:

  • Integrated phasePlannerStore for centralized ticket management and real-time updates via websockets in the Phase Planner.

closes: #700

Issue ticket number and link:

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested on Chrome
  • New feature (non-breaking change which adds functionality)
  • I have provided a screenshot of changes in my PR

@aliraza556 aliraza556 force-pushed the feature-phase-planner-store-integration branch from 25f8418 to 99474bd Compare December 3, 2024 09:38
@aliraza556
Copy link
Contributor Author

Hi @humansinstitute, Please review this PR.

@aliraza556
Copy link
Contributor Author

@humansinstitute Locally, Prettier passed, but I’m not sure why it failed in the CI/CD pipeline.

image

@aliraza556
Copy link
Contributor Author

@humansinstitute, I noticed that sometimes different checks fail. Please see the details below:

After some time, the issue seems to resolve automatically. I'm not sure how it gets fixed, but it does.

image

Copy link
Collaborator

Choose a reason for hiding this comment

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

We're not looking to change the SOCKET_MSG in this change.

The plan is to keep this message and associated code in place. Out of scope change.

@@ -63,6 +64,17 @@ const PhasePlannerView: React.FC = () => {
const sessionId = res.body;
console.log(`Websocket Session ID: ${sessionId}`);
}

if (res.msg === SOCKET_MSG.ticket_update && res.body) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is not the approach we will be taking please remove. Out of Scope.

@humansinstitute humansinstitute merged commit ebba3a2 into stakwork:master Dec 4, 2024
4 of 5 checks passed
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.

Add a phasePlannerStore to Phase planner to manage state and refresh of tickets by webhooks
2 participants