PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

pobb.in account sync

Aperta
#5,180 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

enhancement
Lingua principale
Lua
Stelle
5.4k
Fork
2.4k
Merge medio
1g 12h
PR unite (30g)
26

Descrizione

Check for duplicates
  • I've checked for duplicate issues by using the search function of the issue tracker
Is your feature request related to a problem?

I'd like to be able to log in to pobb.in to keep my builds there while I get the chance to view and update them on PoB.

Describe the solution you'd like
  1. Have a "Log in with pobb.in" on the build list screen. This opens some sort of web log in. I don't know if pobb.in has a mechanism to provide the token in a callback so I'm not sure how exactly it could work, so little bit of wishful thinking here.
  2. This imports my pobb.in builds into the build list, maybe in a separate section, organized by patch using folders or some similar separator. These builds are re-downloaded when rendering the list anew in case they have any changes.
  3. When saving a build while having a valid pobb.in token available, the build edit date is compared with the upstream in pobb.in and:
  • if it's ahead, it overwrites it.
  • If it's divergent, there's a dialog to choose to either overwrite it or download the latest version since conflict resolution on the encoded build string is not feasible.
  1. For builds from pobb.in, there would also need to be a button somewhere in the build view, likely nearby Save, to pull the last version of the build, with a warning in case we locally have changes made after the last edit date of the pobb.in version.
Describe alternatives you've considered

A build can be imported from pobb.in by using the import functionality from PoB.
The build in PoB can be manually updated by re-pasting the new code.
The build in pobb.in can be updated by exporting it to a code in PoB, then copying it, and editing the pobb.in build by pasting it.

Additional context

No response

Guida per i contributori

Apri la guida per i contributori

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.

Direzione di ricerca

La issue non indica file, test o punti di ingresso. Inizia individuando le implementazioni dell’elenco delle build e della vista delle build, quindi esamina la gestione esistente dell’importazione/esportazione di pobb.in e qualsiasi limite di autenticazione o di rete; il lavoro sarebbe completo quando fossero definiti un flusso di login concordato, sezioni di build sincronizzate, un comportamento in caso di conflitti e controlli di aggiornamento.

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

Valutazione

Stack tecnologico
lua
Ambito
api, authentication, desktop
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.