Conversation
- 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
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 20229677 | Triggered | Generic Password | b468990 | app/test/page.tsx | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- 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
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 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.
…d/Adventurers-Guild into Profile-and-skill-map
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Development of a lot of stuff