(Show Redirects added) gatget do not load all redirects at the begining #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In visma.com page we are using this plugin for our custom redirects.
The issue we have with this tool is that we have a lot of custom redirects and way too much suggestions in our environment (10 million+). in this case when we open dashboard the gatget loads for ages and it takes a lot of resources of our environment. Also when "Dashboard" is opened by multiple editors it makes our environment quite slow while everything is loading.
In this case we decided to upgrade this gatget with one extra button "Show redirects".
When you open "Dashboard" the gatget firstly not try to show all redirects, but shows an empty list. in this case environment don't have heavy work to do. and if the user wants to see all redirects he just simply clicks "Show redirects" checkbox and at this point gatget will show all redirects. All other functionality is not changed, everything else is working as it should work.
Pros of this feature:
Cons of this feature: