Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore info on relevant optional fields in Register Host interface #3508

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rh-max
Copy link
Contributor

@rh-max rh-max commented Dec 9, 2024

What changes are you introducing?

Returning selected info about optional fields in the Register Host interface of the Satellite UI.

Why are you introducing these changes? (Explanation, links to references, issues, etc.)

https://issues.redhat.com/browse/SAT-28703

Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)

Checklists

  • I am okay with my commits getting squashed when you merge this PR.
  • I am familiar with the contributing guidelines.

Please cherry-pick my commits into:

  • Foreman 3.13/Katello 4.15
  • Foreman 3.12/Katello 4.14 (Satellite 6.16)
  • Foreman 3.11/Katello 4.13 (orcharhino 6.11 on EL8 only)
  • Foreman 3.10/Katello 4.12
  • Foreman 3.9/Katello 4.11 (Satellite 6.15; orcharhino 6.8/6.9/6.10)
  • Foreman 3.8/Katello 4.10
  • Foreman 3.7/Katello 4.9 (Satellite 6.14)
  • We do not accept PRs for Foreman older than 3.7.

@rh-max
Copy link
Contributor Author

rh-max commented Dec 9, 2024

@asteflova Could you PTAL? I've tried to, on one hand, to not add redundant information, and on the other, to list the most important info on optional fields and retain relevant info about their workings. Thank you.

@rh-max rh-max added the Needs style review Requires a review from docs style/grammar perspective label Dec 9, 2024
endif::[]
and *Lifecycle environment* fields inherit their values from the host group.
ifdef::katello,satellite,orcharhino[]
* A Capsule behind a load balancer takes precedence over the Capsule selected in this UI as the host’s content source.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

branding! "Capsule" -> "{SmartProxy}"

ifdef::katello,satellite,orcharhino[]
, *Activation Keys*
endif::[]
and *Lifecycle environment* fields inherit their values from the host group.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fields are inherited from the host group but not preselected. Is that intentional? On Foreman 3.13:

image

@Thorben-D @MariaAga

@@ -48,8 +48,14 @@ endif::[]

.Procedure
. In the {ProjectWebUI}, navigate to *Hosts* > *Register Host*.
. Enter the details for how you want the registered host to be configured.
. Enter the details for how you want the registered host to be configured. Note:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd drop "Note:". alternative:

Suggested change
. Enter the details for how you want the registered host to be configured. Note:
. Enter the details for how you want the registered host to be configured.
+
[NOTE]
====
...
====

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
. Enter the details for how you want the registered host to be configured. Note:
. Enter the details for how you want the registered host to be configured.

An alternative. I think the bulleted list is "noteable" enough.

@pr-processor pr-processor bot added Waiting on contributor Requires an action from the author and removed Not yet reviewed labels Dec 9, 2024
Copy link
Member

@asteflova asteflova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this works nicely: you're adding a few more details as requested in the report but manage to avoid too much duplication between the web UI and the docs. Thanks for picking this up!

Note especially the suggestions to use attributes, that's the 'blocking' part of the feedback.

@@ -48,8 +48,14 @@ endif::[]

.Procedure
. In the {ProjectWebUI}, navigate to *Hosts* > *Register Host*.
. Enter the details for how you want the registered host to be configured.
. Enter the details for how you want the registered host to be configured. Note:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
. Enter the details for how you want the registered host to be configured. Note:
. Enter the details for how you want the registered host to be configured.

An alternative. I think the bulleted list is "noteable" enough.

endif::[]
and *Lifecycle environment* fields inherit their values from the host group.
ifdef::katello,satellite,orcharhino[]
* A Capsule behind a load balancer takes precedence over the Capsule selected in this UI as the host’s content source.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* A Capsule behind a load balancer takes precedence over the Capsule selected in this UI as the host’s content source.
* A {SmartProxy} behind a load balancer takes precedence over the {SmartProxy} selected in the {ProjectWebUI} as the content source of the host."

Attributes to avoid branding issues and minor rewording to avoid possessive apostrophe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs style review Requires a review from docs style/grammar perspective Waiting on contributor Requires an action from the author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants