Commit Graph
11 Commits
Author SHA1 Message Date
ngthanhvu 2dac79e5f5 feat(admin): smart dropdown positioning, filter & pagination fixes
- Add getDropdownPosition() to handle table dropdown placement dynamically
- Remove overflow-hidden on admin-card so dropdowns aren't clipped
- Fix totalPages calculation using total/limit instead of missing API field
- Add role/status filters + full pagination to member page
- Create .agents/admin-ui-pitfalls.md for future reference
2026-08-10 00:22:54 -04:00
ngthanhvu 31ddec0739 feat: enhance admin pages with filtering and pagination for members 2026-08-09 22:45:00 -04:00
ngthanhvu 9c8a77f134 feat: cập nhật admin layout 2026-08-07 12:41:20 -04:00
ngthanhvu a36e6c77f8 feat: implement cache busting mechanism and UI improvements
- Added `useCacheBust` composable to manage cache invalidation after movie edits in the admin panel.
- Integrated cache busting in movie sync and delete actions to ensure data consistency across pages.
- Enhanced UI components in the admin movie management and member management pages for better readability and usability.
- Introduced a suggestions tab in the movie detail page to recommend similar movies based on categories.
- Updated styles for various elements to improve the overall aesthetic and user experience.
2026-08-05 05:19:34 -04:00
ngthanhvu 00036a7cc2 feat: implement sorting functionality for movie management and add sections API for recent comments and trending movies 2026-07-29 23:10:40 -04:00
ngthanhvu 1c92c0d50b feat: Update nhiều thứ 2026-07-28 21:55:39 -04:00
ngthanhvu 72bc657d86 feat: implement admin interface for managing custom movie sources and servers with new API endpoint and database schema updates 2026-07-28 03:29:55 -04:00
ngthanhvu 6c1dd39935 feat: change libraly icons 2026-07-25 10:39:40 -04:00
ngthanhvu f42dff9b0a feat: add episode total handling and display across movie pages
- Implemented `getEpisodeDisplay` function to format episode information for movies.
- Updated movie display components to show episode information using the new function.
- Added `episodeTotal` field to the movies schema and updated related API endpoints to handle this new field.
- Enhanced movie synchronization process to fetch and store episode totals from external sources.
- Created a new error page component for better user experience on 404 errors.
- Added migration scripts to update the database schema for episode totals.
2026-07-23 02:56:24 -04:00
ngthanhvu 221c132e60 feat: add HLS proxy, view tracking, and player improvements
- Add HLS proxy middleware for CORS bypass
- Add view tracking API endpoint
- Improve HLS player with proxy fallback mechanism
- Add custom episode support in admin
- Update admin movie list with view count
- Add description expand/collapse on movie detail
- Fix hydration warnings in watch page
2026-07-22 11:43:14 -04:00
ngthanhvu ad8d577493 feat: add movie management API and database schema
- Implemented movie CRUD operations with endpoints for creating, retrieving, updating, and deleting movies.
- Added pagination and filtering capabilities for movie retrieval.
- Integrated Redis caching for improved performance on movie data retrieval.
- Created database schema for movies with necessary fields and types.
- Added migration files for initial movie table creation and subsequent updates.
- Configured database connection using Drizzle ORM with MySQL.
- Established Redis connection utility for caching.
2026-07-22 00:31:10 -04:00