diff --git a/.gitignore b/.gitignore
index bd2bc7aa3..526413b2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -125,6 +125,7 @@ mkdocs.yml
/docs/gallery/other/index.md
/docs/refmans/gui/viselements/index.md
+/docs/refmans/gui/viselements/mui-icons.svg
/docs/refmans/gui/viselements/generic/*.md
!/docs/refmans/gui/viselements/generic/index.md
/docs/refmans/gui/viselements/generic/charts/*.md
diff --git a/docs/refmans/gui/viselements/corelements/data_node.md_template b/docs/refmans/gui/viselements/corelements/data_node.md_template
index b9503e904..aff98913c 100644
--- a/docs/refmans/gui/viselements/corelements/data_node.md_template
+++ b/docs/refmans/gui/viselements/corelements/data_node.md_template
@@ -45,8 +45,8 @@ To edit the data node, the user can click the line where the value is displayed:
Note that a 'Comment' field allows the user to explain why this value is changed. This information
is part of the history of the data node.
-When the new value is entered, the user presses the 'Apply' (✓) or the 'Cancel' (⨉) button to
-apply or cancel the change, respectively.
+When the new value is entered, the user presses the [MUI:CheckCircle] icon or the [MUI:Cancel] icon
+to apply or cancel the change, respectively.
### Tabular data
@@ -59,8 +59,8 @@ top-left corner of the 'Properties' section:
Data representation switch
-In the image above, the switch is set to the 'Table' mode.
-The other option is the 'Chart' mode.
+In the image above, the switch is set to the 'Table' mode ([MUI:TableChartOutlined] icon).
+The other option is the 'Chart' mode ([MUI:BarChartOutlined] icon).
Tabular data can be edited only in the 'Table' mode, as described in
[this section](#editing-tabular-data).
@@ -123,9 +123,9 @@ From this tab, you can access the attributes of the data node:
The Properties section
-The label of the data node can be changed using the 'Label' field: click in the value area, change
-the content, then press the 'Apply' button (with the ✓ icon.)
-To cancel the change, press the 'Cancel' button (with the ⨉ icon).
+The label of the data node can be changed using the 'Label' field: the user clicks in the value
+area, change the content, then presses the [MUI:CheckCircle] icon (Apply).
+The [MUI:Cancel] icon (Cancel) is used to cancel the change.
If the data node has has an owner (a scenario or a cycle) and if the [*show_owner*](#p-show_owner)
property is set to True (which is its default value), the label of the owning entity appears in the
@@ -135,20 +135,21 @@ property is set to True (which is its default value), the label of the owning en
The data node is owned by a scenario
-When the selected data node is owned by a scenario, a button is visible next to the scenario's
-label. This button can be pressed to display the list of the owning scenarios so the user can
-select one from there. As a result, any variable bound to the [*scenario*](#p-scenario) is set to
-the selected scenario entity: the application can use that to update other parts of the page from
+When the selected data node is owned by a scenario, the [MUI:Launch] icon is visible next to the
+scenario's label. This icon can be clicked to display the list of the owning scenarios so the user
+can select one from there. As a result, any variable bound to the [*scenario*](#p-scenario) is set
+to the selected scenario entity: the application can use that to update other parts of the page from
an `on_change` callback.
The section at the bottom lists the custom properties for the selected data node. This is visible
only if the [*show_properties*](#p-show_properties) property is set to True (which is its default
value).
The user can create new properties by clicking the 'New Property Key' line, providing a property
-name and value, and then pressing the 'Apply' button (with the ✓ icon.).
-The user can cancel the creation of a new property by pressing the 'Cancel' button (with the ⨉
-icon).
-The user can delete a property by selecting it and pressing the *trash* button.
+name and value, and then pressing the [MUI:CheckCircle] icon.
+The user can cancel the creation of a new property by pressing the [MUI:Cancel] icon.
+
+The user can delete a property by selecting it and then pressing the [MUI:DeleteOutline] icon
+(Delete).
## The 'History' tab
diff --git a/docs/refmans/gui/viselements/corelements/data_node_selector.md_template b/docs/refmans/gui/viselements/corelements/data_node_selector.md_template
index b50b595f0..37e6f430b 100644
--- a/docs/refmans/gui/viselements/corelements/data_node_selector.md_template
+++ b/docs/refmans/gui/viselements/corelements/data_node_selector.md_template
@@ -17,10 +17,8 @@ the selector might appear as follows:
Data nodes are organized in their owning scenario and cycle, when relevant.
In this example, *cleaned_dataset* and *initial_dataset* are scoped at the
[`Scope.GLOBAL`](../../../reference/pkg_taipy/pkg_common/pkg_config/Scope/index.md) level.
-Expanding the 'My scenario' item (by clicking the
-
-- Expand - icon) reveals data nodes scoped at
-[`Scope.SCENARIO`](../../../reference/pkg_taipy/pkg_common/pkg_config/Scope/index.md).
+Expanding the 'My scenario' item (by clicking the [MUI:ChevronRight] icon) reveals data nodes scoped
+at [`Scope.SCENARIO`](../../../reference/pkg_taipy/pkg_common/pkg_config/Scope/index.md).
When the user selects a data node, the [*on_change*](#p-on_change) callback is triggered allowing
the application to respond to the user's selection. The selected node's value is reflected in the
@@ -31,19 +29,17 @@ icons allow users to perform various actions:
Users can interact with the icons in the toolbar to perform various tasks:
--
- : Opens a filter configuration dialog, allowing users to define filters that apply to the list of
- data nodes.
-- :
- Enables users to specify sorting preferences for organizing the data nodes in the list.
--
- : Toggles the visibility of a text search box, which helps users locate specific data nodes
- quickly.
+- [MUI:FilterList]: Opens a filter configuration dialog, allowing users to define filters that apply
+ to the list of data nodes.
+- [MUI:SortByAlpha]: Enables users to specify sorting preferences for organizing the data nodes in
+ the list.
+- [MUI:SearchOutlined]: Toggles the visibility of a text search box, which helps users locate
+ specific data nodes quickly.
Filtering
@@ -52,16 +48,14 @@ criteria.
Opening the Filter dialog
-When the user presses the
-
-icon (Filter), the following dialog appears:
+When the user presses the [MUI:FilterList] icon (Filter), the following dialog appears:
-All the filters that are currently applied to the list of data nodes is shown. So far, it is
+All the filters that are currently applied to the list of data nodes are shown. So far, the list is
empty.
Creating a new filter
@@ -87,7 +81,7 @@ The available comparisons depend on the type of the selected field:
- Date: Options include "is on," "is not on," "is before," "is on or before," "is on or after" and
"is after." The value field accepts a date value.
-To list all data nodes with labels containing the string "eva", the user would configue a filter as
+To list all data nodes with labels containing the string "eva", the user would configure a filter as
follows:
-To add this filter to the filters list, the user must press the
-
-(Check) icon.
+To add this filter to the filters list, the user must press the [MUI:Check] icon (Check).
Multiple filters can be added as needed.
To close the filter configuration dialog, the user must click outside the dialog area.
@@ -109,15 +101,12 @@ Once filters are added, they are applied immediately. The filtered data node lis
Filters applied
-To remove a filter from the list, the user would open the filters dialog
-(
-icon), locate the criterion that must be removed and delete it pressing the
-
-(Delete) icon.
+To remove a filter from the list, the user would open the filters dialog ([MUI:FilterList] icon),
+locate the criterion that must be removed and delete it pressing the [MUI:Delete] icon (Delete).
Sorting
-The data node selector sorts data nodes by default in alphabetically ascending order based on their
+The Data Node Selector sorts data nodes by default in alphabetically ascending order based on their
labels. Grouping is applied according to their respective Cycle or Scenario, if applicable
Users can define custom sorting criteria to modify how data nodes are ordered. This process is
@@ -136,9 +125,7 @@ Consider the following initial list of data nodes displayed in the selector:
Initial data nodes list
-When the user presses the
-
-icon (Sort), the sorting configuration dialog appears:
+When the user presses the [MUI:SortByAlpha] icon (Sort), the sorting configuration dialog appears:
-After the sorting criterion is validated (pressing the
- icon),
-it is added to the sorting criteria list and the criterion is immediately applied to reorder the
-data nodes:
+After the sorting criterion is validated (pressing the [MUI:Check] icon), it is added to the sorting
+criteria list and the criterion is immediately applied to reorder the data nodes:
The user can then create additional sorting criteria (which are applied in sequence).
-To remove a sorting rule, the user can select the
- button
-next to the criterion.
+To remove a sorting rule, the user can select the [MUI:Delete] button next to the criterion.
To exit the sorting dialog, click anywhere outside the dialog window.
@@ -177,9 +160,8 @@ To exit the sorting dialog, click anywhere outside the dialog window.
The Search feature allows users to quickly locate data nodes by filtering the list based on text
input.
-When the user presses the
-
-icon (Search), a search box appears within the data node selector interface:
+When the user presses the [MUI:SearchOutlined] icon (Search), a search box appears within the Data
+Node Selector interface:
-To close the search box, the user must press the
-
-icon (Search off) in the toolbar.
+To close the search box, the user must press the [MUI:SearchOffOutlined] icon (Search off) in the
+toolbar.
Pinning
@@ -208,17 +189,16 @@ Assuming we are in the following situation:
If the user wants to focus only on the data node called *initial_dataset* and the data nodes from
-the scenario called 'Peter's', she can click the
-
-icon (Pin) next to these two items. Here is what the display would look like:
+the scenario called 'Peter's', she can click the [MUI:PushPinOutlined] icon (Pin) next to these two
+items. Here is what the display would look like:
Here is what the control looks like after the 'Pinned only' switch was set and the scenario item
@@ -239,6 +219,6 @@ Note that the cycle item is not pinned because the other scenarios it contains a
- *Pinning* a scenario item pins all its data nodes.
*Unpinning* a scenario item unpins all its data nodes.
- *Pinning* a cycle item pins all the data nodes across all its scenarios.
- *Unpinning* a cycle item unpins all the data nodes across all its scenarios.
+ *Unpinning* a cycle item unpins all the data nodes across all its scenarios.
Turn off the 'Pinned Only' switch to view the complete list of data nodes again.
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-create-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-create-d.png
index 4aad8a50b..945ee72cd 100644
Binary files a/docs/refmans/gui/viselements/corelements/scenario_selector-create-d.png and b/docs/refmans/gui/viselements/corelements/scenario_selector-create-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-create-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-create-l.png
index f2cfc2226..e496fc665 100644
Binary files a/docs/refmans/gui/viselements/corelements/scenario_selector-create-l.png and b/docs/refmans/gui/viselements/corelements/scenario_selector-create-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filled-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filled-d.png
deleted file mode 100644
index 54c3043ef..000000000
Binary files a/docs/refmans/gui/viselements/corelements/scenario_selector-filled-d.png and /dev/null differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filled-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filled-l.png
deleted file mode 100644
index 91a0ed792..000000000
Binary files a/docs/refmans/gui/viselements/corelements/scenario_selector-filled-l.png and /dev/null differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter1-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter1-d.png
new file mode 100644
index 000000000..f099912b3
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter1-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter1-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter1-l.png
new file mode 100644
index 000000000..072130ee3
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter1-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter2-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter2-d.png
new file mode 100644
index 000000000..3058d6bfa
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter2-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter2-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter2-l.png
new file mode 100644
index 000000000..da8f63b5b
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter2-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter3-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter3-d.png
new file mode 100644
index 000000000..7ac463df1
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter3-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter3-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter3-l.png
new file mode 100644
index 000000000..7b6602826
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter3-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter4-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter4-d.png
new file mode 100644
index 000000000..d4f6e77ac
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter4-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter4-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter4-l.png
new file mode 100644
index 000000000..67ce38ce0
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter4-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter5-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter5-d.png
new file mode 100644
index 000000000..cd4cfa9ab
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter5-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-filter5-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-filter5-l.png
new file mode 100644
index 000000000..53a749858
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-filter5-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-init1-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-init1-d.png
new file mode 100644
index 000000000..c888d1f4e
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-init1-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-init1-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-init1-l.png
new file mode 100644
index 000000000..002921af1
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-init1-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-search1-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-search1-d.png
new file mode 100644
index 000000000..3cb756962
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-search1-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-search1-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-search1-l.png
new file mode 100644
index 000000000..7bb4e3599
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-search1-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-search2-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-search2-d.png
new file mode 100644
index 000000000..dde619667
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-search2-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-search2-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-search2-l.png
new file mode 100644
index 000000000..3730fdb6d
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-search2-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-sort1-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-sort1-d.png
new file mode 100644
index 000000000..9b0646b5d
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-sort1-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-sort1-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-sort1-l.png
new file mode 100644
index 000000000..834acb4ec
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-sort1-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-sort2-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-sort2-d.png
new file mode 100644
index 000000000..eea6d13aa
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-sort2-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-sort2-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-sort2-l.png
new file mode 100644
index 000000000..d3b838211
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-sort2-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-sort3-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-sort3-d.png
new file mode 100644
index 000000000..2854fcd64
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-sort3-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-sort3-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-sort3-l.png
new file mode 100644
index 000000000..e6df98c09
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-sort3-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-sort4-d.png b/docs/refmans/gui/viselements/corelements/scenario_selector-sort4-d.png
new file mode 100644
index 000000000..d7e3ac787
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-sort4-d.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector-sort4-l.png b/docs/refmans/gui/viselements/corelements/scenario_selector-sort4-l.png
new file mode 100644
index 000000000..999de5d97
Binary files /dev/null and b/docs/refmans/gui/viselements/corelements/scenario_selector-sort4-l.png differ
diff --git a/docs/refmans/gui/viselements/corelements/scenario_selector.md_template b/docs/refmans/gui/viselements/corelements/scenario_selector.md_template
index 808ba1ad7..c35e3dc07 100644
--- a/docs/refmans/gui/viselements/corelements/scenario_selector.md_template
+++ b/docs/refmans/gui/viselements/corelements/scenario_selector.md_template
@@ -1,55 +1,80 @@
Select scenarios from the list of all scenario entities.
-The scenario selector shows all the scenario entities handled by Taipy and lets the user
+The Scenario Selector shows all the scenario entities handled by Taipy and lets the user
select a scenario from a list, create new scenarios or edit existing scenarios.
# Details
-The scenario selector displays a tree selector where scenarios are grouped based on their cycle
-(if the property [*display_cycles*](#p-display_cycles) has not been set to False).
-If the [*show_primary_flag*](#p-show_primary_flag) property has not been forced to False, the
-label of the primary scenario are overlaid with a small visual hint that lets users spot them
-immediately.
+The Scenario Selector is a visual control that displays a tree structure where scenarios are grouped
+by their respective cycles (provided the [*display_cycles*](#p-display_cycles) property is not set
+to False).
-If no created scenario has been created yet, the tree selector will appear empty. The default
-behavior, controlled by the [*show_add_button*](#p-show_add_button) property, is to display a
-button letting users create new scenarios:
+Here is an example of a populated Scenario Selector:
-When the user presses that button, a form appears so that the settings of the new scenario can be
-set:
+In the example above, we observe several created scenarios, including some organized within a cycle,
+as indicated by the
+
+icon.
+
+Additionally, because the [*show_primary_flag*](#p-show_primary_flag) property is enabled by default
+(not explicitly set to False), the primary scenario within each cycle is marked with a
+[MUI:FlagOutlined] icon, allowing users to identify it at a glance.
+
+At the top of the control, a toolbar provides a few icons that let users perform various tasks:
+
+- [MUI:FilterList]: Opens a filter configuration dialog, allowing users to define filters that apply
+ to the list of scenarios. This is described in the [Filtering](#filtering) section.
+- [MUI:SortByAlpha]: Enables users to specify sorting preferences for organizing the scenarios in
+ the list. This is described in the [Sorting](#sorting) section.
+- [MUI:SearchOutlined]: Toggles the visibility of a text search box, which helps users locate
+ specific scenarios quickly. This is described in the [Searching](#searching) section.
+
+## Creating new scenarios
+
+If no scenarios have been created yet, the tree selector will appear empty. By default, a button
+for creating new scenarios is displayed, controlled by the [*show_add_button*](#p-show_add_button)
+property:
-In this form, the user must indicate which scenario configuration should be used and specify the
-scenario creation date.
-Custom properties can also be added to the new scenario by pressing the '+' button located on the
-right side of the property key and value fields.
-
-When several new scenarios are created, the scenario selector will list all the scenarios,
-potentially grouped in their relevant cycle:
+When the 'Add Scenario' button is clicked, a dialog appears, allowing users to configure the new
+scenario's settings:
-Notice how the primary scenario for a cycle is immediately flagged as "primary" (you may choose
-not to show that icon by setting the [*show_primary_flag*](#p-show_primary_flag) property to
-False).
+In the dialog, users must specify:
+
+- The scenario configuration to use,
+- The scenario creation date,
+- The label for the new scenario.
+
+Additionally, custom properties can be added to the scenario by clicking the [MUI:Add] button
+(Add) located to the right of the property key and value fields.
+
+After configuring the necessary details:
+
+- Clicking the 'Create' button will create the scenario and add it to the Scenario Selector list.
+- Clicking the 'Cancel' button will close the dialog without saving any changes.
## Editing a scenario
-Users can press the pencil icon located next to the scenario labels. When that happens, a dialog
-box similar to the scenario creation dialog is displayed to let users modify the scenario
-settings.
+To edit an existing scenario, users can click the [MUI:Edit] icon (Edit) located next to the
+scenario item in the tree. This action opens a dialog box similar to the scenario creation dialog,
+allowing users to modify scenario settings.
Here is how this dialog box looks like:
-The user can change the scenario label and custom properties then press the 'Apply' button to
-propagate the changes.
-To add a new custom property, the user has to fill the 'Key' and 'Value' fields in the 'Custom
-Properties' section, then press the '+' button.
-A custom property can be removed by pressing the trash button next to it.
+In the dialog, users can:
-The 'Cancel' button closes the dialog without changing anything.
-The 'Delete' button deletes the edited scenario.
+
+
Modify the Scenario Label,
+
Add custom properties by filling in the 'Key' and 'Value' fields in the 'Custom Properties'
+ section then pressing the [MUI:Add] icon (Add),
+
Remove custom properties by clicking the [MUI:DeleteOutline] icon (Delete) next to an existing
+ custom property.
+
-Note that there is no way to change the scenario configuration or its creation date.
+Note that the scenario configuration and creation date cannot be modified.
+
+The 'Apply' button saves and propagates changes to the scenario.
+The 'Cancel' button closes the dialog without making any changes.
+The 'Delete' button permanently deletes the scenario.
## Selecting a scenario
@@ -77,6 +107,157 @@ application can then use the selected value.
If no scenario is selected, [*value*](#p-value) is set no None.
+## Filtering
+
+The Filter functionality allows users to refine the list of scenarios by applying one or more
+criteria.
+
+Here is the Scenario Selector list that we will work with to demonstrate this functionality.
+
+
+
+
Opening the Filter dialog
+
+When the user presses the [MUI:FilterList] icon (Filter), the following dialog appears:
+
+
+All the filters that are currently applied to the list of scenarios are shown. So far, the list is
+empty.
+
+
Creating a new filter criteria
+
+To create a new filter, the user must select a filtering criterion from the dropdown menu in the
+first field:
+
+
+After selecting a criterion, the 'Action' dropdown updates with comparison options specific to the
+selected criterion.
+The available comparisons depend on the type of the selected field:
+
+- Boolean: Options include "is" and "is not." The value field accepts True or False.
+- String: Options include "is," "is not," and "contains." The value field accepts a text
+ value.
+- Number: Options include "equals," "does not equal," "is less than," "is less than or equal to,"
+ "is greater than or equal to" and "is greater than." The value field accepts a numerical
+ value.
+- Date: Options include "is on," "is not on," "is before," "is on or before," "is on or after" and
+ "is after." The value field accepts a date value.
+
+To list all data nodes with labels containing the string "ina", the user would configure a filter as
+follows:
+
+
+To add this filter to the filters list, the user must press the [MUI:Check] (Check) icon.
+Multiple filters can be added as needed.
+
+To close the filter configuration dialog, the user must click outside the dialog area.
+
+Once filters are added, they are applied immediately. The filtered scenario list appears as shown:
+
+
+You can see that only scenarios with matching label now appear in the list.
+The [MUI:FilterList] icon (Filter) in the control's tool bar has an overlay icon indicating that
+a filter with one criterion is currently applied.
+
+
Removing a filter criteria
+
+To remove a filter from the list, the user would open the filters dialog ([MUI:FilterList] icon),
+locate the criterion that must be removed and delete it pressing the [MUI:Delete] icon (Delete).
+
+## Sorting
+
+By default, the Scenario Selector sorts scenarios in ascending order by their creation date. When
+applicable, scenarios are grouped by their respective Cycle.
+
+Users can customize the sorting order by defining custom sorting criteria, similar to the process of
+filtering. This allows users to create a prioritized sequence of sorting rules.
+
+Each sorting criterion specifies:
+
+- The scenario property to sort by (e.g., label, creation date).
+- The sorting direction, either *ascending* ("asc") or *descending* ("desc").
+
+Consider the following initial list of scenarios displayed in the selector:
+
+
+Users can click the [MUI:SortByAlpha] icon (Sort) to open the sorting configuration dialog:
+
+
+Users can select a property from the dropdown and specify the sorting order: 'asc' (Ascending) or
+'desc' (Descending).
+
+In the following image, the user has selected the 'Label' property with a descending sort:
+
+
+After the sorting criterion is validated (pressing the [MUI:Check] icon), it is added to the sorting
+rules. The scenarios are immediately reordered according to the applied criteria:
+
+
+Note the overlay indicator on top of the [MUI:SortByAlpha] icon, indicating that a sorting criterion
+is currently applied.
+
+Additional sorting rules can be created, applied sequentially in the specified order of
+priority.
+To remove a sorting rule, the user can click the [MUI:Delete] button next to the criterion.
+
+To exit the sorting configuration window, users must click anywhere outside the dialog window.
+
+## Searching
+
+The Search feature allows users to quickly locate scenarios by filtering the list based on text input.
+
+When the user presses the [MUI:SearchOutlined] icon (Search), a search box appears within the Scenario Selector interface:
+
+
+If text is entered in the search box, the list dynamically updates to display only scenarios with labels containing the entered text:
+
+
+To close the search box, the user must press the [MUI:SearchOffOutlined] icon (Search off) in the toolbar.
+
# Usage
## Customizing the creation
@@ -165,7 +346,7 @@ not the case, an error message is returned to the user for correction.
Finally, lines 20-22 take care of creating the scenario with the new settings.
This scenario is returned by the callback function to let Taipy know it was created properly.
-The scenario selector control definition needs to have the [*on_creation*](#p-on_creation) property
+The Scenario Selector control definition needs to have the [*on_creation*](#p-on_creation) property
set to the function:
!!! taipy-element
default={scenario}
diff --git a/docs/refmans/gui/viselements/generic/metric.md_template b/docs/refmans/gui/viselements/generic/metric.md_template
index 6b9f30528..a5ff03a7b 100644
--- a/docs/refmans/gui/viselements/generic/metric.md_template
+++ b/docs/refmans/gui/viselements/generic/metric.md_template
@@ -113,7 +113,7 @@ This definition produces the following output that anyone can interpret on the s
Hiding the value
-## Formating the values {data-source="gui:doc/examples/controls/metric_formats.py"}
+## Formatting the values {data-source="gui:doc/examples/controls/metric_formats.py"}
The numerical value set to the properties [*value*](#p-value) and [*delta*](#p-delta) can be
displayed using a formatting string set to the respective properties [*format*](#p-format) and
@@ -137,7 +137,12 @@ Here is the control definition:
delta_format=%d %%
The syntax for the [*format*](#p-format) and [*delta_format*](#p-delta_format) properties is the one
-used by the native `sprintf()` function. In this case, values are both integers.
+used by the native `sprintf()` function. In this case, values are both integers.
+Note that in this example, we want the *delta* value to appear with a percent sign suffix. To get
+this result, you'll need to use the double percent symbol (%%) in the value for the
+[*delta_format*](#p-delta_format) property. In `sprintf()`, a single percent symbol is used for
+specifying format specifiers, so to actually print a literal percent sign, you need to escape it
+with another percent symbol.
Here is how the control displays: