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

Abbreviate profile descriptions based on total profile count #113

Draft
wants to merge 1 commit into
base: rawhide
Choose a base branch
from

Conversation

matejak
Copy link
Contributor

@matejak matejak commented May 28, 2020

Main problem with this PR:

  • It is not easily possible to expand description of a profile that you would like to see.

The displayed text is set in org_fedora_oscap/gui/spokes/oscap.py:626, but it is not HTML, so a CSS/JS trick with a clickable "More" is not applicable. The text is specified in so-called pango markup which can do nice tricks to fit a line to particular width, but it doesn't provide functionality to hide and expand long paragraphs.

@pep8speaks
Copy link

Hello @matejak! Thanks for opening 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

@matejak matejak mentioned this pull request May 28, 2020
@scrutinizer-notifier
Copy link

The inspection completed: 2 updated code elements

@matejak matejak mentioned this pull request Jun 21, 2021
@jan-cerny jan-cerny changed the title Abbreviate profile descriptions based on total profile count. Abbreviate profile descriptions based on total profile count Jun 25, 2021
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.

3 participants