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

Duplicate File Name in same directory.

Aperta
#210 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

The issue does not name files or tests; start by locating the current FilePond upload entry point and how uploaded files are assigned to directories. Compare duplicate-name handling for replacement/skipping, automatic renaming, and an error message, including the required UI behavior. Done means one approach is selected and its duplicate-file behavior is implemented and verified.

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

Descrizione

enhancement
Image

An error message should be shown if a file name already exists and user is trying to upload another file with same name. Plan on what can be done. Evaluate on the following options:

  1. Check the file pond used currently. If it is possible to allow replace/skip option for the files that are duplicate. If yes then what would be the changes in the UI that would be needed.

  2. Automatically modify the name of the file and add the numbers to the end of the file name. Like:
    abc.pdf, abc.pdf (1), abc.pdf (2).

  3. If not possible can we just show an error message when files with same name appear in the same directory.

Lingua principale
JavaScript
Stelle
15
Fork
5
Merge medio
5g 7h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 Coding-Club-IITG/CourseHub

Tutte le issue di Coding-Club-IITG/CourseHub

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.