Changed Object browser logic to work with websockets (#2419)

fixes https://github.com/minio/console/issues/943

## What does this do?

This allows us to start streaming results to the list instead of waiting
to retrieve all the objects list before sending it to the client

Included a couple of fixes:

- Removed metadata for deleted items
- Fixed multiple metadata requests
- Fixed height grow for parent wrapper
- Fixed object reload after restore version


Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2022-12-06 13:23:07 -06:00
committed by GitHub
parent 08ea069ed4
commit d95d59e454
22 changed files with 1745 additions and 751 deletions

View File

@@ -225,6 +225,7 @@ func listBucketObjects(ctx context.Context, client MinioClient, bucketName strin
Recursive: recursive,
WithVersions: withVersions,
WithMetadata: withMetadata,
MaxKeys: 100,
}
if withMetadata {
opts.MaxKeys = 1