mastodon-sc / mastodon-git

A plugin for Mastodon that allows to collaborate on a project via Git.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Continue Action After Asking The User For The Author Name #17

Closed maarzt closed 4 months ago

maarzt commented 7 months ago

User Story

A user that makes his first commit with Mastodon git needs to specify it's author name. In this case after clicking Plugins > Mastodon - Git > Commit the user will see a dialog asking for the author name. After entering the author name and clicking, ok, the user should now see another dialog asking for the commit message.

Solution / Changes in this PR

  1. Convert the "ask for author" dialog into a modal dialog. This allows for an action (like commit) to continue, after the author name has been set.
  2. Ask for the author name before all relevant aktions.
  3. Move all dialogs into one package.
  4. There's an additional change: The reload from disk action now user ModelImporter and not AbstractModelImporter