Skip to content

Mount tabs in project view lazily - #2020

Merged
nscuro merged 1 commit into
DependencyTrack:mainfrom
nscuro:project-tabs-lazy
Oct 24, 2026
Merged

nscuro merged 1 commit into
DependencyTrack:mainfrom
nscuro:project-tabs-lazy

Conversation

@nscuro

@nscuro nscuro commented Oct 24, 2026

Copy link
Copy Markdown
Member

Description

Mounts tabs in project view lazily.

Makes tabs lazy so they mount only when activated. This prevents opening the project view eager-loading data for all tabs at once.

As a side effect, this removes the counter badges on the tabs. With data no longer loaded eagerly, there's nothing to show for most views. Falling back to time series metrics as a source would lead to inconsistencies between tab contents and their counters, since metrics are calculated asynchronously.

Addressed Issue

N/A

Additional Details

N/A

Checklist

Makes tabs `lazy` so they mount only when activated. This prevents opening the project view eager-loading data for all tabs at once.

As a side effect, this removes the counter badges on the tabs. With data no longer loaded eagerly, there's nothing to show for most views. Falling back to time series metrics as a source would lead to inconsistencies between tab contents and their counters, since metrics are calculated asynchronously.

Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro nscuro added this to the 5.3 milestone Oct 24, 2026
@nscuro nscuro added the enhancement New feature or request label Oct 24, 2026
@nscuro
nscuro merged commit e4a5ebe into DependencyTrack:main Oct 24, 2026
13 checks passed
@nscuro
nscuro deleted the project-tabs-lazy branch October 24, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant