Skip to content

Commit d002cd0

Browse files
committed
website: explain variable filtering and list display modes
1 parent 70b7ba5 commit d002cd0

6 files changed

Lines changed: 72 additions & 28 deletions

File tree

docs/.vitepress/config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export default defineConfig({
6464
{ text: "Keyboard Shortcuts",link: "/guides/quickview/shortcuts" },
6565
{ text: "File Selection", link: "/guides/quickview/file_selection" },
6666
{ text: "Variable Selection",link: "/guides/quickview/variable_selection" },
67+
{ text: "Slice Selection", link: "/guides/quickview/slice_selection" },
6768
{ text: "Viewport Layout", link: "/guides/quickview/viewport_layout" },
6869
{ text: "Individual Views", link: "/guides/quickview/individual_views" },
6970
],
@@ -76,9 +77,9 @@ export default defineConfig({
7677
],
7778
},
7879
{
79-
text: "Tools Under Development",
80+
text: "Tools In Development",
8081
items: [
81-
{ text: "Site View" },
82+
{ text: "SiteView" },
8283
{ text: "CondiDiagViewer", },
8384
],
8485
},

docs/guides/quickview/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,4 @@ program.
7171

7272
##
7373

74-
![SciDAC](/logos/SciDAC-logo.png){ width="25%", align=left }
75-
![Kitware](/logos/Kitware_logo_with_text.png){ width="15%", align=left}
76-
![PNNL](/logos/PNNL_logo_with_text_abbr.png){ width="15%", align=left }
74+
![SciDAC, Kitware, and PNNL](/logos/SciDAC-Kitware-PNNL.png){ width="75%", align=center }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Selecting Data Slices to Inspect
Lines changed: 63 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Selecting Variables to Inspect
22

3-
QuickView's capabilities of variable search and selection
4-
has been enhanced substantially compared to the earlier version.
5-
The enhancement was partly motivated by the generalization of
3+
Starting in version 2, QuickView's variable search and selection capabilities
4+
are substantially enhanced.
5+
This was partly motivated by the generalization of
66
the tool to handle arbitrarily-shaped arrays,
77
and partly due to the intention to help users navigate through simulation
88
files containing many (e.g., hundreds of) variables.
@@ -13,12 +13,12 @@ to explain the search and selection capabilities.
1313

1414
## Checkboxes for selecting and unselecting variables
1515

16-
The first screenshot here shows the Variable Selection panel
17-
right after the files have been loaded.
18-
- The checkboxes to the left of each variable name can be used
16+
The first screenshot here shows how the Variable Selection panel
17+
looks like after a simulation file has been loaded.
18+
- The checkboxes to the left of the variable names can be used
1919
to select or unselect the corresponding variables.
2020
- The first checkbox, to the left of "Name" and below the eye icon,
21-
can be used to select or unselect all variables.
21+
can be used to select or unselect all variables on the list.
2222

2323
## Variable groups
2424

@@ -32,26 +32,68 @@ we get the second screenshot shown here.
3232
- The **wide blue button** at the top of the contol panel indicates there is
3333
a total of 1385 variables displayable in the file.
3434
- The **colorful tabs** correspond to different variable groups with distinct shapes.
35-
Each groups shape (dimension combination), as well as the number
36-
of displayable variables in the group, is shown in the corresponding tab.
35+
Each group's shape (dimension combination), as well as the number
36+
of displayable variables in the group, is shown inside the corresponding tab.
3737
Each tab also has a "close" button that can be used to unselect the entire group.
3838

3939
Note that at this point, QuickView has *not* loaded all the variables into memory.
4040
It has finished a scan and *is ready to load* these variables.
4141

42-
## The filter box
42+
## Variable search
4343

44-
Talk points to be expanded after we further revise the filter logic:
44+
Below the variable group tabs and above the list of variables,
45+
there is a text input box with a magnifying glass icon.
46+
This box, also referred to as the filter box,
47+
can be used to search for variables by their names or dimensions.
4548

46-
- filter box; filter by dimension name, dimension combination, or variable name
47-
- eye icon: cycle through lists of selected, unselected, and all variables in the filtered list.
48-
- clicking a tab will filter the list of all variables by the shape combination.
49-
- filter is applied immediately when contents are entered.
50-
- implication: when the filter box is not empty, the eye icon and the first checkbox
51-
will operate on the filtered list. If the user wants them to apply to the full list
52-
of displayable variables instead, then the filter box should be cleared by deleteing the
53-
text; a shortcut would be to use the "close button" that shows up when the cursor
54-
hoves over the filter box".
49+
### Fuzzy search
5550

56-
::: warning Reminder: Use the `Load X variables` button to apply selection or change
51+
As soon as the user enters text into the filter box, QuickView displays
52+
a filtered list of variables whose **names or dimension names** contain
53+
the entered string.
54+
55+
Fuzzy search is case-**in**sensitive.
56+
57+
### Pattern search
58+
59+
Patterns such as `text*` or `*text` can be used to match **variable names**
60+
that start or end with `text`, respectively.
61+
62+
Pattern search is also case-**in**sensitive.
63+
64+
### Strict search
65+
66+
A string enclosed in double quotation marks (e.g., `"text"`) can be used
67+
to request exact matches of **variable names**,
68+
with no preceding or succeeding characters.
69+
70+
Exact search is **case-sensitive**.
71+
72+
73+
## Variable display modes
74+
75+
The eye icon to the left of the text input box (filter box)
76+
is a button for cycling through three display modes.
77+
The icon changes to reflect the current mode:
78+
79+
- **Eye icon** – shows the **full list** of variables in the file.
80+
- **Eye with check mark** – shows only the variables currently **selected** via the checkboxes.
81+
- **Eye with cross** – shows the variables that are **not currently selected**.
82+
83+
When a search or filter is active, these modes apply to the filtered list rather than
84+
the full set of variables in the simulation file.
85+
86+
Also note that:
87+
- If the user wants to return to the full list, the filter can be cleared
88+
by first hovering the cursor over the filter box and then clicking the cross button
89+
at the right end.
90+
- Double-clicking a colored group tab sets the filter to that group.
91+
The three display modes then apply to the selection state within that group.
92+
93+
94+
::: warning Reminder: Do not forget the `Load ... variables` button
95+
After making your selection or adjusting it, the `Load ... variables`
96+
buttone at the top of the control panel needs to be clicked
97+
in order for the selected variables to be loaded into memory and
98+
shown in the viewport.
5799
:::

docs/guides/reminders.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ simulation data file. Please double check when you run into a loading error.
2323

2424
::: warning The `Load ... Variables` Button
2525
Most buttons, sliders, and selection boxes in the UI apply their effects
26-
immediately upon user interaction. The only exception is variable
26+
immediately upon user interaction. An important exception is variable
2727
selection: After variables are chosen for the first time following file load
2828
or after the selection is changed, the user **must** click the `Load ... Variables`
29-
button at the top of the "Select Variables" control panel for the new selection to take effect.
29+
button at the top of the "Select Variables" control panel for the new selection to take effect
30+
i.e., for the selected variables to be loaded into memory and displayed as
31+
global or regional maps.
3032
:::
3133

3234
::: info Show/hide control panels
384 KB
Loading

0 commit comments

Comments
 (0)