Skip to content

Use unique fields for project list metrics columns - #686

Merged
nscuro merged 1 commit into
DependencyTrack:masterfrom
mykter:608-fix-column-settings
Dec 21, 2023
Merged

Use unique fields for project list metrics columns#686
nscuro merged 1 commit into
DependencyTrack:masterfrom
mykter:608-fix-column-settings

Conversation

@mykter

@mykter mykter commented Dec 21, 2023

Copy link
Copy Markdown
Contributor

Description

This PR makes the vulnerabilities and policy violations use unique field IDs in the bootstrap table spec. The docs say:

This field must be unique, or some unknown problems may occur.

The frontend also uses the field id to save which columns the user has marked as visible or not.

Addressed Issue

Fixes #608

Additional Details

Tested with vulnerabilities present and absent, and with policy violations absent or zero. I don't have a project handy that has any policy violations, but the behaviour shouldn't change based on >0 vs absent.

image

Checklist

Signed-off-by: mykter <git@mykter.com>
@nscuro nscuro added this to the 4.11 milestone Dec 21, 2023
@nscuro nscuro added the defect Something isn't working label Dec 21, 2023

@nscuro nscuro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for yet another much appreciated fix!

@nscuro
nscuro merged commit 3872283 into DependencyTrack:master Dec 21, 2023
heyiamwahab236 pushed a commit to tecan/frontend_custom that referenced this pull request Jun 17, 2026
…tings

Use unique fields for project list metrics columns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

defect Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Project page colum selection

2 participants