-
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 Settings pages and convert to functional components #8160
Open
VerboseCat
wants to merge
2
commits into
OpenCTI-Platform:release/6.4.0
Choose a base branch
from
fbicyber:convert_class_components_settings
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 Settings pages and convert to functional components #8160
VerboseCat
wants to merge
2
commits into
OpenCTI-Platform:release/6.4.0
from
fbicyber:convert_class_components_settings
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_settings
branch
2 times, most recently
from
August 28, 2024 13:24
10c779e
to
4f88181
Compare
VerboseCat
force-pushed
the
convert_class_components_settings
branch
5 times, most recently
from
September 6, 2024 13:46
8f8479a
to
cda8fe9
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/6.4.0 #8160 +/- ##
=================================================
- Coverage 64.34% 64.33% -0.01%
=================================================
Files 608 608
Lines 58023 58023
Branches 6404 6404
=================================================
- Hits 37332 37330 -2
- Misses 20691 20693 +2 ☔ View full report in Codecov by Sentry. |
VerboseCat
force-pushed
the
convert_class_components_settings
branch
2 times, most recently
from
September 10, 2024 22:54
a16d044
to
14658ad
Compare
VerboseCat
force-pushed
the
convert_class_components_settings
branch
from
September 12, 2024 18:15
14658ad
to
4eea986
Compare
SamuelHassine
force-pushed
the
master
branch
from
September 17, 2024 15:10
f8359b7
to
558e6c1
Compare
VerboseCat
force-pushed
the
convert_class_components_settings
branch
3 times, most recently
from
September 26, 2024 16:09
c3c5ef3
to
79df089
Compare
VerboseCat
force-pushed
the
convert_class_components_settings
branch
from
October 1, 2024 12:31
79df089
to
4166d20
Compare
VerboseCat
force-pushed
the
convert_class_components_settings
branch
2 times, most recently
from
October 17, 2024 12:02
110452d
to
f917015
Compare
VerboseCat
force-pushed
the
convert_class_components_settings
branch
2 times, most recently
from
October 22, 2024 14:46
d8b2642
to
7ad134d
Compare
VerboseCat
force-pushed
the
convert_class_components_settings
branch
2 times, most recently
from
October 30, 2024 13:05
ac6ec5c
to
19d08d1
Compare
Revert WIP conversion of Sectors test commit Fix paginationOptions issue for Groups, KillChainPhases, Roles Fix MarkingDefinitions, update KillChainPhases to reflect master Remove changes established in PR OpenCTI-Platform#7753 Add Malwares.tsx to removed changes Post-rebase cleanup Remove changes from PR 7753 Remove outdated changes to KillChainPhases Fix translations Align GroupLine design with master Fix typing on GroupLines; Remove variant from breadcrumbs
VerboseCat
force-pushed
the
convert_class_components_settings
branch
from
November 4, 2024 15:30
19d08d1
to
5d9806d
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 'Settings' 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: