Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mgt9007/high-performance-wheel/archive/refs/heads/main.zipHigh Performance Wheel WordPress Plugin
Description
The High Performance Wheel plugin helps students aged 12-14 explore and define their personal concept of high performance through an interactive exercise. Students identify 8 concepts important to their success, rank them, and receive personalized AI analysis based on their choices and MBTI personality type.
Features
- Introduction Screen: Explains what high performance means
- Concept Entry: Students enter 8 concepts that define high performance for them
- Ranking Interface: Drag-and-drop ranking of concepts from most to least important
- Visual Wheel: Beautiful pie chart visualization showing ranked concepts
- AI Analysis: Personalized feedback based on concepts and MBTI type
- AI Chatbot Integration: Interactive coach available throughout the exercise
- Progress Saving: Automatically saves progress to resume later
- MBTI Integration: Connects with existing MBTI results table
Installation
- Upload the
high-performance-wheelfolder to your/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- The plugin will automatically create the required database table
wp_mfsd_hp_wheel_results
Requirements
- WordPress 5.0 or higher
- PHP 7.0 or higher
- AI Meow chatbot plugin (for chatbot functionality)
- MBTI results table
wp_mfsd_mbti_results(for personality integration)
Usage
Shortcode
Add the High Performance Wheel exercise to any page using:
[high_performance_wheel]
Chatbot Setup
The plugin expects a chatbot with ID chatbot-tmhwsa to be configured in AI Meow with the High Performance Coach persona. The chatbot should be set up with the prompt provided in the specification document.
MBTI Integration
The plugin automatically retrieves the user's MBTI type from the wp_mfsd_mbti_results table. If no MBTI type is found, the exercise still works but without personality-specific insights.
Database Structure
The plugin creates one table:
wp_mfsd_hp_wheel_results
id- Auto-increment primary keyuser_id- WordPress user IDconcepts_json- JSON array of 8 conceptsranking_json- JSON array of concepts in ranked orderanalysis- AI-generated analysis textmbti_type- User's MBTI type (4 characters)status- Current status: 'not_started', 'in_progress', or 'completed'created_at- Timestampupdated_at- Timestamp
API Endpoints
GET /wp-json/hp-wheel/v1/status
Returns the current user's progress status.
Response:
{
"ok": true,
"status": "completed",
"concepts": ["Resilience", "Balance", ...],
"ranking": ["Resilience", "Balance", ...],
"analysis": "...",
"mbti_type": "ENFP"
}
POST /wp-json/hp-wheel/v1/submit
Submits user data for different steps.
Request body:
{
"step": "save_input",
"concepts": ["Resilience", "Balance", ...],
"ranking": ["Resilience", "Balance", ...]
}
Steps:
save_input- Saves the 8 conceptsback_to_input- Returns to input screengenerate_analysis- Generates AI analysis and completes exercise
Workflow
- Introduction Screen: User reads about high performance and clicks "Start"
- Concept Entry: User enters 8 concepts with AI coach help available
- Ranking: User drags concepts to rank them by importance
- Results: User sees their wheel visualization and AI analysis
Customization
Styling
All styles are in assets/high-performance-wheel.css. The plugin uses CSS variables and follows the same design system as the Dream Jobs and RAG plugins.
AI Prompt
The AI analysis prompt is in the PHP file's handle_submit function. You can customize the prompt to adjust the tone, depth, or focus of the analysis.
Chatbot
To customize the chatbot experience, update the chatbot configuration in AI Meow with ID chatbot-tmhwsa.
Support
For issues or questions, contact MisterT9007.
Version History
1.0.0
- Initial release
- Introduction screen with high performance definition
- 8 concept entry with validation
- Drag-and-drop ranking interface
- Pie chart wheel visualization
- AI analysis with MBTI integration
- Chatbot support throughout
- Progress saving and resume
License
This plugin is proprietary software for My Future Self Project.