Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new domains around story and moments #8

Merged
merged 11 commits into from Oct 1, 2022
Merged

Conversation

MrHadiSatrio
Copy link
Owner

What has changed

Added two new domains: One to show individual stories (including their moments) and another one to edit moments.

Why was it changed

Because otherwise users won't be able to write down their thoughts and use the app as intended.

Related issues

  • N/A

Define a specialized API for finding stories by their ID.
Implement a use-case of showing a singular story.
Instead of routing to the editor, go to the detailed story domain
when selection events happened.
Define a new activity to host ShowStoryUseCase.
Define a specialized API for finding moments by their ID.
Implement a use-case of editing a moment–both existing and new ones.
Navigate to the moment editing domain when 'add' action is selected
while showing story details.
Expect the key to be injected instead of hardcoding it to
improve reusability.
Define a new activity to host EditAMomentUseCase.
Trigger an event to refresh the story detail when activity lifecycle
hits onResume().
Navigate to the moment editing domain when 'item_selection' action is
selected while showing story details.
@MrHadiSatrio MrHadiSatrio merged commit 62a60a1 into develop Oct 1, 2022
@MrHadiSatrio MrHadiSatrio deleted the feature/moments branch October 1, 2022 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant