Skip to content

Decompose OptionsPageApp (637 lines) #339

Description

@svrnm

Summary

Break the monolithic OptionsPageApp component into focused sub-components for maintainability and readability.

Problem

OptionsPageApp at ~637 lines handles routing, layout, dialogs, navigation, and state management all in one file. This makes it hard to reason about, test, and modify individual concerns.

Suggested approach

  • Extract route/view switching into a dedicated router component
  • Pull dialog management (delete, save, import) into separate components
  • Separate the layout shell (sidebar + content area) from page-specific logic
  • Keep OptionsPageApp as a thin orchestrator

Notes

Can be done independently of the Redux modernization effort, but pairs well with it since touching components for hook conversion is a natural time to also decompose them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions