Mohammed Abad 9a8ee181e5 Complete frontend refactoring: UI enhancements, pagination, filtering, search architecture, and data management improvements
# Phase 1: Feature Implementation
- Add "Create new..." option in `AddEntryToCollectionDialog` for inline collection creation with auto-select
- Implement lazy loading pagination with IntersectionObserver for Watchlist, Collections, and Media pages
- Add reusable useDebounce hook (300-400ms) and apply to all search inputs across pages
- Reset scroll position to top when switching between sidebar navigation pages via useLocation()
- Reorganize MediaPage with horizontal control layout, add Media Type filter (All/Audio/Video), and Custom Media filter (Show All/Official Only/Custom Only)
- Add three-dot menu (MoreHorizontal icon) to collection cards with Edit/Delete options and "Get all parts" feature
- Replace numeric rating input with interactive star rating component in EditCollectionDialog (0-10 stars with half-star support)
- Display entry type badges ("Movie" / "TV Series") on home page trending/popular sections and search results
- Create PeopleSearchResult component with profile images; integrate useTmdbSearchPeople hook linking to `/people/tmdb/:tmdbId`
- Add TMDB Rating and User Rating filters to Library page with range sliders (0-10, step 1) and state persistence in useLibraryStore
- Add All/Movies/TV Series type filter to Watchlist page with filtered count display
- Improve People Details page mobile UI: optimize header, info section sizing, and filmography card layouts for touch

# Phase 2: Architecture Refactoring & Bug Fixes
- Fix scroll-to-top on sidebar navigation by constraining AppLayout root to `h-screen overflow-hidden` so `<main>` becomes proper scroll container
- Extract search from HomePage into dedicated SearchPage component with `/search` route, debounced input, and URL query sync via SearchParams
- Add Search nav item with icon to sidebar for easy search access
- HomePage search input now navigates to `/search?q=...` instead of handling inline, separating concerns and enabling search bookmarking
- Entry type pill badges now conditionally render via `showTypeBadge` prop on EntryCard—only SearchPage passes this to prevent display on home/discover pages
- Fix people ID bug: people search results now link to `/people/tmdb/:tmdbId` (TMDB redirect route) instead of `/people/:id`, correctly mapping TMDB IDs to local database IDs through PersonTmdbRedirectPage
- Enhance People Details filmography sorting: "Not in Library" section now detects self roles (self/themselves/himself/herself) and sorts non-self by release date (new→old) with all self roles pushed to end of list

# Summary
- Created new files: SearchPage.tsx, useDebounce.ts
2026-04-12 01:33:00 +01:00
2024-04-01 21:30:57 +00:00
2025-02-15 23:40:34 +01:00
2024-03-26 12:59:15 +00:00
2025-04-02 00:18:02 +00:00
2025-02-15 22:48:07 +01:00

Showy - Movies & Series Library Tracker

Showy is a comprehensive application designed to help you manage your movies and series library. Built with Angular 17, Node.js, Express, and MySQL, and optionally packaged with Electron, Showy allows you to track your watch progress, manage your watchlist, view upcoming releases on a calendar, and organize official and custom collections. The app also features a dashboard for quick insights into your library. The entire application is dockerized for easy setup and deployment.


Features

  • Library Management:
    • Add movies and series to your library.
    • Track watch progress for movies and episodes.
    • Add movies and series to your watchlist.
  • Calendar:
    • View upcoming movies and episodes in a calendar view.
    • Never miss a release date for your favorite shows or movies.
  • Collections:
    • Browse official collections (e.g., Marvel Cinematic Universe, Harry Potter series).
    • Create and manage custom collections (e.g., "90s Classics", "Christmas Movies").
  • Dashboard:
    • Get an overview of your library stats.
    • View recently added movies/series, upcoming releases, and watch progress.
  • Optional Desktop App:
    • Use Showy as a desktop application with Electron for a seamless experience.
  • Dockerized:
    • Easy setup and deployment using Docker and Docker Compose.

Technologies Used

  • Frontend: Angular 17
  • Backend: Node.js, Express
  • Database: MySQL
  • Optional Desktop Integration: Electron
  • Containerization: Docker, Docker Compose

Project Structure

showy/
├── frontend/                # Angular 17 frontend
│   ├── src/
│   │   ├── app/             # Angular components, services, modules
│   │   ├── assets/          # Static assets (images, styles)
│   │   └── environments/    # Environment configurations
│   ├── Dockerfile           # Dockerfile for the frontend
│   └── ...
├── backend/                 # Node.js + Express backend
│   ├── config/              # Database and app configurations
│   ├── controllers/         # API controllers
│   ├── models/              # Database models
│   ├── routes/              # API routes
│   ├── Dockerfile           # Dockerfile for the backend
│   └── ...
├── electron/                # Electron configuration (optional)
├── docker-compose.yml       # Docker Compose configuration
└── README.md                # This file

Getting Started

Prerequisites

  • Docker
  • Docker Compose

Installation

  1. Clone the repository:
git clone https://github.com/X4Lo/showy.git
cd showy
  1. Set up environment variables:
    • Create a .env file in the backend directory with the following variables:
PORT=3000
DB_HOST=mysql
DB_USER=root
DB_PASSWORD=yourpassword
DB_NAME=showy
  1. Build and run the application with Docker Compose:
docker-compose up --build
  1. Access the app:
    • Frontend: Open your browser and navigate to http://localhost:4200.
    • Backend API: Access the API at http://localhost:3000.
  2. (Optional) Run the app with Electron:
    • Follow the instructions in the electron/README.md to build and run the desktop app.

Acknowledgments

  • Thanks to the Angular, Node.js, and Express communities for their amazing tools and libraries.
  • Special thanks to (mention any libraries or tools you used, e.g., TMDB API for movie data).

Contact

For questions or feedback, feel free to reach out:


Enjoy managing your movies and series with Showy! 🎬🍿

S
Description
No description provided
Readme
7.1 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 46%
TypeScript 37.1%
CSS 10.9%
HTML 4.9%
SCSS 1.1%