Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Allow deletion of default domain folders in Optimole Library

Aperta
#1,073 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
php
Ambito
backend, frontend

Direzione di ricerca

Inizia tracciando l'endpoint esistente per l'eliminazione delle cartelle e il flusso di eliminazione delle cartelle della UI, quindi individua la validazione del backend che blocca le cartelle predefinite. Confronta le opzioni della finestra di dialogo di conferma e del dominio inattivo con il comportamento attuale. Il lavoro è completato quando le cartelle predefinite possono essere eliminate tramite un percorso sicuro esplicito, i rischi per i siti attivi sono chiaramente riconosciuti e il flusso di eliminazione esistente continua a funzionare per le cartelle ordinarie.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

customer report feature-request-triage

Impact: 75 · Confidence: 95 · Complexity: 45

Description

Problem: Users are prevented from deleting auto-generated 'default' folders (such as those created for domains) from the Optimole Cloud Library. When a domain is abandoned or migrated, users have no way to clean up the orphaned folder, leading to clutter and frustration.

Desired Behavior: Users should be able to delete default folders using the existing delete functionality. Rather than hard-blocking the action, the system should allow it subject to a strict confirmation or upon verifying the domain is inactive.

Acceptance Criteria:

  • Remove the hard restriction that prevents default folder deletion on the backend.
  • Introduce a strict confirmation dialog in the UI when attempting to delete a default folder (e.g., requiring the user to type the folder name to acknowledge it will break images if the site is live).
  • Alternatively, allow seamless deletion if the domain is verified as no longer linked/active on the account.

Customer Context

A premium user is trying to urgently organize their Property Portal Marketing account by deleting old domain folders ('newsite.simplyspanishhomes.com' and 'simplyspanishhomes.com'). They discovered the manual folder deletion feature but were blocked by an error stating they cannot remove default folders.

Root Cause Analysis

The existing 'delete folder' tool incorporates a protective restriction that hard-blocks the deletion of default (system-generated) folders. This was likely implemented to prevent users from accidentally breaking images on active websites. However, this protective default fails to account for valid cleanup use cases when a domain is decommissioned. The customer's inability to delete obsolete folders is caused by a gap in the validation logic, which lacks a pathway for intentional, confirmed deletion.

Alternative Suggestions

Improve the existing folder deletion endpoint by downgrading the restriction from a 'hard block' to a 'soft block'. Implement a warning confirmation prompt in the UI for default folders, or conditionally unlock the deletion if the API detects the domain is no longer actively connected to the Optimole account.

Reasoning

The customer is trying to delete folders associated with domain names but is blocked by a system restriction preventing the removal of 'default folders'. This issue doesn't require an entirely new feature, but rather an improvement to the existing folder deletion logic to accommodate the lifecycle of offboarded or inactive domains. We can improve the current product behavior by allowing these folders to be deleted after an adequate confirmation step.


Source: HelpScout #3341739214
Generated by feature-request-triage workflow (ID: feature-request-triage_6a1eb7ca56e5c1.18798109)

Lingua principale
PHP
Stelle
73
Fork
14
Merge medio
2g 13h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Codeinwp/optimole-wp

Tutte le issue di Codeinwp/optimole-wp

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.