-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: reset license text #2726
feat: reset license text #2726
Conversation
@@ -5,6 +5,4 @@ | |||
# | |||
# SPDX-License-Identifier: Apache-2.0 | |||
|
|||
. "$(dirname -- "$0")/_/husky.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning in console that this line is deprecated and should be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these changes address some deprecation warnings in the MUI Autocomplete component.
- ensure that the license text is reset whenever a new license expression is selected - reset does not occur if a new license expression is typed instead of selected from the available options - new behavior prevents accidental mismatches between expression and text - adjust e2e tests to always write a trace even when successful
bd0f9f9
to
85661cb
Compare
path: info.outputPath( | ||
`${data?.inputData.metadata.projectId || 'app'}.trace.zip`, | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create trace even if test succeeds
textOverflow: 'ellipsis', | ||
'&::placeholder': { | ||
opacity: 1, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am assuming this just is another (preferrable) way to use the API and doesn't change anything.
Summary of changes
Context and reason for change
Closes #2724
How can the changes be tested
Open an opossum file that has a license with custom license text. Then select another suggested license from the autocomplete and notice that the custom license text disappears.