Skip to content
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

[BUG] Update Functionality for Phase Planner Page to return and render ticket data #686

Open
Tracked by #1967
humansinstitute opened this issue Dec 2, 2024 · 0 comments · Fixed by #688
Open
Tracked by #1967
Assignees
Labels
Bounties bug Something isn't working

Comments

@humansinstitute
Copy link
Collaborator

humansinstitute commented Dec 2, 2024

Add Need to add a GetTickets Functionality in Api layer

  1. File https://github.com/stakwork/sphinx-tribes-frontend/blob/master/src/store/main.ts
  2. Add function called getTicketDataByPhase
  3. This will call to call endpoint GET: bounties/ticket/feature/ID/phase/ID
  4. Return an array of ticket objects

On Phase Planner Page add function to get ticket data from Function in Api layer

  1. File: https://github.com/stakwork/sphinx-tribes-frontend/blob/master/src/people/widgetViews/PhasePlannerView.tsx#L148
  2. Add function called getTicketData
  3. This will call to call the getTicketDataByPhase function in the API layer using feature ID and phase ID and trigger the
  4. Store the array of Tickets returned by phase as phaseTicketsData (array of ticket objects)

On Phase Planner Page - render tickets data data using the ticket editor component

  1. File: https://github.com/stakwork/sphinx-tribes-frontend/blob/master/src/people/widgetViews/PhasePlannerView.tsx
  2. Add a function to render phaseTicketsData inside a ticketEditor Component: https://github.com/stakwork/sphinx-tribes-frontend/blob/master/src/components/common/TicketEditor/TicketEditor.tsx
  3. Each Ticket Editor should be rendered with the correct data for Name, uuid, ticket description - inside the editor component.
@humansinstitute humansinstitute added bug Something isn't working Bounties labels Dec 2, 2024
@humansinstitute humansinstitute transferred this issue from stakwork/sphinx-tribes Dec 2, 2024
@tobi-bams tobi-bams linked a pull request Dec 2, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bounties bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants