Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Preserve contentMode and "show resources" during navigation #511

Closed
chegoryu opened this issue Apr 23, 2024 · 4 comments
Closed

Preserve contentMode and "show resources" during navigation #511

chegoryu opened this issue Apr 23, 2024 · 4 comments
Assignees

Comments

@chegoryu
Copy link

I use contentMode=resources and show resources to find "bad" directories with high quota usage.

Screenshot 2024-04-23 at 13 50 10

However sometimes you need to go into some subdirectories to find exact bad directory/table without merged chunks/etc.

But right now after clicking on subdirectory contentMode=resources and show resources options are reset, so you need to enable them again and it is really inconvenient.

@rBunin
Copy link

rBunin commented Apr 26, 2024

@chegoryu Hi!
We will check the bag about reset of contentMode=resources and will try to fix it. But show the resources button are reset on purpose as it could be heavy on the back-end side to rerun it again at a big clusters.

@chegoryu
Copy link
Author

But show the resources button are reset on purpose as it could be heavy on the back-end side to rerun it again at a big clusters.

Okay...

Anyway thanks for contentMode fix :)

@vrozaev
Copy link
Collaborator

vrozaev commented Jun 12, 2024

The root cause of contentMode problem might be somewhere here:

updateIfChanged(draftMapNode, 'contentMode', queryMapNode.contentMode);
.

Here draftMapNode.contentMode === 'resources' and queryMapNode.contentMode === 'default'. So far it's not clear why it's done this way. This code is a part of navigation url-mapping module which a bit obscure.

@vrozaev
Copy link
Collaborator

vrozaev commented Aug 2, 2024

Done, now we do not reset contentMode between pages.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants