Filter top-level domain folders in WP Cloud Library based on site display settings
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Comienza por la representación de la cuadrícula de carpetas de Cloud Library en el administrador de WordPress y por la configuración existente “Show images only from these sites”; después, compárala con el comportamiento del filtrado de la lista de assets. Se considera terminado cuando las carpetas de dominios de nivel superior excluidas quedan ocultas, mientras que las carpetas compartidas y los casos sin filtro o con todos los sitios siguen visibles; aclara si mover assets no asignados en bloque también forma parte del alcance.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Impact: 75 · Confidence: 90 · Complexity: 40
Description
Problem: When a user configures 'Show images only from these sites' under Settings > Cloud Library in the Optimole WordPress plugin, the Cloud Library view still displays folder icons for all domains associated with the global Optimole account. In multi-client environments, this exposes non-relevant project folder names to site admins.
Desired Behavior: The Cloud Library folder list in the WordPress admin panel should respects the 'Show images only from these sites' configuration, hiding or collapsing domain folders that are not included in the allowed list.
Acceptance Criteria:
- When 'Show images only from these sites' contains specific domains, only folder items corresponding to those domains (and shared folders) are listed in the Cloud Library folder grid inside WordPress.
- Folders belonging to excluded domains are filtered out of the top-level ORDNER view.
- If no domain filter is specified or 'Unified Image Access' displays all sites, all domain folders remain visible.
Customer Context
A pro customer managing multiple client websites under a single Optimole account configured the plugin settings on partner.easycredit.de to show images only from partner.easycredit.de. However, all domain folders from other projects (e.g. tertianum.de, ras-services.de) still appear in the Cloud Library view in WordPress, causing privacy/client concerns and clutter.
Root Cause Analysis
The customer is managing multiple distinct client websites under a single Optimole account. Their underlying goal is twofold: (1) prevent client site administrators from seeing folder names and assets belonging to other client websites in the WordPress Cloud Library, and (2) quickly organize unassigned images into the correct domain folders.
Currently, the plugin's 'Show images only from these sites' filter restricts which image assets appear under the media listing, but it does not filter out top-level domain folder icons in the Cloud Library UI inside WordPress. Furthermore, assigning unassigned images to domain folders requires moving each asset individually through the item options menu. Both issues stem from existing features (domain filtering and folder organization) not extending their filter or batch-management logic to all UI elements.
Alternative Suggestions
Update the Cloud Library UI rendering in the WordPress plugin to apply the domain whitelist filter configured in Settings > Cloud Library directly to the top-level domain folder array returned by the API.
Reasoning
The customer is experiencing two distinct issues when managing multi-site/multi-domain assets in the Optimole Cloud Library:
-
Filtering domain folders in the Cloud Library view within WordPress: Even though the user set 'Show images only from these sites' to a single domain (partner.easycredit.de) in the plugin settings (as shown in image 1), the Cloud Library interface within WordPress still displays domain folders for all other sites connected to the Optimole account (as shown in image 2). The customer finds these extra folders distracting and embarrassing when managing multiple client projects. Instead of requiring a new feature, this is a gap between user expectation and current filter behavior — the setting 'Show images only from these sites' should also filter or collapse the top-level domain folders displayed in the WordPress Cloud Library view so that site-restricted views only show relevant domain folders.
-
Unassigned assets management: The customer asks how to assign unassigned assets (images without folder attribution) to their correct domain folders. Currently, users must manually select and move individual assets one by one using the three-dot menu ('Move'). Enhancing the existing asset selection and batch action workflows in Optimole to support bulk moving unassigned assets to target domain folders resolves the second pain point.
Source: HelpScout #3451395720
Generated by feature-request-triage workflow (ID: feature-request-triage_6aa9099df2da94.95784861)
- Lenguaje dominante
- PHP
- Estrellas
- 73
- Forks
- 14
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 16
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Codeinwp/optimole-wp
-
bug-report bug-report-triage crash-report
Dificultad 4/5 3-5 días Aptitud para principiantes 65/100
Codeinwp/optimole-wp#1162 ·
Los mantenedores suelen responder en 1 día
-
customer report feature-request-triage
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
Codeinwp/optimole-wp#1161 ·
Los mantenedores suelen responder en 1 día
-
bug-report bug-report-triage customer report regression
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
Codeinwp/optimole-wp#1159 ·
Los mantenedores suelen responder en 1 día
-
bug-report bug-report-triage crash-report
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Codeinwp/optimole-wp#1139 ·
Los mantenedores suelen responder en 1 día
-
bug-report bug-report-triage customer report
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Codeinwp/optimole-wp#1136 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de Codeinwp/optimole-wp
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Automattic/static-site-importer#1879 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
521xueweihan/HelloGitHub#3790 ·
-
[Bug] Feed date, title and author too long to fit inside article box on smaller screens, mobileAbiertoBug (unconfirmed) Good first issue 1️⃣ help wanted UI :art:
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
FreshRSS/FreshRSS#9360 · 2 comentarios ·
Los mantenedores suelen responder en 1 día