Skip to content

Commit

Permalink
[BUGFIX] Limit amount of data fetched by the page tree
Browse files Browse the repository at this point in the history
Page tree will fetch just 2 levels of pages plus pages which
are expanded on the initial load.
Next levels are fetched on demand via Ajax when expanding the node.
Search works server side now. To clear search, click on "x"
button.

Change-Id: I2691c531b419398325989070c375a9ec0d08ae82
Releases: master, 10.4, 9.5
Resolves: #88943
Resolves: #88098
Resolves: #88259
Resolves: #91884
Resolves: #91753
Resolves: #91916
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65354
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Richard Haeser <richard@richardhaeser.com>
Reviewed-by: Richard Haeser <richard@richardhaeser.com>
  • Loading branch information
bmack authored and haassie committed Aug 17, 2020
1 parent 983e0f0 commit 8d8cdb2
Show file tree
Hide file tree
Showing 17 changed files with 967 additions and 172 deletions.
Expand Up @@ -18,7 +18,7 @@ interface SetTemporaryMountPoint {

export interface NavigationComponentInterface {
initialize: Function;
refreshTree: Function;
refreshOrFilterTree: Function;
setTemporaryMountPoint: SetTemporaryMountPoint;
unsetTemporaryMountPoint: Function;
selectNode: Function;
Expand Down
Expand Up @@ -22,7 +22,7 @@ class PageTree {

public refreshTree(): void {
if (this.instance !== null) {
this.instance.refreshTree();
this.instance.refreshOrFilterTree();
}
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -91,7 +91,7 @@
"phpstan/phpstan": "^0.12.13",
"rector/rector": "^0.7.14",
"typo3/cms-styleguide": "~10.0.4",
"typo3/testing-framework": "^6.3.3"
"typo3/testing-framework": "^6.4"
},
"suggest": {
"ext-gd": "GDlib/Freetype is required for building images with text (GIFBUILDER) and can also be used to scale images",
Expand Down
13 changes: 6 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d8cdb2

Please sign in to comment.