feat: implement hierarchical tags system with categories and subcategories#68
Open
gor3a wants to merge 3 commits into
Open
feat: implement hierarchical tags system with categories and subcategories#68gor3a wants to merge 3 commits into
gor3a wants to merge 3 commits into
Conversation
- Updated .gitignore to include environment variable files and task management files. - Added new markdown files for Accessibility, Code Style & Structure, Error Handling & Validation, Forms & Validation, General guidelines, Naming Conventions, Performance Optimization, React + TypeScript Best Practices, State Management, TypeScript Configuration, and UI & Styling. - These guidelines aim to enhance code quality, maintainability, and accessibility across the AgileSpace project.
…ories - Add database migration for tag hierarchy (parent_id, tag_type, sort_order, is_system) - Create hierarchical tag management hooks and components - Implement predefined issue type categories (Meeting, Development, Project Management) - Add hierarchical tag selector for session creation - Update end session dialog to use new tag selector - Add cursor rules for code organization and best practices - Support system tags with seeding functionality - Improve tag management UI with collapsible categories
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Deploying agilespace with
|
| Latest commit: |
87804b5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b5643d1b.agilespace.pages.dev |
| Branch Preview URL: | https://feat-hierarchical-tags-imple.agilespace.pages.dev |
…up related components - Removed the mode prop from HierarchicalTagFormProps and its usage in the component. - Updated TagsPage to eliminate mode prop from tag creation and editing dialogs. - Cleaned up imports in use-tags and mutations files by removing unused functions and simplifying loops.
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.
Hierarchical Tags Implementation
Overview
This PR implements a comprehensive hierarchical tags system for AgileSpace, allowing users to organize issue types into categories and subcategories for better session tracking and reporting.
🎯 Features Added
Database Schema
parent_id,tag_type,sort_order, andis_systemfields to tags tablePredefined Issue Types
UI Components
Hooks & Logic
🔧 Technical Implementation
Code Organization
Cursor Rules
Added comprehensive development guidelines:
🚀 User Experience
Tag Management
Session Creation
�� Database Changes
🧪 Testing
Manual Testing Checklist
Backward Compatibility
�� Files Changed
New Files
src/components/hierarchical-tag-form.tsxsrc/components/hierarchical-tag-selector.tsxsrc/constants/issue-types.tssrc/hooks/use-hierarchical-tag-management.tssrc/hooks/use-hierarchical-tag-selector.tssupabase/migrations/20250719004549_add_hierarchy_to_tags.sql.cursor/rules/*.mdc(development guidelines)Modified Files
src/components/end-session-dialog.tsx- Updated to use hierarchical selectorsrc/hooks/api/use-tags.ts- Added seeding functionalitysrc/lib/supabase/mutations.ts- Enhanced tag CRUD operationssrc/lib/supabase/queries.ts- Added hierarchical queriessrc/routes/space/$slug/tags/index.tsx- Complete UI overhaulsrc/types/database.types.ts- Updated schema typessrc/types/index.ts- Added hierarchical tag interfaces�� UI/UX Improvements
🔮 Future Enhancements
�� Migration Notes
pnpm supabase db pushBreaking Changes: None - fully backward compatible
Performance Impact: Minimal - optimized queries with proper indexing
Security: No changes to authentication or authorization