Closed fvalentiner closed 4 months ago
There is a section on the workspace/{workspace_uuid} page to list the workspaces features.
The job is to add functionality to manage feature priority.
The feature priority is an integer value. The feature with the lowest priority (0) is first on the list.
When increasing a feature priority, the priority must be swapped with the feature just on top of it.
When decreasing a feature priority, the priority must be swapped with the feature just below it.
The feature at top, with the lowest priority must not have an icon to increase priority.
The feature at the bottom, with the lowest priority must not have an icon to decrease priority.
Make sure the functionality does not break when changing pages on the list.
The endpoint to call to update feature priority is: POST /features body: { uuid: '{feature_uuid}', priority: new_priority, }
If a PR is not submitted within two days, we will assign the bounty to someone else Bounty https://community.sphinx.chat/bounty/1983
Here is an example unit test
Here is an example component test
@fvalentiner Could you please assign me?
@fvalentiner Please assign me, I have no work at this moment
@fvalentiner assign me please?
Context
There is a section on the workspace/{workspace_uuid} page to list the workspaces features.
Design
The job is to add functionality to manage feature priority.
The feature priority is an integer value. The feature with the lowest priority (0) is first on the list.
When increasing a feature priority, the priority must be swapped with the feature just on top of it.
When decreasing a feature priority, the priority must be swapped with the feature just below it.
The feature at top, with the lowest priority must not have an icon to increase priority.
The feature at the bottom, with the lowest priority must not have an icon to decrease priority.
Make sure the functionality does not break when changing pages on the list.
The endpoint to call to update feature priority is: POST /features body: { uuid: '{feature_uuid}', priority: new_priority, }
Acceptance Criteria
If a PR is not submitted within two days, we will assign the bounty to someone else Bounty https://community.sphinx.chat/bounty/1983
Here is an example unit test
Here is an example component test