Skip to content

Migrate FileViewer header to PageHeader component #195

Description

@dimakis

Context

Part of the mobile UI overhaul (PR #190). FileViewer was skipped during PageHeader adoption because it has complex back-navigation logic (dirty checks, fromRoute state).

Task

  • Replace the custom header in FileViewer.tsx with the shared PageHeader component
  • Preserve the existing fromRoute/dirty-check logic in the onBack handler
  • Update related tests

Related

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