Closed fvalentiner closed 4 months ago
@fvalentiner Please assign me
@Khaalid-oh SAIF on Sphinx
@fvalentiner Could you please assign this task to me if @Khaalid-oh doesn't want to continue with it.
@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.
Yes I am, I'll create a pr shortly 👍🏼
@fvalentiner, please assign this issue to me
Yes I am, I'll create a pr shortly 👍🏼
@Khaalid-oh are you working on it
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
Your job for this issue is to create the 'User Stories' part of the page. Here are the specifics. page: /feature/{feature_uuid}
Edit or Delete User Story
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