The intended user experience for this feature is as follows:
Have the user head to the Sync tab and authenticate GenshinMap for their account.
Once authenticated, you can click a button on a marker popup to pull up a form. On this form you can choose an option:
Update Text: Provides the ability to add data for a new translation or edit existing text.
Add Image: Provides the ability to add an image.
Move Marker to Another Feature: Provides the ability to select another feature to move the marker to. This can be a different marker in the same region (example use case: Adding a chest from Common to Exquisite) or to a different region (example: moving a chest from Mondstadt to Dragonspine).
Relocate or Remove: Provides a simple text field where the user can provide more information.
Upon clicking submit, the user will NOT be redirected to GitHub like the current implementation of the editor. Instead, the following steps will happen:
For Relocate or Remove, the GitHub API will be used to create a new issue in the user's name describing the problem along with referencing the associated marker.
For all the other modes, the GitHub API will create a new fork of the repository on the user's account. Then, it will create a new branch on that repository. Then, it will perform the requested change directly to the data files on that fork such that a new commit is created. Then, it will submit a pull request to the original repository for that change to be implemented.
The intended user experience for this feature is as follows: