-
Notifications
You must be signed in to change notification settings - Fork 357
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
data: profile: extend workstation profile to hide pages for Web UI #6047
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to extend anaconda.conf with the defaults of the field. Also please add comments.
I also wonder if it shouldn't be hidden_webui_pages
to be crystal clear.
I am in for the clarification. |
I am in for the clarified version. |
1c56415
to
3d7771b
Compare
3d7771b
to
9683d73
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. :)
Longer term we might need something more granular and/or dynamic, but this should work fine for now. :)
/kickstart-tests --waive webui config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I was re-thinking about this. I dont think screen is the correct item to specify hiding. I think we should allow hiding components .
The issue is that the screens might incorportate multiple configurations, aka language together with keyboard and timezone.
Maybe we want to keep the language selection for Workstation, but we dont want the timezone.
I believe we need some more fine grained approach here.
What do you think? @jkonecny12 @M4rtinK
Sounds like a good approach. We just need to make it easy to list possible options. It could be comments in the configuration file? |
Sorry now that I am rethinking this, this would complicate things quite a lot code wise. So I suggest to ignore my comment, start by disabling wizard page level components, and and if in the future the design forces us to be more specific, I will re-think it. |
Previously we would be using the ISO variant (Boos, Live) from Anaconda configuration file and we would conditionalize the page visibility in the Web UI code according to that. With this commit, the pages can be hidden per-new option of the configuration file [1]. [1] rhinstaller/anaconda#6047
9683d73
to
a39a497
Compare
Bumps the pylint-and-astroid group in /dockerfile with 2 updates: [pylint](https://github.com/pylint-dev/pylint) and [astroid](https://github.com/pylint-dev/astroid). Updates `pylint` from 3.3.2 to 3.3.3 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v3.3.2...v3.3.3) Updates `astroid` from 3.3.6 to 3.3.8 - [Release notes](https://github.com/pylint-dev/astroid/releases) - [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog) - [Commits](pylint-dev/astroid@v3.3.6...v3.3.8) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pylint-and-astroid - dependency-name: astroid dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pylint-and-astroid ... Signed-off-by: dependabot[bot] <[email protected]>
This was previously handled within the Web UI codebase. Now we hide pages specified by the `hidden_pages` configuration option.
a39a497
to
a48496d
Compare
Previously we would be using the ISO variant (Boos, Live) from Anaconda configuration file and we would conditionalize the page visibility in the Web UI code according to that. With this commit, the pages can be hidden per-new option of the configuration file [1]. [1] rhinstaller/anaconda#6047
Previously we would be using the ISO variant (Boot, Live) from Anaconda configuration file and we would conditionalize the page visibility in the Web UI code according to that. With this commit, the pages can be hidden per-new option of the configuration file [1]. [1] rhinstaller/anaconda#6047
Previously we would be using the ISO variant (Boot, Live) from Anaconda configuration file and we would conditionalize the page visibility in the Web UI code according to that. With this commit, the pages can be hidden per-new option of the configuration file [1]. [1] rhinstaller/anaconda#6047
This was previously handled within the Web UI codebase. Now we hide pages specified by the
hidden_pages
configuration option.Related to: rhinstaller/anaconda-webui#551
Related to: https://issues.redhat.com/browse/INSTALLER-4085