Filter top-level domain folders in WP Cloud Library based on site display settings
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Bắt đầu từ việc hiển thị dạng lưới thư mục của Cloud Library trong trang quản trị WordPress và tùy chọn hiện có “Show images only from these sites”, sau đó so sánh với hành vi lọc của danh sách asset. Được xem là hoàn tất khi các thư mục miền cấp cao nhất bị loại trừ được ẩn đi, trong khi các thư mục dùng chung và trường hợp không có bộ lọc hoặc chọn tất cả các site vẫn hiển thị; hãy làm rõ liệu việc di chuyển hàng loạt các asset chưa được gán cũng nằm trong phạm vi hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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)
- Ngôn ngữ chính
- PHP
- Star
- 74
- Fork
- 14
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Codeinwp/optimole-wp
-
Page profiler endpoint fatals on PHP 8 when the request has no `b` (background selectors) fieldĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Codeinwp/optimole-wp#1204 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Codeinwp/optimole-wp#1203 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Codeinwp/optimole-wp#1202 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Codeinwp/optimole-wp#1200 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Codeinwp/optimole-wp#1199 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Codeinwp/optimole-wp
Issue tương tự
-
Impact: Medium Level: Easy Type: Bug Value: Users
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
vigetlabs/wordpress-site-starter#315 ·
Maintainer thường phản hồi trong vòng 15 ngày
-
PHP 8.6: bundled guzzlehttp/promises loads class `Is` → "Using "is" as a class name is deprecated"Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
google/site-kit-wp#14004 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jwage/phpamqplib-messenger#159 ·
-
facilities.uiowa.edu needs grooming
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày