smitajoshi12 commented on PR #6535: URL: https://github.com/apache/ozone/pull/6535#issuecomment-2111643567
> Thanks for updating the patch, @smitajoshi12. We are now using the correct API parameters for sorting the subpaths, but there is still an issue from the UI perspective. Let's say we have three files: > > ``` > file1 -> Size -> 1 KB > file2 -> Size -> 10 KB > file3 -> Size -> 1 GB > ``` > > The API endpoint would return a response in descending order of size. However, the problem is that the UI representation becomes skewed, as shown in the image below: Here, we have three directories with sizes 1 KB, 10 KB, and 1 GB. I believe the size of each part of the pie chart is relative to the file size, but this creates a poor user experience. We need to address this issue to improve the user interface. > > <img alt="image" width="1069" src="https://private-user-images.githubusercontent.com/98023601/330577261-ae20598e-d0ed-4290-8be6-93bc883c1a9f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU3NTI5MjAsIm5iZiI6MTcxNTc1MjYyMCwicGF0aCI6Ii85ODAyMzYwMS8zMzA1NzcyNjEtYWUyMDU5OGUtZDBlZC00MjkwLThiZTYtOTNiYzg4M2MxYTlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTE1VDA1NTcwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAzZjU1MGRjY2I4NTgzYTU4Y2U2OThjY2Q2OTY2ZGExMWNlYTNjNzg5MTZmNjg1ZmQ0NTk1ZDE4MzA3ZTY5ZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PNXMBixuh-HCrBqQsMnj4K7U4vAASHrXocVjV5dVqRA"> > Could you please take care of this! @ArafatKhan2198 Can we raise seprate JIRA for it as it is known issue need to work on lots of changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
