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

Add user stories to features #514

Closed fvalentiner closed 4 months ago

fvalentiner commented 4 months ago

Context

There is a new page for Feature. A Feature is part of a Workplace and can be compared to an agile epic.

A workspace will have a list of features.

Design

Clone this branch https://github.com/stakwork/sphinx-tribes-frontend/tree/feature-add-userstory-to-feature

Remember to use the components from Elastic UI when ever posible https://eui.elastic.co/

This will be the full feature page image

Your job for this issue is to create the 'User Stories' part of the page. Here are the specifics. page: /feature/{feature_uuid}

image

Edit or Delete User Story image

Backend Endpoints:

GET /features/{uuid}/story //Gets the list of user stories for the feature

POST /features/story { feature_uuid: '{uuid}', description: 'user story description', priority: 7 }

priority = count(user stories in feature)

If feature has 2 user stories then the new one will have priority 2 since there are already priority 0 and 1

Acceptance Criteria

Here is an example unit test

Here is an example component test

Ekep-Obasi commented 4 months ago

@fvalentiner Please assign me

Khaalid-oh commented 4 months ago

@Khaalid-oh SAIF on Sphinx

AbdulWahab3181 commented 4 months ago

@fvalentiner Could you please assign this task to me if @Khaalid-oh doesn't want to continue with it.

MahtabBukhari commented 4 months ago

@Khaalid-oh Are you working on this task? @fvalentiner if @Khaalid-oh is working on this task then its great otherwise I am available for this task.

Khaalid-oh commented 4 months ago

Yes I am, I'll create a pr shortly 👍🏼

hangman32 commented 4 months ago

@fvalentiner, please assign this issue to me

MahtabBukhari commented 4 months ago

Yes I am, I'll create a pr shortly 👍🏼

@Khaalid-oh are you working on it