Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update temporary package info instead of saving when prefering or unprefering an attribution on Audit View #2033

Conversation

leslielazzarino
Copy link
Member

@leslielazzarino leslielazzarino commented Sep 22, 2023

Some tests are still missing

Summary of changes

Update temporary package info instead of saving when prefering or unprefering an attribution on Audit View. Also the global saving button is disabled if an attribution has been changed to preferred.

Context and reason for change

That prevents collisions with unsaved changes in the attribution.

How can the changes be tested

Set-unset the preferred attribute.

@MarkusObendrauf MarkusObendrauf self-assigned this Sep 22, 2023
@leslielazzarino leslielazzarino force-pushed the do-not-mark-as-preferred-globally branch from 6f71a43 to a33165f Compare September 25, 2023 09:35
@leslielazzarino leslielazzarino marked this pull request as ready for review September 25, 2023 09:55
@leslielazzarino leslielazzarino force-pushed the do-not-mark-as-preferred-globally branch from a33165f to 3a1d670 Compare September 25, 2023 10:36
Copy link
Contributor

@MarkusObendrauf MarkusObendrauf left a comment

Choose a reason for hiding this comment

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

i think the refactoring tools missed some things

@leslielazzarino leslielazzarino force-pushed the do-not-mark-as-preferred-globally branch 2 times, most recently from 11f6ff9 to 5fedf99 Compare September 25, 2023 11:58
…preferring an attribution on Audit View

Also disable global save, including just doing a local save with ctrl+S

Signed-off-by: leslielazzarino <leslie.lazzarino@gmail.com>
@leslielazzarino leslielazzarino force-pushed the do-not-mark-as-preferred-globally branch from 5fedf99 to d97c6bf Compare September 25, 2023 12:08
Copy link
Contributor

@MarkusObendrauf MarkusObendrauf left a comment

Choose a reason for hiding this comment

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

lgtm

@leslielazzarino leslielazzarino merged commit 581ad01 into opossum-tool:main Sep 25, 2023
@leslielazzarino leslielazzarino deleted the do-not-mark-as-preferred-globally branch September 25, 2023 12:49
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.

2 participants