So, there's a lot going on here. I'm slowly getting my head around how this application should be arranged. Main focuses of this refactoring are:
Splitting the growing single state and foldp monolith into independent components.
This in turn will allow easy transition to fetching multiple signers for a file.
Rearranging the data flow related modules so that they are more focused on their domain not their technical role, so the code is a bit less coupled and more cohesive.
Moving domain specific functions like calculating file hash or fetching signers to App.Hash thus making them independent of the events flow.
Notes:
This depends on #10 so please merge / review it first.
I tried to keep all the commits self contained, it's probably better to just view them one by one instead of the whole diff when reviewing.
So, there's a lot going on here. I'm slowly getting my head around how this application should be arranged. Main focuses of this refactoring are:
App.Hash
thus making them independent of the events flow.Notes: