Files
thrillwiki_django_no_react/backend/static/js/moderation/history.js
pacnpal 45d97b6e68 Add test utilities and state machine diagrams for FSM models
- Introduced reusable test utilities in `backend/tests/utils` for FSM transitions, HTMX interactions, and common scenarios.
- Added factory functions for creating test submissions, parks, rides, and photo submissions.
- Implemented assertion helpers for verifying state changes, toast notifications, and transition logs.
- Created comprehensive state machine diagrams for all FSM-enabled models in `docs/STATE_DIAGRAMS.md`, detailing states, transitions, and guard conditions.
2025-12-22 08:55:39 -05:00

28 lines
1.0 KiB
JavaScript

/**
* DEPRECATED: This file is no longer used.
*
* History functionality has been migrated to HTMX-based implementation.
*
* See the following files for the new implementation:
* - backend/templates/moderation/history.html
* - backend/templates/moderation/partials/history_table.html
* - backend/templates/moderation/partials/history_filters.html
* - backend/templates/moderation/partials/history_pagination.html
* - backend/templates/moderation/partials/history_detail_modal.html
*
* The HTMX implementation provides:
* - Server-side rendered history table
* - HTMX-based filtering and pagination
* - Alpine.js modal for detail views
* - Integration with the moderation dashboard
*
* This file will be removed in a future version.
*/
console.warn(
'[DEPRECATED] history.js is deprecated and will be removed in a future version. ' +
'History functionality has been migrated to HTMX. See moderation/history.html for the new implementation.'
);
// No functionality provided - all history features now use HTMX