Skip to content

Profile and skill map#71

Open
LarytheLord wants to merge 22 commits intomainfrom
Profile-and-skill-map
Open

Profile and skill map#71
LarytheLord wants to merge 22 commits intomainfrom
Profile-and-skill-map

Conversation

@LarytheLord
Copy link
Owner

Development of a lot of stuff

- Set up Supabase authentication with SSR support
- Implemented middleware for RBAC and route protection
- Created complete AI Rank Test system with 3 pages:
  - Welcome page with test introduction
  - Assessment page with code editor
  - Results page with performance analysis
- Added API endpoints with AI service integration hooks
- Set up database schemas for all features
- Created seed data for skills and achievements
- Added useAuth hook for client-side auth management
- Configured environment variables for all services
- Ready for AI model integration by external team

All pages are connected and functional with mock data fallbacks.
🚀 Major Features Added:
- Complete Adventurer Dashboard with quest management, progress tracking, and skills
- Enhanced Company/Quest Giver Dashboard with quest creation and application review
- Full-featured Admin Dashboard with platform management and user administration

🔧 Technical Improvements:
- Streamlined mock authentication system with role-based routing
- Fixed Next.js configuration issues (removed deprecated options)
- Updated auth callback flow for better user experience
- Enhanced Supabase client configuration for better compatibility

📱 UI/UX Enhancements:
- Responsive design with mobile-first approach
- Interactive tabs and modal dialogs
- Search and filtering functionality
- Progress indicators and status badges
- Toast notifications for user feedback

🏗️ Architecture:
- Role-based dashboard routing (/dashboard/adventurer, /company/dashboard, /dashboard/admin)
- Improved auth provider integration
- Better separation of concerns between user types
- Mock data structures for development and testing

This update provides a solid foundation for the platform with fully functional dashboards ready for backend integration.
… Editor

🚀 Major New Features:
- Advanced AI rank test interface with Monaco Editor integration
- Real-time code execution using Web Workers for safe JavaScript evaluation
- Comprehensive results page with AI analysis and personalized feedback
- Enhanced welcome page with detailed test preparation information

🔧 Technical Enhancements:
- Monaco Editor with syntax highlighting, auto-completion, and multiple language support
- Web Worker-based code execution system for secure client-side testing
- Progressive score animation and real-time performance metrics
- Advanced AI analysis simulation with code quality evaluation

📊 Assessment Features:
- Multi-dimensional skill breakdown (Algorithms, Data Structures, Code Quality, etc.)
- Real-time keystroke and performance tracking
- Personalized learning path recommendations
- Quest opportunity recommendations based on achieved rank

🎨 UI/UX Improvements:
- Animated score reveals and celebration effects
- Tabbed interface for detailed results analysis
- Responsive design optimized for coding assessments
- Dark theme Monaco Editor with professional styling

🏗️ System Architecture:
- Comprehensive rank system (Bronze → Silver → Gold → Platinum → Diamond)
- Local storage integration for persistent test results
- Mock AI evaluation system with realistic scoring algorithms
- Integration with existing dashboard and authentication systems

This update transforms the basic rank test into a professional-grade AI assessment platform comparable to industry standards like LeetCode or HackerRank.
      user profiles, and skill progression
    2
    3 This commit introduces a comprehensive set of new features and
      improvements across the Adventurers Guild platform, enhancing
      functionality for companies, adventurers, and administrators.
    4
    5 Key features implemented:
    6
    7 - **Quest Management (Company Dashboard):**
    8   - Implemented API endpoints (`/api/quests/create`,
      `/api/quests/update/[id]`, `/api/quests/delete/[id]`) for full CRUD
      operations on quests.
    9   - Developed corresponding UI components (`CreateQuestDialog`,
      `EditQuestDialog`) allowing companies to create, modify, and remove
      their quests directly from the dashboard.
   10   - Integrated `AlertDialog` for confirmation on quest deletion.
   11
   12 - **Client Portal:**
   13   - Introduced a new `client` user role in the `user_role` enum within
      `supabase-schema.sql`.
   14   - Created a basic client dashboard (`app/client/dashboard/page.tsx`)
      with a `CreateProjectForm` component, enabling clients to post new
      projects (quests) which default to 'draft' status for admin review.
   15
   16 - **Admin Dashboard:**
   17   - Developed an admin dashboard (`app/admin/dashboard/page.tsx`) to
      review and manage pending quests.
   18   - Implemented `handleApprove` and `handleReject` functions to update
      quest statuses via the `/api/quests/update/[id]` endpoint.
   19   - Added `toast` notifications for immediate feedback on
      administrative actions.
   20
   21 - **User Profile Management:**
   22   - Created `UserProfileForm.tsx` component for users to edit their
      profile details (name, username, bio, GitHub URL, LinkedIn URL,
      location).
   23   - Migrated profile data fetching and updating from mock services to
      direct Supabase integration using the `useAuth` hook.
   24
   25 - **Quest Application Process:**
   26   - Implemented API endpoint (`/api/quests/[id]/apply`) for
      adventurers to submit quest applications.
   27   - Developed `QuestApplicationDialog.tsx` UI component for
      adventurers to apply with a cover letter and proposed timeline.
   28   - Enhanced company dashboard's `QuestApplicationsDialog` to fetch
      and display applications for specific quests, allowing companies to
      accept or reject them via `/api/quest_applications/[id]/status`
      endpoint.
   29
   30 - **Quest Submission Process:**
   31   - Implemented API endpoint (`/api/quests/[id]/submit`) for
      adventurers to submit their completed work.
   32   - Created `QuestSubmissionDialog.tsx` UI component for adventurers
      to provide submission details (URLs, description).
   33   - Integrated `QuestSubmissionsDialog` into the company dashboard,
      enabling companies to view submissions, approve/reject them, request
      revisions, and rate the submissions via `/api/quest_submissions/[id
      ]/status` endpoint.
   34
   35 - **Skill Tree & Developer Progression System:**
   36   - Implemented API endpoint (`/api/skills`) to fetch dynamic skill
      categories and individual skills.
   37   - Updated `app/profile/page.tsx` to fetch and display the skill tree
      dynamically, replacing hardcoded data.
   38   - Enhanced `SkillDetail.tsx` to include an "Unlock Skill" button,
      calling `/api/user_skills/unlock` to record skill unlocks.
   39   - Integrated logic within quest submission approval to automatically
      update user's `xp`, `skill_points`, and `level` for relevant skills,
      and to calculate and update user's `rank` based on accumulated XP.
   40
   41 **Breaking Changes / Migration Notes:**
   42 - The `user_role` enum in `supabase-schema.sql` has been updated to
      include a new `'client'` role.
   43 - Database schema changes related to `quest_applications`,
      `quest_submissions`, `user_skills`, and `users` tables have been
      introduced.
   44 - **Action Required:** To ensure your local Supabase database is
      synchronized with these changes, please run `supabase db push` after
      pulling this commit.
   45
   46 This extensive set of changes significantly advances the platform's
      core functionality and user experience.
      user profiles, and skill progression part 2
@vercel
Copy link
Contributor

vercel bot commented Aug 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
adventurers-guild Ready Ready Preview Comment Aug 29, 2025 4:13pm

@gitguardian
Copy link

gitguardian bot commented Aug 24, 2025

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
20229677 Triggered Generic Password b468990 app/test/page.tsx View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant