Skip to content

[Issue]: Service Tab Frontend #9

@RenaudBernier

Description

@RenaudBernier

Sprint 2 - Service Tab frontend

Blocked by #39

Branch Name

feature/9-service-tab-frontend

Feature:

On the tab services you should implement:

  • List of existing services.
  • Create a new service.
  • Edit a existing services.
  • Remove a service
  • As shown in the figma, a status can be in one of these 3 states: active, disabled and archived. Users should be able to move services between these 3 states.

Fields for both programs and private lessons

  • Title
  • Description
  • Price
  • Duration in hours

Fields exclusive to programs

  • Start date
  • End date
  • Weekly sessions (day of the week and time)

Fields exclusive to private lessons

  • Coach (have a dropdown that lists the names of the registered coaches)
    Only 1 coach can be selected

Acceptance tests:

  • The admin should be able to create a create a new service. The new service should appear in the list and the db
  • The admin should be able to edit a existing a new service. The update should reflected on the db and service list
  • The admin should be able to move a service between the active, disabled and archived statuses. The status should be reflected on the frontend by showing in the right tab and on the database with the service_status field.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions