[!!!][TASK] Remove jQuery from FormEngine auto-suggest
This patch migrates the auto-suggest feature used in FormEngine to a custom implementation incorporating web components. A user may navigate through the result list with the keyboard's arrow keys and select an item with the "Enter" key. In the same run, the JavaScript library `devbridge-autocomplete` is removed as it is not used anymore within TYPO3, along with its associated CSS definitions. As the web component approach allows us more flexibility and to maintain a consistent look & feel of the backend, some properties were removed from the suggest wizard's items. Resolves: #98455 Releases: main Change-Id: I7abc40bfe9161a7a246ac451bd046034dcc8d9bd Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75881 Tested-by:core-ci <typo3@b13.com> Tested-by:
Frank Nägler <frank.naegler@typo3.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Frank Nägler <frank.naegler@typo3.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de>
Showing
- Build/Gruntfile.js 0 additions, 5 deletionsBuild/Gruntfile.js
- Build/Sources/Sass/component/_autocomplete.scss 46 additions, 46 deletionsBuild/Sources/Sass/component/_autocomplete.scss
- Build/Sources/TypeScript/backend/form-engine-suggest.ts 98 additions, 106 deletionsBuild/Sources/TypeScript/backend/form-engine-suggest.ts
- Build/Sources/TypeScript/backend/form-engine/element/group-element.ts 3 additions, 3 deletions...s/TypeScript/backend/form-engine/element/group-element.ts
- Build/Sources/TypeScript/backend/form-engine/element/suggest/result-container.ts 104 additions, 0 deletions...t/backend/form-engine/element/suggest/result-container.ts
- Build/Sources/TypeScript/backend/form-engine/element/suggest/result-item.ts 91 additions, 0 deletions...Script/backend/form-engine/element/suggest/result-item.ts
- Build/package-lock.json 0 additions, 10 deletionsBuild/package-lock.json
- Build/package.json 0 additions, 1 deletionBuild/package.json
- typo3/sysext/backend/Classes/Form/Element/GroupElement.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Form/Element/GroupElement.php
- typo3/sysext/backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php 6 additions, 18 deletions...kend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php
- typo3/sysext/backend/Resources/Private/Language/locallang_alt_doc.xlf 6 additions, 0 deletions.../backend/Resources/Private/Language/locallang_alt_doc.xlf
- typo3/sysext/backend/Resources/Public/Css/backend.css 1 addition, 1 deletiontypo3/sysext/backend/Resources/Public/Css/backend.css
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine-suggest.js 1 addition, 1 deletion...ackend/Resources/Public/JavaScript/form-engine-suggest.js
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/suggest/result-container.js 24 additions, 0 deletions...avaScript/form-engine/element/suggest/result-container.js
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine/element/suggest/result-item.js 20 additions, 0 deletions...lic/JavaScript/form-engine/element/suggest/result-item.js
- typo3/sysext/core/Documentation/Changelog/12.0/Breaking-98455-ChangedDefinitionOfFormEngineSuggestItem.rst 64 additions, 0 deletions...eaking-98455-ChangedDefinitionOfFormEngineSuggestItem.rst
- typo3/sysext/core/Documentation/Changelog/12.0/Breaking-98455-RemovedDevbridge-autocomplete.rst 46 additions, 0 deletions...log/12.0/Breaking-98455-RemovedDevbridge-autocomplete.rst
- typo3/sysext/core/Resources/Private/Language/locallang_core.xlf 0 additions, 6 deletions...sysext/core/Resources/Private/Language/locallang_core.xlf
- typo3/sysext/core/Resources/Public/JavaScript/Contrib/jquery.autocomplete.js 0 additions, 20 deletions...esources/Public/JavaScript/Contrib/jquery.autocomplete.js
- typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php 2 additions, 2 deletions...end/Tests/Functional/Rendering/UriPrefixRenderingTest.php
Please register or sign in to comment