Skip to content
Snippets Groups Projects
Commit b713e1da authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Frank Nägler
Browse files

[BUGFIX] Fix various issues in "View Upgrade Docs"

The search field was initialized twice which broke the clearable
feature. Since we don't like redundancy we omit a second initialization
and better do it right the first time.

If the search field is emptied after querying the docs, the original
state is recovered. All panels without exception are closed again.

When panels get collapsed, only expanded panels are queried which
improves the subjective performance of the process.

An unavailable function `.contains` was used to filter changelogs by
tags. Searching for a colon is now done via
`String.prototype.includes()`.

Any search action is now debounced to avoid massive DOM manipulations
due to excessive typing in the search field.

Resolves: #90737
Resolves: #85453
Resolves: #90738
Releases: master
Change-Id: Ia3b4f2665c95e9c7e891feec73b57b869279d22b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63688


Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarFrank Nägler <frank.naegler@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarFrank Nägler <frank.naegler@typo3.org>
parent b3da6342
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment