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

"Files" ressource in Smart Picker might mislead users

Aperta
#8,315 0 commenti 1 reazione 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
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
design, frontend

Direzione di ricerca

Inizia dalla risorsa "Files" di Smart Picker e confronta il relativo punto di ingresso del picker/modal con i flussi delle azioni di allegamento e collegamento descritti. Per completare il lavoro è necessario scegliere e implementare un'interazione chiarita, ma l'issue non indica file, test o una soluzione definitiva; le etichette e le azioni risultanti devono distinguere chiaramente il collegamento dall'allegamento.

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

Descrizione

Currently if I want to attach a file to a Text file, i can use the "attach" action button that will open a file picker with a clear title:

Image Image

If I only want to link to a file or folder from Files, i can use the Link action button that will open a File picker modal:

Image Image

The problem:
  • The Smart Picker offers a "Files" ressource which does not say anything about the picked item being attached or linked:
    Image
  • If you do not pay attention to the title of the modal (like me), you might think that you actually upload a file
    Image
Solutions
  1. Add a "Attach from Files" picker, rename the current Picker "Files -> Link from/to Files".
  2. Another option, possible more complicated: Keep the generic name for "Files" picker but explicitly allow to choose in the modal:

Instead one action button:

[Choose {filename}]

Something like this

[Insert link to {filename}] [Insert {filename} as attachment]

I have no strong opinion but I believe that this should be somehow fixed. Either of the proposed solutions should not be too hard to implement, can def try to prepare a PR for this.

(I know this is not strictly a bug/issue in the text app but in the smart picker ressources themselves, but my understanding is that this is the repo where the correct design should be discussed?)

Lingua principale
JavaScript
Stelle
665
Fork
133
Merge medio
1g 17h
PR unite (30g)
172

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 nextcloud/text

Tutte le issue di nextcloud/text

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.