-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] Display policy changes logs in NewDot #16500
Merged
Merged
Changes from 7 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
86b0c56
add regex and conditional
luacmartins 8bb7a42
create PolicyChangeLogActionItem
luacmartins 1eee700
add PolicyChangeLogActionItem to ReportActionItem
luacmartins 0acb700
revert changes to PolicyChangeLogActionItem
luacmartins e7e7635
rm unused import
luacmartins 9a9bf8b
add styles to system message
luacmartins 34b9e2b
update color
luacmartins 168c5a5
use startsWith instead of regex
luacmartins 55d155f
fix tests
luacmartins 3b89cae
simplify logic and add specific consts
luacmartins 00ed57f
add all policy change log types
luacmartins f3ed5da
update test
luacmartins dcff1f2
disable reactions
luacmartins 88f9878
revert disable reactions
luacmartins fee39d4
rm parenthesis
luacmartins e6552c4
rm POLICYCHANGELOG prefix
luacmartins 2e080fb
fix test
luacmartins 24101a3
update contains logic
luacmartins 1d0f6d1
revert package-lock.json changes
luacmartins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We should use startsWith instead of a regex. (https://www.measurethat.net/Benchmarks/Show/4797/1/js-regex-vs-startswith-vs-indexof#latest_results_block)
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.
Updated! But according to that benchmark, we should actually be using indexOf :P