Pinning should have a better UX for any time scale it takes to pin, and pinning intentions should be persisted between reboots
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- desktop
Direzione di ricerca
Inizia tracciando il flusso attuale del pinning in IPFS Desktop e verificando come le richieste di pin sopravvivono ai riavvii dell'applicazione. Definisci gli stati, il comportamento della coda in background e in foreground, la gestione dei retry e le notifiche di completamento descritti qui; il lavoro è completato quando i pin ritardati, di grandi dimensioni e non disponibili rimangono visibili e segnalano infine il completamento senza perdere l'intento dell'utente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 6.6k
- Fork
- 908
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ipfs/ipfs-desktop
-
kind/bug need/triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
ipfs/ipfs-desktop#3218 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
ipfs/ipfs-desktop#3215 · 1 commento · 1 reazione ·
-
kind/bug need/triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
ipfs/ipfs-desktop#3206 ·
-
need/analysis need/community-input P3 topic/linux
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ipfs/ipfs-desktop#3042 · 2 commenti · 1 reazione ·
-
Feature request: Option to start application minimized to system trayForse di nuovo libera @RubenKelevra l’ha presa 82 giorni fa e non c’è nessuna pull request aperta. Apertaeffort/hours exp/novice kind/enhancement P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
ipfs/ipfs-desktop#3041 · 4 commenti ·
Tutte le issue di ipfs/ipfs-desktop
Issue simili
-
QA
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CSIS-iLab/more-red-ink#164 ·
I maintainer di solito rispondono entro 1 giorno
-
area:filesystem bug need-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
comp/dashboard P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
NousResearch/hermes-agent#156404 ·
I maintainer di solito rispondono entro 1 giorno
-
Band: compact mode never draws on Claude Code 2.1.292 (level Button has a Text child)Forse già presa @Bunty9 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DietrichGebert/ponytail#1437 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
huggingface/transformers.js#1945 ·
I maintainer di solito rispondono entro 1 giorno