-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Facet reoder: Add explicit save and allow reseting to default (#2558)
* change how facet reorder works by adding more controls
- Loading branch information
Showing
11 changed files
with
405 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Filter panel | ||
|
||
Filters are the data constraints or restrictions that are applied during search operations. For example, search for "mouse" data, or data submitted by certain "principal investigators". | ||
|
||
The filter panel (displayed on the left under "Refine search") contains a list of filter controls used to set these constraints. This page provides details on how the filter panel works. Please find the topics discussed in the table of contents below: | ||
|
||
- [Customizing the order of filters](#customizing-the-order-of-filters) | ||
- [How to move filters](#how-to-move-filters) | ||
- [How to save the order](#how-to-save-the-order) | ||
- [How to apply the default order](#how-to-apply-the-default-order) | ||
- [How to apply the saved order](#how-to-apply-the-saved-order) | ||
|
||
|
||
## Customizing the order of filters {id=customizing-the-order-of-filters} | ||
|
||
You can change the order of filters in the filter panel. This section goes over how you could move filters, save the customized order, and, if needed, discard the customized order. | ||
|
||
### How to move filters {id=how-to-move-filters} | ||
|
||
To move the filters, | ||
|
||
1. Left click on the grab ( :span::/span:{.fa-solid .fa-grip-vertical .help-page-icon} ) icon. | ||
2. While holding the left click, move your mouse to the desired location. | ||
3. Release the left click to finish the drag movement. | ||
|
||
Keep in mind that this order is not going to be persistent and will change back after refreshing the page. To save the order, please refer to the [How to save the order](#how-to-save-the-order) section. | ||
|
||
### How to save the order {id=how-to-save-the-order} | ||
|
||
If you would like to save the order in your browser, | ||
|
||
1. Click on the menu icon (:span::/span:{.fa-solid .fa-bars .help-page-icon}) besides the "Refine search". | ||
|
||
2. In the opened menu, select the ":span::/span:{.fa-solid .fa-check-to-slot .help-page-icon} Save filter order" option. | ||
|
||
This will ensure your customized order is saved in your browser. If you would like to apply the default order, please refer to the [How to discard the saved order](#how-to-apply-the-default-order) section. | ||
|
||
### How to apply the default order {id=how-to-apply-the-default-order} | ||
|
||
If you've customized the order, or applied the saved state, you may go back to the default order by following these steps: | ||
|
||
1. Click on the menu icon ( :span::/span:{.fa-solid .fa-bars .help-page-icon} ) besides the "Refine search". | ||
|
||
2. In the opened menu, select the ":span::/span:{.fa-solid .fa-undo .help-page-icon} Reset to default" option. | ||
|
||
With this, the filter panel will reset to the default order. Some filters move, and some might get opened/closed depending on the current state of the page. If you want to return to your saved order, please follow the steps described [here](#how-to-apply-the-saved-order). | ||
|
||
### How to apply the saved order {id=how-to-apply-the-saved-order} | ||
|
||
If you have saved the filter order before, we will apply this order when you load the page. If you made some modifications to this order, follow these steps to go back to the saved order: | ||
|
||
1. Click on the menu icon ( :span::/span:{.fa-solid .fa-bars .help-page-icon} ) besides the "Refine search". | ||
|
||
2. In the opened menu, select the ":span::/span:{.fa-solid .fa-check .help-page-icon} Apply saved state" option. | ||
|
||
With this, the filter panel will reset to the saved order. Some filters move, and some might get opened/closed depending on the current state of the page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.