Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

"Files" ressource in Smart Picker might mislead users

Abierto
#8,315 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
design, frontend

Línea de trabajo

Comienza en el recurso "Files" de Smart Picker y compara su punto de entrada del picker/modal con los flujos de acciones de adjuntar y enlazar descritos. Para darlo por terminado es necesario elegir e implementar una interacción aclarada, pero el issue no menciona archivos, pruebas ni una solución definitiva; las etiquetas y acciones resultantes deben distinguir claramente entre enlazar y adjuntar.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?)

Lenguaje dominante
JavaScript
Estrellas
665
Forks
133
Merge medio
1 d 17 h
PR fusionados (30 d)
172

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/text

Todos los issues de nextcloud/text

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.