Skip to content

refactor: DRY monitor action render wrapper #205

@somethingwithproof

Description

@somethingwithproof

Problem

monitor.php repeats action-handling flow where several actions perform one operation and immediately render the page.

Proposed change

  • add a shared action wrapper helper to run an action callback and render monitor output
  • route repeated render-after-action branches through this helper
  • preserve behavior

Tests

  • add standalone regression test for helper call order
  • add source assertions that repeated action branches use helper
  • run syntax checks for touched files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions