-
Notifications
You must be signed in to change notification settings - Fork 799
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
[backend] Decay rules settings (#2859) #5641
Conversation
4e7aef0
to
096a934
Compare
344d60b
to
105a84a
Compare
3972324
to
3d01224
Compare
9813d1a
to
ee55c6d
Compare
ad95c5f
to
7005877
Compare
641c80e
to
dce8430
Compare
dce8430
to
57632fa
Compare
6f29a12
to
ebfecd0
Compare
48099b7
to
594c352
Compare
"To use this feature, your platform administrator must enable the subscription manager in the config.": "To use this feature, your platform administrator must enable the subscription manager in the config.", | ||
"To use this feature, your platform administrator must enable the according manager in the config.": "To use this feature, your platform administrator must enable the according manager in the config.", | ||
"To use this feature, your platform administrator must enable the subscription manager in the config.": "To use this feature, your platform administrator must enable the subscription manager in configuration.", | ||
"To use this feature, your platform administrator must enable the according manager in the config.": "To use this feature, your platform administrator must enable the according manager in configuration.", |
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.
In all other language "configuration" seems to be whole word.
@@ -23,13 +23,13 @@ describe('Raw streams tests', () => { | |||
expect(createEventsByTypes.label.length).toBe(15); | |||
expect(createEventsByTypes.identity.length).toBe(30); | |||
expect(createEventsByTypes.relationship.length).toBe(126); | |||
expect(createEventsByTypes.indicator.length).toBe(31); | |||
expect(createEventsByTypes.indicator.length).toBe(33); |
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.
DecayRule integration test creates 2 indicators, so this is legit to me (same for others +2).
50c9965
to
e506e82
Compare
c200f23
to
64d3164
Compare
}; | ||
|
||
const decayFullHistory: LabelledDecayHistory[] = []; | ||
const labelledHistoryList: LabelledDecayHistory[] = []; | ||
decayHistory.map((history) => ( |
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.
const labelledHistoryList = [...decayHistory, ...decayLivePoints].map(history => getDisplayFor(history))
opencti-platform/opencti-front/src/private/components/settings/Root.jsx
Outdated
Show resolved
Hide resolved
import CustomizationMenu from '../CustomizationMenu'; | ||
import { DecayRule_decayRule$key } from './__generated__/DecayRule_decayRule.graphql'; | ||
|
||
const useStyles = makeStyles(() => ({ |
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.
makeStyles
is deprecated. Try to put style directly in JSX using style={{...}}
for html elements or sx={{...}}
for MUI elements
import { handleErrorInForm } from '../../../../relay/environment'; | ||
import { DecayRulesLinesPaginationQuery$variables } from './__generated__/DecayRulesLinesPaginationQuery.graphql'; | ||
|
||
const useStyles = makeStyles<Theme>((theme) => ({ |
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.
makeStyles
is deprecated. Try to put style directly in JSX using style={{...}}
for html elements or sx={{...}}
for MUI elements
import { handleError } from '../../../../relay/environment'; | ||
import { DecayRule_decayRule$data } from './__generated__/DecayRule_decayRule.graphql'; | ||
|
||
const useStyles = makeStyles<Theme>((theme) => ({ |
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.
makeStyles
is deprecated. Try to put style directly in JSX using style={{...}}
for html elements or sx={{...}}
for MUI elements
import { useFormatter } from '../../../../components/i18n'; | ||
import { handleError } from '../../../../relay/environment'; | ||
|
||
const useStyles = makeStyles(() => ({ |
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.
makeStyles
is deprecated. Try to put style directly in JSX using style={{...}}
for html elements or sx={{...}}
for MUI elements
|
||
const LOCAL_STORAGE_KEY = 'view-decay-rules'; | ||
|
||
const useStyles = makeStyles<Theme>(() => ({ |
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.
makeStyles
is deprecated. Try to put style directly in JSX using style={{...}}
for html elements or sx={{...}}
for MUI elements
import type { Theme } from '../../../../components/Theme'; | ||
import { DecayRulesLine_node$key } from './__generated__/DecayRulesLine_node.graphql'; | ||
|
||
const useStyles = makeStyles<Theme>((theme) => ({ |
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.
makeStyles
is deprecated. Try to put style directly in JSX using style={{...}}
for html elements or sx={{...}}
for MUI elements
marginTop: '-13px', | ||
}, | ||
title: { | ||
float: 'left', |
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.
Check if we really need to use float
css property
a02b776
to
96f5603
Compare
96f5603
to
a295948
Compare
Proposed changes
Related issues
Checklist
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...