Skip to content

[Feature] Render solely the visible tasks. #2305

Description

@roke-julian-lockhart

My Rationale

The amount of time that is required to render the task list slows in proportion to the amount of visible tasks. An example is that 5 702 tasks require PT1M43S to render:

screen-20260614-190914.mp4

Desired Solutions

Consequently, solely render visible tasks.

Considered Alternatives

Provide an accurate enumeration progress indicator.

Additional Context

nextcloud/tasks/issues/2417 is similar.

My Environment

  • Hardware

    1. Details

      #!/usr/bin/env pwsh
      $Object = [Ordered]@{}
      @(
      	'ro.product.brand'
      	'ro.build.product'
      ) | ForEach-Object {
      	$Value = (adb shell "getprop $_").Trim()
      	If ($Value) {
      		$Int64 = 0L
      		$Object[$_] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object |
      	ConvertTo-Json -Compress |
      	yq -P

    2. ro.product.brand: Fairphone
      ro.build.product: FP5
  • OS

    1. Details

      #!/usr/bin/env pwsh
      $Object = [Ordered]@{}
      @(
      	'ro.build.display.id'
      	'ro.build.fingerprint'
      	'ro.build.version.sdk'
      	'ro.build.version.sdk_full'
      ) | ForEach-Object {
      	$Value = (adb shell "getprop $_").Trim()
      	If ($Value) {
      		$Int64 = 0L
      		$Object[$_] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object |
      	ConvertTo-Json -Compress |
      	yq -P

    2. ro.build.display.id: FP5.VT2R.C.095.20260423
      ro.build.fingerprint: Fairphone/FP5/FP5:15/AQ3A.240912.001/VT2R:user/release-keys
      ro.build.version.sdk: 35
  • JTX Board

    1. Details

      #!/usr/bin/env pwsh
      $Package = 'at.techbee.jtx'
      $DumpSys = adb shell "dumpsys package $Package"
      $Object = [Ordered]@{}
      @{
      	versionCode = 'versionCode=(\d+)'
      	versionName = 'versionName=([^\s]+)'
      }.GetEnumerator() | ForEach-Object {
      	$Match = [RegEx]::Match(
      		$DumpSys,
      		$_.Value,
      		[System.Text.RegularExpressions.RegexOptions]::Multiline
      	)
      	If ($Match.Success) {
      		$Value = $Match.Groups[1].Value
      		$Int64 = 0L
      		$Object[$_.Key] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object.installer = (
      	adb shell 'pm list packages -i' |
      		Select-String "^package:$([RegEx]::Escape($Package)) " |
      		ForEach-Object {
      			$_ -replace '^.*installer='
      		}
      )
      $Object |
      	ConvertTo-JSON -Compress |
      	yq -P

    2. versionCode: 216000015
      versionName: 2.16.00.ose
      installer: com.looker.droidify

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions