"""
Feedback URL Configuration
"""

from django.urls import path

from . import views

app_name = "feedback"

urlpatterns = [
    # List and detail views
    path("", views.feedback_list, name="feedback_list"),
    path("<uuid:pk>/", views.feedback_detail, name="feedback_detail"),
    # CRUD operations
    path("create/", views.feedback_create, name="feedback_create"),
    path("<uuid:pk>/update/", views.feedback_update, name="feedback_update"),
    path("<uuid:pk>/delete/", views.feedback_delete, name="feedback_delete"),
    # Workflow actions
    path("<uuid:pk>/assign/", views.feedback_assign, name="feedback_assign"),
    path("<uuid:pk>/change-status/", views.feedback_change_status, name="feedback_change_status"),
    path("<uuid:pk>/add-response/", views.feedback_add_response, name="feedback_add_response"),
    # Toggle actions
    path("<uuid:pk>/toggle-featured/", views.feedback_toggle_featured, name="feedback_toggle_featured"),
    path("<uuid:pk>/toggle-follow-up/", views.feedback_toggle_follow_up, name="feedback_toggle_follow_up"),
    path("<uuid:pk>/create-action/", views.feedback_create_action, name="feedback_create_action"),
    # Comments Workflow
    path("comments/imports/", views.comment_import_list, name="comment_import_list"),
    path("comments/", views.comment_list, name="comment_list"),
    path("comments/action-plans/", views.action_plan_list, name="action_plan_list"),
    path("comments/export/classification/", views.export_comments_step1, name="export_comments_step1"),
    path("comments/export/filtered/", views.export_comments_step2, name="export_comments_step2"),
    path("comments/export/action-plans/", views.export_action_plans, name="export_action_plans"),
    path("public/suggestion/", views.public_suggestion_submit, name="public_suggestion_submit"),
]
