stakwork / sphinx-tribes-frontend

Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
12 stars 42 forks source link

Update 'ticket editor' component - on page load / refresh display db.ticket.description as content in box #674

Open humansinstitute opened 2 days ago

humansinstitute commented 2 days ago

Update ticket editor component. If it is loaded with a ticket UUID existing. e.g. on a page refresh it will fetch the relevant ticket details from endpoint /bounty/ticket/UUID

Using "read" in request structure.

// Request structure
type TicketRequest struct {
    Action string       `json:"action"`  // "read"|"update"|"delete"
    Ticket types.Ticket `json:"ticket"`
}
MuhammadUmer44 commented 2 days ago

@humansinstitute Please assign me

aliraza556 commented 2 days ago

@humansinstitute Please assign me

humansinstitute commented 2 days ago

@aliraza556 this is the last piece of the puzzle to add in and get merged for testing.