Skip to content

Commit 11ecefe

Browse files
authored
Merge pull request #49691 from smunje1/RHDEVDOCS-4236
RHDEVDOCS-4236: Support default resource type in User Preferences
2 parents 64a73da + 23bfc26 commit 11ecefe

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

modules/odc-importing-codebase-from-git-to-create-application.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The resource name must be unique in a namespace. Modify the resource name if you
4848
+
4949
[NOTE]
5050
====
51-
The *Serverless Deployment* option is displayed in the *Import from git* form only if the {ServerlessOperatorName} is installed in your cluster. For further details, refer to the {ServerlessProductName} documentation.
51+
You can set the default resource preference for Import by browsing the User Preferences page and clicking *Applications* -> *Resource type* field. The *Serverless Deployment* option is displayed in the *Import from Git* form only if the {ServerlessOperatorName} is installed in your cluster. For further details, refer to the {ServerlessProductName} documentation.
5252
====
5353
5454
. In the *Pipelines* section, select *Add Pipeline*, and then click *Show Pipeline Visualization* to see the pipeline for the application. A default pipeline is selected, but you can choose the pipeline you want from the list of available pipelines for the application.

modules/odc-setting-user-preferences.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Module included in the following assemblies:
2+
//
3+
// *web_console/adding-user-preferences.adoc
14
:_content-type: PROCEDURE
25
[id="odc-setting-user-preferences_{context}"]
36
= Setting user preferences
@@ -13,4 +16,7 @@ You can set the default user preferences for your cluster.
1316
.. In the *Project* field, select a project you want to work in. The console will default to the project every time you log in.
1417
.. In the *Topology* field, you can set the topology view to default to the graph or list view. If not selected, the console defaults to the last view you used.
1518
.. In the *Create/Edit resource method* field, you can set a preference for creating or editing a resource. If both the form and YAML options are available, the console defaults to your selection.
16-
. In the Language section, select *Default browser language* to use the default browser language settings. Otherwise, select the language that you want to use for the console.
19+
. In the *Language* section, select *Default browser language* to use the default browser language settings. Otherwise, select the language that you want to use for the console.
20+
. In the *Applications* section:
21+
.. You can view the default *Resource type*. For example, if the {ServerlessOperatorName} is installed, the default resource type is *Serverless Deployment*. Otherwise, the default resource type is *Deployment*.
22+
.. You can select another resource type to be the default resource type from the *Resource Type* field.

web_console/adding-user-preferences.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
You can change the default preferences for your profile to meet your requirements. You can set your default project, topology view (graph/list), editing medium (form or YAML), and language preferences.
9+
[role="_abstract"]
10+
You can change the default preferences for your profile to meet your requirements. You can set your default project, topology view (graph or list), editing medium (form or YAML), language preferences, and resource type.
1011

1112
The changes made to the user preferences are automatically saved.
1213

0 commit comments

Comments
 (0)