Skip to content

refactor(chat): split the useConversationFiles composable body into ≤30-line units #21226

Open

Description

@mrveiss

Problem

autobot-frontend/src/composables/useConversationFiles.ts exports one function whose body is about 390 lines. The standard is functions of at most 30 lines. PR #21214 already moved the preview logic out (useConversationFilePreview.ts) and added useLatestRequest.ts, cutting it by over 100 lines, but the list, upload, rename, delete, download and bulk-action logic still live in one closure.

Found by the code-reviewer pass on #21214.

Scope

Acceptance criteria

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions