Skip to content

Merge editor-standardization changes into main

jedmund requested to merge admin-security-hardening into main

Created by: jedmund

Summary

This PR brings the editor-standardization changes (PR #24) into main. PR #24 was accidentally merged into the admin-security-hardening branch instead of main. Since admin-security-hardening was already merged to main via PR #23, this PR completes the merge path.

Changes from editor-standardization

  • Add UnsavedChangesModal component for admin forms
  • Replace browser confirm dialogs with custom modal in ProjectForm and post forms
  • Implement CSS-based modal animations with state management
  • Add navigation guards for in-app navigation
  • Fix beforeunload to only warn when form has unsaved changes

Test plan

  • Verify modal animations work (both opening and closing)
  • Test in-app navigation warnings (links, back button)
  • Test page refresh warnings (browser native dialog)
  • Confirm no conflicts with main

Merge request reports

Loading