This machine is very simple, and does not do much.
if the fetch response of a publication takes more than 1 second, we should show the message "Searching the network" (fetching.extended state)
when the edit button is clicked, it creates the new draft
when the publication is fetched, we are getting the current device info, so we can check if the publication's author is the same as the device account. This is important to render different actions in the titlebar.
How can we share events that happen in the editor with the titlebar? (to react to changes in the draft and update the title)
is Edit a global action?
is Windows should be handled in the store? because we want to restore windows when the user restart the app
maybe we can put all the logic to check the publication's author in the titlebar and remove it from the publication machine? I believe the only place we need this info is in the titlebar (now)
would it be better to create providers for specific stuff? (example: create new drafts??)
when seeing a previous version of a document and press EDIT, is this a fork? should we change the edit label to say "Fork"