Skip to content

124 featcatalog content poster selection and merging#166

Closed
NorbertAguilera wants to merge 147 commits into
mainfrom
124-featcatalog-content-poster-selection-and-merging
Closed

124 featcatalog content poster selection and merging#166
NorbertAguilera wants to merge 147 commits into
mainfrom
124-featcatalog-content-poster-selection-and-merging

Conversation

@NorbertAguilera

Copy link
Copy Markdown
Collaborator

Poster Management (Gestió de Cartelleres)

The Poster Management section is a dedicated administrative interface within the StreamSync/JoinProject application. It allows staff and administrators to efficiently manage, filter, and update the promotional artwork (posters) associated with movies and series.

📌 Features

  • Content Overview Table: Displays a paginated list of all media content (movies and series) with a live preview thumbnail of their current poster.
  • Advanced Filtering & Search:
    • Platform Filter: Easily filter content by the streaming platform they belong to (e.g., Netflix, HBO, Prime Video).
    • Text Search: Real-time search bar to find specific titles quickly.
  • Smart Data Display:
    • Shows content Title, associated Platforms (handles multiple platforms per content), Release Year, and the raw Poster Path.
    • Long poster URLs are smartly truncated to two lines to maintain a clean UI, revealing the full URL upon mouse hover.
  • Fallback Placeholders: Automatically displays an elegant placeholder icon if a content piece is missing a poster image.
  • Direct Editing: Provides an "Edit" action button for each row, navigating the admin to a dedicated form (editar_cartellera) to manually update the URL of the poster.

🛠️ Technical Details

Views (users/views.py)

  • gestion_cartelleres(request):
    • Requires is_superuser permissions.
    • Handles the GET parameters for filtering (plataforma) and searching (q).
    • Implements Django's Paginator to limit results to 20 items per page.
  • editar_cartellera(request, contingut_id):
    • Handles the updating of the poster_path attribute for a specific Contingut object via a POST request.

Templates

  • gestion_cartelleres.html: The main UI. Built with a responsive, glassmorphism-inspired design (glass-card). It iterates over the Contingut models and their related apis (ManyToManyField).
  • editar_cartellera.html: The form interface for updating the poster URL.

Key CSS Implementations

  • Line Clamping: The poster path URL cell uses -webkit-line-clamp: 2 combined with word-break: break-all to ensure long URLs do not break the table layout while remaining accessible via the HTML title attribute.

🚀 Usage

  1. Log into the application with an Administrator or Staff account.
  2. Navigate to the Admin Dashboard.
  3. Access the "Editar Cartelleres" section.
  4. Use the top filter bar to narrow down the content.
  5. Click the "Editar" (Edit) button on any row to update its poster image URL.

Bogdan2005-19 and others added 30 commits April 30, 2026 16:12
…ay-movieseries-details-and-available-platforms

23 featcontent UI display movieseries details and available platforms
…ed-contents-when-searching

fix(home): Search catlog does not show duplicates
…t-search-system-and-detailed-content-view

21 featcontent implement search system and detailed content view
fix(profile-api): resolve AttributeError in profile API and include favorite series
Restrict push events to the main branch only.
Bogdan2005-19 and others added 27 commits May 16, 2026 18:23
…ic-anonymization-of-personal-data

feat(reports): automatic anonymization of personal data in CSV export and here tests
…liant-anonymization-for-external-platforms

feat(legal): GDPR compliant anonymization for external platform exports
feature(admin): Implemented admin users creation and deletion
…-poster-selection-and-merging

feat(DB_backup): added the db backup with instructions comented
Redirect role Implemented to restrict staff and admin access (First merge PR151)
…ous-generation-of-segmented-and-anonymized-market-reports

120 featreports autonomous generation of segmented and anonymized market reports
…racking

feat(redirect): implement internal tracking for platform clicks without external redirection #24
@Bogdan2005-19
Bogdan2005-19 temporarily deployed to 124-featcatalog-content-poster-selection-and-merging - JoinProject PR #166 May 19, 2026 16:12 — with Render Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants