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

Improve the OAA UX. #112

Merged
merged 1 commit into from May 28, 2020
Merged

Improve the OAA UX. #112

merged 1 commit into from May 28, 2020

Conversation

matejak
Copy link
Contributor

@matejak matejak commented May 26, 2020

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1781790

Remarks: This PR can't be tested on Fedora, as liboscap depends on gconf2 that is not part of the installed system. Putting gconf2 into the Fedora update image breaks the system completely, likely because it needs post-install scriplets to perform important tasks. The only way to test is to use a RHEL8 installation s.a. boot.img in a subdirectory of http://10.43.136.2/trees/rhel-8-scratch-temp/
You may not be able to get content to the addon if #111 is not merged - content is not part of that boot image, and the installer update image of 19MB seems to be too big to get through.

@pep8speaks
Copy link

pep8speaks commented May 26, 2020

Hello @matejak! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 627:33: E127 continuation line over-indented for visual indent

Comment last updated at 2020-05-26 15:35:43 UTC

@matejak matejak added this to the 1.1 milestone May 26, 2020
@matejak matejak force-pushed the ux_fixes branch 2 times, most recently from 31f11f8 to 5bbea95 Compare May 26, 2020 15:35
@scrutinizer-notifier
Copy link

The inspection completed: 2 updated code elements

@yuumasato yuumasato self-assigned this May 27, 2020
Copy link
Member

@yuumasato yuumasato left a comment

Choose a reason for hiding this comment

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

Much needed improvement, the list of changes is now scrollable, see screenshots:
oaa-changes
oaa-changes-scrolled

But I don't like much the changes to the Profile description.
Just like the profile changes, it can be equally frustrating to not be able to read the whole descriptions.
A feature that could be interesting is to just show the titles, and make them expandable to see the description, but this is probably for another PR.

profile_descriptions

org_fedora_oscap/gui/spokes/oscap.glade Outdated Show resolved Hide resolved
- Set minimal height to profile view and to the changes view.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1781790
@yuumasato
Copy link
Member

Much needed improvement, the list of changes is now scrollable, see screenshots:

I realized it was scrollable before, and now it shows a higher amount of lines.

@yuumasato yuumasato merged commit da62419 into OpenSCAP:master May 28, 2020
matejak added a commit to matejak/oscap-anaconda-addon that referenced this pull request Jun 18, 2020
The PR OpenSCAP#112 marked this string as translatable, and changed it in the process.
However, the string is already present elsewhere in the source code, so this move
messed things up for translators.

This change reverts the URL->URI change, and leaves the GUI string "translatable",
as there is no way how to record the reason for this decision, so the situation doesn't repeat again.
As a result, it is now the job of the translation framework
to deal with the duplication gracefully.
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.

None yet

4 participants