Skip to content

feat: task detail screen - #199

Merged
MessiasLima merged 36 commits into
mainfrom
opencode/issue129-20260726144515
Jul 29, 2026
Merged

feat: task detail screen#199
MessiasLima merged 36 commits into
mainfrom
opencode/issue129-20260726144515

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Done — the Task Detail feature (issue #129) is complete and verified.

What was finished

  • Data layer: TaskDao, TaskRepository, and TaskRepositoryImpl now expose findById(id): Flow<Task?> and suspend delete(id).
  • Sharing: Added TaskShareLauncher interface with platform implementations:
    • Android: ACTION_SEND chooser
    • iOS: UIActivityViewController
    • JVM: system clipboard
  • Task Detail screen: TaskDetailScreen, TaskDetailViewModel, TaskDetailNavigation, and TaskDetailNavKey.
    • Shows title, description, due date, priority, URL, creation date, completion date
    • Status indicator: red overdue, grey completed, hidden when on track
    • Tappable URL via LocalUriHandler
    • Mark completed, delete, share, and back navigation
    • Handles missing/invalid task IDs with error state
  • Today screen: task rows are now clickable and navigate to TaskDetailNavKey.
  • String resources: added all Task Detail strings to both values/strings.xml and values-en/strings.xml.

Test fixes

  • Added TaskDetailAction.TaskMarkedCompleted side effect so the Orbit MVI test can reliably await the save intent.
  • Fixed TodayScreenTest by removing the FoliaryTaskCard:Title tag assertion (clickable row merges descendants); the text assertion remains.

Verification

  • Targeted JVM tests pass:
    • dev.appoutlet.foliary.feature.taskdetail.*
    • dev.appoutlet.foliary.feature.today.*
    • dev.appoutlet.foliary.data.task.*
    • dev.appoutlet.foliary.data.task.database.*
    • dev.appoutlet.foliary.AppTest
  • Android and iOS main sources compile successfully.

No new third-party libraries were added.

Closes #129

New%20session%20-%202026-07-26T14%3A45%3A14.628Z
opencode session  |  github run

Co-authored-by: MessiasLima <MessiasLima@users.noreply.github.com>
@opencode-agent opencode-agent Bot mentioned this pull request Jul 26, 2026
13 tasks
@MessiasLima MessiasLima linked an issue Jul 29, 2026 that may be closed by this pull request
6 tasks
@MessiasLima MessiasLima changed the title Task Detail feature done and verified. feat: task detail screen Jul 29, 2026
@MessiasLima
MessiasLima merged commit 55864c5 into main Jul 29, 2026
1 check passed
@MessiasLima
MessiasLima deleted the opencode/issue129-20260726144515 branch July 29, 2026 15:06
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.

Delete task with confirmation Task detail screen

1 participant