-
Notifications
You must be signed in to change notification settings - Fork 946
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
[frontend] Add content mapping in content tab (#5651) #7136
Conversation
a6492b1
to
8a9cf76
Compare
3c4edf4
to
c90e5a8
Compare
c90e5a8
to
8f64cf0
Compare
d4cdccf
to
f2c84b3
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7136 +/- ##
==========================================
+ Coverage 67.75% 68.21% +0.45%
==========================================
Files 561 561
Lines 68824 68891 +67
Branches 5871 6460 +589
==========================================
+ Hits 46631 46992 +361
+ Misses 22193 21899 -294 ☔ View full report in Codecov by Sentry. |
opencti-platform/opencti-front/src/private/components/analyses/malware_analyses/Root.tsx
Outdated
Show resolved
Hide resolved
opencti-platform/opencti-front/src/private/components/arsenal/malwares/Root.jsx
Outdated
Show resolved
Hide resolved
.../opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectContentRoot.tsx
Show resolved
Hide resolved
148739e
to
0d2597f
Compare
Fixed |
65a83cc
to
f4a6c4f
Compare
all comments have been taken into account, ready for another review |
f4a6c4f
to
d62a5a7
Compare
return location.pathname; | ||
}; | ||
|
||
export const getPaddingRight = (location: Location, entity_id: string, entity_type_path: string) => { |
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.
Thanks for refactoring this part: just one small question: since we only use location.pathname, I don't see the use to have the whole Location object in parameter, maybe locationPath is enough ? same question for getCurrentTab.
d62a5a7
to
ff0ccf5
Compare
yes we should definitly use another icon :) @nino-filigran |
Can't we use a toggle? Since the action is more to "enable/disable" a mode @marieflorescontact |
as discussed with @nino-filigran we will use : |
all comments have been taken into account, ready for another review |
4bd27c0
to
49a620b
Compare
06ff673
to
5786db1
Compare
fixed |
all comments have been taken into account, ready for another review |
all comments have been taken into account, ready for another review |
content mapping
from knowledge Tab for containercontent mapping
in content Tab for Grouping/Report/Casescontent
tocontent mapping
in Tab contentRelated issues
Checklist
Further comments