Android: put the action interfaces of the screens in one place #334
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The interfaces the screens call are spread over three places:
core/next to their records (Capturing,StateLists,Notes,Configuring, …);ChangesActionsis inui/Changes.kt;RepositoryActionsis inStreamViewModel.kt.So it is not clear where a new screen's interface belongs, or which package depends on which.
Proposal
Decide on one rule and move what breaks it. Either:
core/(withRepositoryActions/ChangesActionsnext to the plain types ofgit/they use), orui/andcore/keeps only records andStreamSession.Then write the rule into AGENTS.md.
Found in a review of the Android app.