PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

pobb.in account sync

Offen
#5,180 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

enhancement
Vorherrschende Sprache
Lua
Sterne
5.4k
Forks
2.4k
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
26

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die Implementierungen der Build-Liste und der Build-Ansicht zu finden, und untersuche anschließend die bestehende Import-/Export-Behandlung von pobb.in sowie jegliche Authentifizierungs- oder Netzwerkgrenzen; abgeschlossen wäre die Arbeit erst mit einem vereinbarten Login-Ablauf, synchronisierten Build-Abschnitten, einem Konfliktverhalten und Aktualisierungssteuerungen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua
Bereich
api, authentication, desktop
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.