Skip to content

Remove option for non-dismissible Preparation Form Create List #334

@jjoonleo

Description

@jjoonleo

Describe the feature you'd like
The PreparationFormCreateList component currently supports a boolean flag enableDismissible to toggle between a dismissible list and a non-dismissible list. We want to standardize the behavior by removing the non-dismissible option and making the list always dismissible.

Changes Required

  1. Refactor PreparationFormCreateList:

    • File: lib/presentation/schedule_create/schedule_spare_and_preparing_time/preparation_form/components/preparation_form_create_list.dart
    • Remove the enableDismissible parameter from the constructor.
    • Remove the conditional logic in the build method.
    • Replace the usage of PreparationFormReorderableList with PreparationFormReorderableListDismissible permanently.
  2. Clean up Unused Code:

    • Check if PreparationFormReorderableList (defined in lib/presentation/schedule_create/schedule_spare_and_preparing_time/preparation_form/components/preparation_form_reorderable_list.dart) is used anywhere else. If not, delete the file and the class.
  3. Update Call Sites:

    • Update any parent widgets instantiating PreparationFormCreateList to stop passing the enableDismissible argument.

Additional context
This change simplifies the UI logic by enforcing a consistent interaction pattern (dismissible list items) for the preparation form creation list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions