Commit graph

3 commits

Author SHA1 Message Date
6beb1c2251 Fix activation errors and address initial TODOs
- Resolved fatal errors during plugin activation related to Composer autoloading, procedural function loading ('\die' vs 'die'), and 'dbDelta' SQL formatting.
- Defined and documented required post meta fields in 'memory-bank/project-knowledge/meta-fields.md'.
- Implemented logic for custom columns in 'AdminListTables.php' using defined meta keys.
- Made assessment title dynamic in 'assessment-shell.php'.
- Implemented check for pre-screening status in 'FrontendHandler.php'.
- Replaced placeholder or future implementation TODOs with descriptive notes in core plugin file, settings page, AJAX handler, frontend handler, credits, and payments files.
2025-04-03 19:12:26 -05:00
130b9eefb9 feat: Implement front-end assessment interaction AJAX flow
- Add AssessmentAjaxHandler class for AJAX requests.
- Add assessment.js for front-end logic.
- Implement pre-screening form submission via AJAX.
- Implement answer auto-save via AJAX.
- Implement final assessment submission via AJAX.
- Update assessment-shell.php template for dynamic rendering and JS hooks.
- Enqueue and localize assessment.js conditionally.

Refs: assessment_interaction_plan.md
Note: Includes TODOs for evaluation CPT handling, status updates, and sanitization.
2025-04-03 16:02:16 -05:00
d63aa8d409 feat: Implement invitation system backend and frontend handler
- Add custom DB table for invitations on activation.
- Create Invitations class for managing invites (create, validate).
- Implement FrontendHandler to validate tokens and load assessment template.
- Add assessment-shell.php template for pre-screening/assessment UI.
- Update .gitignore to exclude vendor directory and untrack existing vendor files.
2025-04-03 14:34:19 -05:00