Skip to content

refactor: DRY audit page layout wrapper #46

@somethingwithproof

Description

@somethingwithproof

Problem

audit.php repeats the same page layout wrapper sequence (top_header(), renderer, bottom_footer()) in action routing.

Proposed change

  • add a shared UI layout wrapper helper for audit pages
  • route wrapped action paths through the helper
  • preserve behavior while reducing duplicated wrapper logic

Tests

  • add standalone regression test for wrapper call ordering and callback execution
  • include routing assertions that wrapped actions use the helper
  • run syntax checks for touched files

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