nextcloud / nextcloud/tasks

Automatically update percentage complete for parent tasks

Open
#139 3 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
JavaScript
Stars
706
Forks
117
Avg merge
8h 50m
Merged PRs (30d)
18

Description

Feature request

This could just be my specific use case but I thought it would be nice to see a parent tasks percentage complete to be automatically set to the combined percentage complete of its child tasks.

Steps to reproduce
  1. Add a task (root task)
  2. Add sub tasks to the root task
  3. Mark one or more sub task as complete
Expected behaviour

Root tasks % complete should be the combined % complete of the sub tasks (for simplicity only sub tasks that are 100% complete should be included in the calculation)

Actual behaviour

% complete needs to be manually set on the root task

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the task completion and parent/child task handling code, then trace where percentage completion is updated. Done means a parent task automatically reflects the combined completion of its children, counting only children at 100%.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.