-
Notifications
You must be signed in to change notification settings - Fork 941
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 page titles to Data pages #8300
Open
VerboseCat
wants to merge
1
commit into
OpenCTI-Platform:release/6.4.0
Choose a base branch
from
fbicyber:convert_class_components_data
base: release/6.4.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[frontend] Add page titles to Data pages #8300
VerboseCat
wants to merge
1
commit into
OpenCTI-Platform:release/6.4.0
from
fbicyber:convert_class_components_data
Conversation
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
VerboseCat
force-pushed
the
convert_class_components_data
branch
from
September 12, 2024 18:25
fcf3ceb
to
9292742
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/6.4.0 #8300 +/- ##
==============================================
Coverage 64.34% 64.34%
==============================================
Files 608 608
Lines 58023 58023
Branches 6404 6404
==============================================
Hits 37332 37332
Misses 20691 20691 ☔ View full report in Codecov by Sentry. |
VerboseCat
force-pushed
the
convert_class_components_data
branch
from
September 12, 2024 19:22
02fc221
to
5350e04
Compare
SamuelHassine
force-pushed
the
master
branch
from
September 17, 2024 15:10
f8359b7
to
558e6c1
Compare
VerboseCat
force-pushed
the
convert_class_components_data
branch
3 times, most recently
from
September 26, 2024 16:12
f1e9992
to
e966485
Compare
VerboseCat
force-pushed
the
convert_class_components_data
branch
from
October 1, 2024 12:29
e966485
to
d59591c
Compare
VerboseCat
force-pushed
the
convert_class_components_data
branch
2 times, most recently
from
October 17, 2024 12:02
84adad0
to
85d2077
Compare
VerboseCat
force-pushed
the
convert_class_components_data
branch
2 times, most recently
from
October 22, 2024 14:46
c455052
to
8635ba9
Compare
VerboseCat
force-pushed
the
convert_class_components_data
branch
2 times, most recently
from
October 30, 2024 13:04
8b37ab5
to
4ceaf08
Compare
WIP - Adding Titles to pages WIP - Updating Titles WIP - Updating Titles for Functional Components only. Updated Titles. Some class component pages have not been updated. Revert "Updated Titles. Some class component pages have not been updated." This reverts commit babb1cd. Updated Titles. Some class component pages have not been updated. Resolving Merge Conflicts WIP - Converting class components to functional components WIP - pushing current updates. Fix merge issues Fix Roles.tsx to be able to compile Add latest version of Narratives.tsx Replace key 'FAB_REPLACED' with 'FAB_REPLACEMENT' Convert KillChainPhases to functional component Updated Sectors. Need to update SectorLine and SectorsLines. WIP - converting IngestionRss WIP - finished IngestionRSS conversion WIP WIP - Modified IngestionTaxiis WIP editing Connectors and Tasks. WIP - one more to convert WIP - modifying Streams.tsx and ImportContent.tsx. WIP Convert Connectors back to JSX functional component WIP - updated Streams Convert Stream to functional Finished Import Content Remove changes from PR 7753 Remove changes from PR 7753 (pt 2) Remove changes from PR 7753 (pt 3) Remove changes from PR 7753 (pt 4) Remove duplicate Data titles Remove duplicate Data titles (pt 3) Remove sectors.jsx Add translations Convert Sectors closer to original component Remove variant from breadcrumbs
VerboseCat
force-pushed
the
convert_class_components_data
branch
from
November 4, 2024 15:30
4ceaf08
to
7e28f0b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed changes
This PR is a follow-up to the the PR which introduced custom page titles (#7374). This PR converts several 'Data' components from classes to functional and adds page titles. These components were not included in the original PR because they were class components and could not use the page title hook.
Impacted Pages
*
Related issues
Checklist
Further comments
This PR has a known issue, which has also been reported in a comment on (#7753). Every time a page renders, both the the custom page title setting function
useConnectedDocumentModifier.setTitle
and the default page title setting functionuseDocumentLangModifier
run and set the title. In some instances, the default page title is set after the custom page title is set. This results in the default page title being displayed. I was unable to find a cause or pattern for which components exhibit this bug.The following components from this PR are impacted: