Commit graph

10 commits

Author SHA1 Message Date
38bf3e4b4d fix: Align question types and add Previous button to assessment 2025-04-04 08:15:40 -05:00
21204d2682 Updated quiztech-assessment-platform/public/templates/assessment-shell.php to fix the incorrect meta key (_quiztech_question_type) and align the question type handling in the switch statement with the types defined in QuestionMetaboxes.php (textarea, text, multiple-choice, checkbox, numeric) 2025-04-04 08:04:40 -05:00
f84960326a FIX: Ensure assessment.js loads by uncommenting wp_footer() in assessment-shell.php 2025-04-04 07:43:25 -05:00
ac1712f906 Updated JS for 'Begin Assessment' button 2025-04-04 07:27:55 -05:00
471453eab8 Fixed incorrect meta field name for assessment question IDs 2025-04-04 07:04:21 -05:00
f71f305005 feat: Implement assessment landing page flow 2025-04-04 06:54:34 -05:00
742630778c feat: Implement Phase 3 Applicant Assessment Experience (Items 15-17) 2025-04-04 05:15:52 -05:00
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