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

Setting modification to address requests from UI_NEXT devs #14996

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

TheRealHaoLiu
Copy link
Member

SUMMARY
  • Add hidden to indicate to UI_NEXT to hide the field
  • Add warning_text to indicate to UI_NEXT to display the warning when specific setting is modified
  • Address some non required field being marked as required
ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION

ADDITIONAL INFORMATION

@TheRealHaoLiu TheRealHaoLiu changed the title Modification to settings requested by UI_NEXT Setting modification to address requests from UI_NEXT devs Mar 14, 2024
@@ -845,6 +850,7 @@
help_text=_('Enable preview of new user interface.'),
category=_('System'),
category_slug='system',
hidden=True,
Copy link
Member

Choose a reason for hiding this comment

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

The one thing I'm not getting from this is how this list of settings to hide came about. Will this just lead to complaints that we hid these?

Copy link
Member Author

Choose a reason for hiding this comment

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

this field only gets read by UI_NEXT

on UI_NEXT itself we don't need to show enabling UI_NEXT

- Add hidden to indicate to UI_NEXT to hide the field
- Add warning_text to indicate to UI_NEXT to display the warning when specific setting is modified
- Address some non required field being marked as required
@@ -825,6 +828,7 @@
help_text=_('Max number of hosts to allow to be created in a single bulk action'),
category=_('Bulk Actions'),
category_slug='bulk',
hidden=True,
Copy link
Member

Choose a reason for hiding this comment

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

why are these other settings being hidden?

Copy link
Member Author

Choose a reason for hiding this comment

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

they are not being shown on the UI anyway, and currently its hard coded for the UI to not show these settings

UI_NEXT want this to be dynamic and be determined by the API response

Copy link
Contributor

@jbradberry jbradberry left a comment

Choose a reason for hiding this comment

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

💯

@TheRealHaoLiu TheRealHaoLiu merged commit 93da15c into ansible:devel Mar 19, 2024
20 of 21 checks passed
@TheRealHaoLiu TheRealHaoLiu deleted the james-wishlist branch March 19, 2024 19:08
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
…4996)

Modification to settings

- Add hidden to indicate to UI_NEXT to hide the field
- Add warning_text to indicate to UI_NEXT to display the warning when specific setting is modified
- Address some non required field being marked as required
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
…4996)

Modification to settings

- Add hidden to indicate to UI_NEXT to hide the field
- Add warning_text to indicate to UI_NEXT to display the warning when specific setting is modified
- Address some non required field being marked as required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants