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 layout of test details window #239

Merged
merged 7 commits into from
Jul 24, 2024

Commits on Jul 4, 2024

  1. Add function add_kv_entry

    This function adds a new row to the given table body. The row contains
    2 columns, the first column is a bold text and the second column
    is a normal text. A HTML element can be put instead of a text into
    the second column. The purpose of the function is to facilitate
    displaying key-value data pairs in HTML tables.
    jan-cerny committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    96651a9 View commit details
    Browse the repository at this point in the history
  2. Add function get_header

    jan-cerny committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    8f62de3 View commit details
    Browse the repository at this point in the history
  3. Improve layout of test details window

    - make the layout more compact to show all related data at a single
      place
    - For OVAL objects, create a table where each child element is
      represented as a table row
    - OVAL object child elements tag name is shown as first column in the row
    - OVAL object child elements text data shown as second column in the row
    - OVAL object child elements attributes are shown as labels
    - OVAL states and OVAL variables are presented in a similar way
      as OVAL objects as described above
    - make sure the test details window is standalone
    jan-cerny committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    49c9aeb View commit details
    Browse the repository at this point in the history
  4. Fix a missing declaration

    jan-cerny committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    d47251d View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Prevent showing UUID in the report

    The UUID is important to distinguish between two items of the same name
    stored in an internal directory. But it shouldn't be disaplayed to
    the user.
    jan-cerny committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    5321e20 View commit details
    Browse the repository at this point in the history
  2. Show direct child elements

    This change will cause that elements like `<set>` and OVAL variable
    child elements (`<count>`, `<arithmetic>`, `<time_difference>`) will
    be displayed in the HTML report.
    jan-cerny committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    8676dcc View commit details
    Browse the repository at this point in the history
  3. Show attributes of child elements of OVAL variables

    It's important to add attributes of these elements because they are
    significant for understanding the operation performed. For example, the
    arithmetic element has the arithmetic operation in the
    arithmetic_operation attribute.  This commit also simplifies the
    generator code.
    jan-cerny committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    377f0a7 View commit details
    Browse the repository at this point in the history