diff --git a/data/anaconda.conf b/data/anaconda.conf index 609d2b70a0a..879b3cb6791 100644 --- a/data/anaconda.conf +++ b/data/anaconda.conf @@ -284,10 +284,14 @@ reformat_blocklist = /home /usr/local /opt /var/www # The path to a custom stylesheet. custom_stylesheet = -# A list of spokes to hide in UI. +# A list of spokes to hide in GTK UI. # FIXME: Use other identification then names of the spokes. hidden_spokes = +# A list of spokes to hide in Web UI. +# Use the ID attribute of the Page class. +hidden_webui_pages = + # Should the UI allow to change the configured root account? can_change_root = False diff --git a/data/profile.d/fedora-workstation.conf b/data/profile.d/fedora-workstation.conf index edbec81eea7..025eba95307 100644 --- a/data/profile.d/fedora-workstation.conf +++ b/data/profile.d/fedora-workstation.conf @@ -22,6 +22,9 @@ hidden_spokes = NetworkSpoke PasswordSpoke UserSpoke +hidden_webui_pages = + anaconda-screen-accounts + anaconda-screen-language [Localization] # disable localization for the Fedora Workstation live image to avoid diff --git a/docs/release-notes/hidden-webui-pages.rst b/docs/release-notes/hidden-webui-pages.rst new file mode 100644 index 00000000000..a7c7950da03 --- /dev/null +++ b/docs/release-notes/hidden-webui-pages.rst @@ -0,0 +1,18 @@ +:Type: Configuration +:Summary: Support for Hiding Specific Pages in the Web UI + + :Description: + The Web UI now supports hiding specific pages by adding their page IDs to the + hidden-webui-pages option in the anaconda.conf file. + + For example, in the Workstation ISO, the 'Account Creation' page shoult not be displayed, + as this step is handled by GNOME Initial Setup during first boot. To hide this page, + the following configuration is be added: + + hidden-webui-pages = anaconda-screen-accounts + + This feature allows tailoring the Web UI experience to meet the specific needs of + different ISOs or spins. + +:Links: + - https://github.com/rhinstaller/anaconda/pull/6047