Skip to content
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

Updated Titles to Functional Component Pages Only #7753

Open
wants to merge 1 commit into
base: release/6.4.0
Choose a base branch
from

Conversation

dotdev8
Copy link

@dotdev8 dotdev8 commented Jul 18, 2024

Proposed changes

  • Updated Titles to Functional Component Pages

Related issues

  • Adding Titles to the class component pages causes the page to throw an error.
  • On pages where class components were converted to functional components, the title disappears on refresh. Assuming this may have something to do with the saveView() function.

Checklist

  • [ x] I consider the submitted work as finished
  • [ x] I tested the code for its functionality
  • I wrote test cases for the relevant uses case (coverage and e2e)
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

The pages described in the Related Issues above have not been altered. Only functional component pages where the title persists have been updated. The other pages will be updated in a later PR once the issues have been identified and resolved.

@SarahBocognano SarahBocognano added the community use to identify PR from community label Jul 23, 2024
@dotdev8 dotdev8 force-pushed the new_title_lang branch 2 times, most recently from b785405 to cfeb7d3 Compare July 23, 2024 15:01
@dotdev8 dotdev8 force-pushed the new_title_lang branch 2 times, most recently from 6eea9f1 to f49b8c8 Compare August 21, 2024 18:24
@VerboseCat VerboseCat force-pushed the new_title_lang branch 5 times, most recently from cf2f26c to e8d2599 Compare September 3, 2024 19:31
VerboseCat added a commit to fbicyber/opencti__opencti that referenced this pull request Sep 3, 2024
VerboseCat added a commit to fbicyber/opencti__opencti that referenced this pull request Sep 4, 2024
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 4, 2024
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
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.32%. Comparing base (00ce6a6) to head (94c4c47).

Additional details and impacted files
@@                Coverage Diff                @@
##           release/6.4.0    #7753      +/-   ##
=================================================
- Coverage          64.34%   64.32%   -0.02%     
=================================================
  Files                608      608              
  Lines              58023    58023              
  Branches            6404     6401       -3     
=================================================
- Hits               37332    37324       -8     
- Misses             20691    20699       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@VerboseCat VerboseCat force-pushed the new_title_lang branch 4 times, most recently from af7523e to d51ab71 Compare September 5, 2024 12:54
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 5, 2024
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
@VerboseCat VerboseCat force-pushed the new_title_lang branch 2 times, most recently from e71d6c3 to a2c8237 Compare September 5, 2024 13:25
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 6, 2024
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;
@VerboseCat
Copy link
Contributor

VerboseCat commented Sep 6, 2024

This PR has a known issue. Every time a page renders, both the the custom page title setting function useConnectedDocumentModifier.setTitle and the default page title setting function useDocumentLangModifier 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:

  • Data / Ingestion / OpenCTI Steams (data/Sync.jsx)
  • Data / Ingestion / TAXII Feeds (data/IngestionTaxiis.jsx)
  • Data / Ingestion / RSS Feeds (data/IngestionRss.jsx)
  • Data / Processing / Tasks (data/Tasks.jsx)
  • Data / Data sharing / CSV feeds (data/Feed.tsx)
  • Data / Data sharing / TAXII collections (data/Taxii.tsx)
  • Settings / Parameters (settings/Settings.jsx)
  • Settings / Security / Users (settings/Users.jsx)
  • Settings / Taxonomies / Vocabularies (settings/Vocabularies.tsx)

@VerboseCat VerboseCat force-pushed the new_title_lang branch 3 times, most recently from 732b9ce to aab7e1e Compare September 10, 2024 12:50
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 10, 2024
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;
@VerboseCat VerboseCat force-pushed the new_title_lang branch 3 times, most recently from 27900e0 to 3ad06e9 Compare September 10, 2024 22:53
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 10, 2024
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;
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 12, 2024
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;
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 24, 2024
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;
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 26, 2024
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;
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Sep 26, 2024
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 pushed a commit to fbicyber/opencti__opencti that referenced this pull request Oct 1, 2024
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 pushed a commit to fbicyber/opencti__opencti that referenced this pull request Oct 10, 2024
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 pushed a commit to fbicyber/opencti__opencti that referenced this pull request Oct 17, 2024
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 VerboseCat force-pushed the new_title_lang branch 2 times, most recently from eb71d68 to 88d15cb Compare October 22, 2024 13:56
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Oct 22, 2024
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 pushed a commit to fbicyber/opencti__opencti that referenced this pull request Oct 22, 2024
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 pushed a commit to fbicyber/opencti__opencti that referenced this pull request Oct 30, 2024
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
@labo-flg labo-flg changed the base branch from master to release/6.4.0 October 30, 2024 12:40
VerboseCat pushed a commit to fbicyber/opencti__opencti that referenced this pull request Oct 30, 2024
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 pushed a commit to fbicyber/opencti__opencti that referenced this pull request Nov 4, 2024
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
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

[frontend] Replaced Creation Floating Action Buttons for Cases

[frontend] Replaced Creation Floating Action Buttons for Observations

Fixed minor errors

Fixed duplicate issue.

Add translations and linting

Fix import issue from merge

Minor cleanup

Test commit

Formatting change

Add space to root again?

Add settings pages that are already functional

Add killChainPhases

Update translations

Add Narratives title

Translate narratives

Add data components

Remove duplicate Data titles (pt 2)

Add translations

Fix case on Taxii.tsx

Update translations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community use to identify PR from community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants