|
1
|
export const metadata = { |
|
2
|
title: `Settings Module Concepts`, |
|
3
|
} |
|
4
|
|
|
5
|
# {metadata.title} |
|
6
|
|
|
7
|
In this guide, you'll learn about the main concepts in the Settings Module and the data models it uses to store admin personalization settings. |
|
8
|
|
|
9
|
## View Configuration |
|
10
|
|
|
11
|
A view configuration is a saved data-table view for an entity, such as products or orders. It stores which columns are visible, their order and widths, the active filters, the sorting, and the search query. |
|
12
|
|
|
13
|
A view configuration is either personal to a user or a shared system default. Learn more in the [View Configurations](../view-configurations/page.mdx) document. |
|
14
|
|
|
15
|
The [ViewConfiguration](/references/settings/models/ViewConfiguration) data model represents a view configuration. |
|
16
|
|
|
17
|
--- |
|
18
|
|
|
19
|
## Layout Configuration |
|
20
|
|
|
21
|
A layout configuration stores the layout preferences of a zone, such as a product's details page. It stores the order and visibility of the zone's sections. |
|
22
|
|
|
23
|
A layout configuration is either personal to a user or a shared system default. Learn more in the [Layout Configurations](../layout-configurations/page.mdx) document. |
|
24
|
|
|
25
|
The [LayoutConfiguration](/references/settings/models/LayoutConfiguration) data model represents a layout configuration. |
|
26
|
|
|
27
|
--- |
|
28
|
|
|
29
|
## Property Label |
|
30
|
|
|
31
|
A property label sets a custom label and description for a property of an entity, such as the `display_id` property of an order. Labels are global, so they apply to all admin users, and they're translatable. |
|
32
|
|
|
33
|
Learn more in the [Property Labels](../property-labels/page.mdx) document. |
|
34
|
|
|
35
|
The [PropertyLabel](/references/settings/models/PropertyLabel) data model represents a property label. |
|
36
|
|
|
37
|
--- |
|
38
|
|
|
39
|
## User Preference |
|
40
|
|
|
41
|
A user preference stores an arbitrary setting for a user as a key-value pair. The Settings Module also uses user preferences internally to track a user's active view and layout scope. |
|
42
|
|
|
43
|
Learn more in the [User Preferences](../user-preferences/page.mdx) document. |
|
44
|
|
|
45
|
The [UserPreference](/references/settings/models/UserPreference) data model represents a user preference. |
|
46
|
|
|
47
|
--- |
|
48
|
|
|
49
|
## Entity Discovery and Column Generation |
|
50
|
|
|
51
|
To build data tables in the dashboard, the Settings Module discovers the entities available in your application from the registered modules' [query graph](!docs!/learn/fundamentals/query), then generates the columns for each entity. |
|
52
|
|
|
53
|
You can customize the generated columns of an entity, such as the default visible columns or their order. Learn how in the [Configure View Configurations](../configure-view-configurations/page.mdx) guide. |