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.
Description
This PR introduces a new
options
object in config.json, with a first optionhideSearchBar
which is utilized to disable the search bar in ocis. Since there are no capabilities for whether or not search is possible, we chose to use the config instead.Related Issue
Motivation and Context
Search is not implemented in ocis, so it's better to hide the search bar instead of having early adopters reporting that search doesn't work. We will bring it back as soon as search is implemented.
How Has This Been Tested?
Without the option set to
true
nothing changes. That is covered by tests and has been tested manually.Screenshots (if appropriate):
Search bar at the top is hidden. This is how it looks like, with collapsed and with expanded left sidebar.


Types of changes
Checklist:
Open tasks:
hideSearchBar
is set totrue