tercul-frontend/TODO.md
Damir Mukimov 4a23f496fa
Major frontend development updates
- Enhanced annotation system with improved inline editing
- Updated author components with new card and header designs
- Improved reading view with enhanced line numbering and controls
- Added new blog management features and tag management
- Updated UI components with improved accessibility and styling
- Enhanced search functionality with better filtering
- Added new dashboard features and activity feeds
- Improved translation selector and work comparison tools
- Updated GraphQL integration and API hooks
- Enhanced responsive design and mobile experience
2025-11-27 03:44:09 +01:00

6.8 KiB

Tercul Platform Development Todo List

Component Library Progress

  • Complete Work Header component
  • Complete Comment Thread component
  • Implement Author Header component
  • COMPLETED: Author Components Refactoring
    • Aligned all author components with shared schema
    • Created centralized types and utilities
    • Improved consistency across author cards, chips, and timeline
    • Added loading states and error handling
    • Implemented proper TypeScript types
  • Implement Annotation Editor component
  • Implement Author Editor component
  • Implement Blog Preview component
  • Implement Comparison View component

Recent Refactoring Completed

  • Author Components Alignment (Just Completed)

    • Created shared types in /components/authors/types.ts
    • Created utility functions in /components/authors/utils.ts
    • Refactored AuthorCard to use shared schema
    • Updated AuthorChip for consistency
    • Enhanced AuthorTimeline with proper error handling
    • Added centralized exports in /components/authors/index.ts
    • Removed duplicate Author interface definitions
    • Improved type safety and consistency
  • Composable Components Refactoring (Just Completed)

    • Split monolithic composables into individual files
    • Created /components/authors/composables/author-avatar.tsx
    • Created /components/authors/composables/author-name.tsx
    • Created /components/authors/composables/author-bio.tsx
    • Created /components/authors/composables/author-meta.tsx
    • Created /components/authors/composables/author-stats.tsx
    • Created /components/authors/composables/author-genres.tsx
    • Updated main components to use composable pieces
    • Improved maintainability with single-responsibility principle

Dashboard & Editorial Features

UI/UX Improvements

  • Create a consistent design system for all dashboard pages
  • Implement proper loading states with skeletons for all data fetching
  • Add proper error states and error boundaries
  • Improve mobile responsiveness for all dashboard pages

Dashboard Pages to Implement

  • Dashboard Overview (main statistics)
  • Blog Management (list view)
  • Blog Post Editor (create/edit)
    • Rich text editor with proper formatting toolbar
    • Image upload functionality
    • SEO metadata editor
    • Scheduling publication feature
  • Works Management
    • Works listing with filtering and sorting
    • Work creation/editing form
    • Bulk actions (delete, publish, unpublish)
  • Authors Management
    • Authors listing with search and filters
    • Author profile components (cards, chips, timeline)
    • Author profile editor with timeline management
    • Author merge functionality for duplicate profiles
  • Translations Management
    • Translations listing with filtering
    • Translation editor with parallel view
    • Version control/history tracking
  • Collections Management
    • Collections listing and editor
    • Drag-and-drop collection organization
    • Featured collections manager
  • Tags Management
    • Tag creation, editing, merging
    • Tag organization by category
    • Tag usage statistics
  • Annotations Management
    • Review and moderation queue
    • Annotations editor with context view
    • Bulk moderation actions
  • Comments Management
    • Comments listing with moderation tools
    • Comment reply interface
    • Spam detection and filtering
  • Analysis Results Management
    • AI analysis request interface
    • Results viewer with visualization options
    • Batch processing for multiple works
  • User Management (Admin only)
    • User listing with search and filtering
    • User role editor
    • Activity log viewer
  • Settings Panel
    • Site settings configuration
    • Theme editor
    • Feature toggles

Backend API Implementation

  • Stats endpoints for dashboard
  • CRUD endpoints for all dashboard entities
  • Proper pagination, filtering, and sorting for list endpoints
  • Authentication middleware with role-based access control
  • File upload endpoints for images and documents
  • Batch operations for bulk actions
  • Activity logging system
  • Webhook system for notifications

Feature Enhancements

  • Dashboard Search
    • Global search functionality across all content types
    • Advanced search interface with filters
  • Editorial Workflow
    • Content approval workflow with draft/review/published states
    • Editorial calendar with scheduled publications
    • Assignment system for editors and contributors
  • Notifications System
    • In-app notifications for editorial actions
    • Email notifications for important events
    • Notification preferences manager
  • Analytics Dashboard
    • Content performance metrics
    • User engagement statistics
    • Custom report builder
  • Improved Toast System
    • Toast queue management
    • Different toast types (success, error, warning, info)
    • Action buttons in toasts
  • AI Integration
    • Content analysis tools
    • Text generation assistance
    • Translation assistance
    • Content moderation helpers

Reading Experience Improvements

  • Enhanced Annotation System
    • Inline annotation creation
    • Better visualization of annotations
    • Filtering annotations by type/author
  • Reading Progress Tracking
    • Resume reading functionality
    • Reading statistics dashboard
  • Improved Translation Comparison
    • Side-by-side view with synchronized scrolling
    • Highlight differences between translations
    • Translation quality ratings
  • Social Features
    • Reading groups
    • Shared annotations
    • Discussion threads

Infrastructure and Performance

  • Implement database migrations system
  • Optimize API endpoints for performance
  • Add caching layer for frequently accessed data
  • Implement proper error logging and monitoring
  • Set up automated testing for critical features
  • Optimize front-end bundle size and loading performance

Technical Debt

  • Refactor duplicated code into shared components
  • Improve type safety throughout the application
  • Add comprehensive documentation for API endpoints
  • Standardize error handling across the application
  • Implement proper form validation throughout

Priority Next Steps

  1. Complete the Annotation Editor component
  2. Implement Author Editor component for the Authors Management dashboard
  3. Build Blog Preview component for blog post publishing workflow
  4. Create Comparison View for translation comparison
  5. Develop Content Queue component for editorial workflow