Pinning should have a better UX for any time scale it takes to pin, and pinning intentions should be persisted between reboots
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript
- Área
- desktop
Línea de trabajo
Empieza por rastrear el flujo actual de pinning en IPFS Desktop y revisar cómo las solicitudes de pin sobreviven a los reinicios de la aplicación. Define los estados, el comportamiento de la cola en segundo plano y en primer plano, el manejo de reintentos y las notificaciones de finalización descritos aquí; se considera terminado cuando los pins retrasados, grandes y no disponibles siguen visibles y finalmente informan de su finalización sin perder la intención del usuario.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This is a feature request for IPFS Desktop as I currently see this problem;
Pinning something falls either under three different "time scales".
The first is that the file is already locally downloaded, and pinning is nothing more than verifying that the file exists, this usually takes under a second.
The second is that the file is not completely downloaded, or not downloaded at all, but that it is easily accessible over the network (i.e. DHT announcements are out, content is easily findable, and its relatively small, only a few MB or so), this'd take a few seconds, but nothing more.
The third is that the file is not findable, the file is either not announced, the peers aren't reachable, or otherwise the pinning process takes an extra amount of time to complete, usually for multiple GB of data.
The last two is what IPFS Desktop does not feel ready for, the pinning checkmark feels like it has a roundtrip time of exactly the amount of time it takes to press it, and nothing more.
For pins that take a second more, the pinning state should be communicated clearly to the user, and replaced with a 'pinned' icon when it is done.
For pins that are stalled or take an incredibly long amount of time, the request that the user wants to pin this file should be persisted, so that they can simply tell IPFS "hey, i care about this file, find it, no matter how long it takes", that is what i expect it to do, and i've had multiple times where after a restart, IPFS Desktop forgot i wanted to pin the file, even ones that were actively downloading.
I'm currently using ipfs-cluster, which has this behaviour, where pin add tells it to queue up the pin, and try pinning it later, retrying other pins in a round-robin fashion ad infinitum, until one of them succeeds pinning, leaving others to take the place in the queue.
It has a relative prioritisation system, where a new pin is more eligible for the active-pinning queue than older pins. This is relatively annoying as it takes the timeout phase (24h by default) for the new pin to start getting pinned, so IMO a "background" and "foreground" queue should be created for IPFS Desktop to achieve a better user experience.
Pinning this way (in the background, in a long-form) should also generate notifications when the pin is complete, so the user can be somewhat aware when such a thing is finally done.
- Lenguaje dominante
- JavaScript
- Estrellas
- 6.6k
- Forks
- 908
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ipfs/ipfs-desktop
-
kind/bug need/triage
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
ipfs/ipfs-desktop#3218 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
ipfs/ipfs-desktop#3215 · 1 comentario · 1 reacción ·
-
kind/bug need/triage
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
ipfs/ipfs-desktop#3206 ·
-
need/analysis need/community-input P3 topic/linux
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
ipfs/ipfs-desktop#3042 · 2 comentarios · 1 reacción ·
-
Feature request: Option to start application minimized to system trayQuizá libre de nuevo @RubenKelevra la tomó hace 82 días y no hay ningún pull request abierto. Abiertoeffort/hours exp/novice kind/enhancement P2
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
ipfs/ipfs-desktop#3041 · 4 comentarios ·
Todos los issues de ipfs/ipfs-desktop
Issues similares
-
QA
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CSIS-iLab/more-red-ink#164 ·
Los mantenedores suelen responder en 1 día
-
area:filesystem bug need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
comp/dashboard P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
NousResearch/hermes-agent#156404 ·
Los mantenedores suelen responder en 1 día
-
Band: compact mode never draws on Claude Code 2.1.292 (level Button has a Text child)Posiblemente ocupada @Bunty9 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
DietrichGebert/ponytail#1437 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
huggingface/transformers.js#1945 ·
Los mantenedores suelen responder en 1 día