Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibilityaccessibility
  • TYPO3.CMS
  • Repository
Switch branch/tag
  • TYPO3.CMS
  • ..
  • Element
  • SelectTreeElement.ts
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [TASK] De-duplicate Tree code for filtering · a06d6d7e
    Benni Mack authored Mar 10, 2021 and Richard Haeser's avatar Richard Haeser committed Mar 11, 2021
    This change optimizes the SVG Tree implementations (again),
    this time focussing on using proper constructors for SVG
    tree and its derivatives (SelectTree, PageTree, FileStorageTree).
    
    In addition, the search + filter logic is now moved
    into the base class, in order to reduce duplicate code,
    and to re-add features (next steps) that were not
    implemented in TYPO3 v9 when re-writing the page tree,
    such as highlighting filtered results.
    
    In addition, unused properties and settings are
    removed.
    
    This change marks one of the final changes for
    reworking the SVG Tree implementation, afterwards
    allowing us to move towards:
    * native DOM events in favor of d3-dispatch
    * custom elements instead of wrapper methods
    * decouple "top." and "document." based settings into the Container classes
    
    Resolves: #93701
    Releases: master
    Change-Id: I55733b8c2d0a84ca263ac6e77d7d0bac30877e25
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68332
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Tested-by: Richard Haeser's avatarRichard Haeser <richard@richardhaeser.com>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Richard Haeser's avatarRichard Haeser <richard@richardhaeser.com>
    a06d6d7e