Skip to content

Analyze UI change: display patterns separately, pull pattern-contained nodes out of the node list #982

Description

@fangyangci

Background

As the pattern decision logic is cleaned up (see #981), the analyze output UI needs to be adjusted so that patterns are clearly visible in the results.

Goals

  • Display patterns separately: present each pattern as an independent unit in the analyze output.
  • Pull the pattern's constituent nodes out of the node list: nodes covered by a matched pattern are no longer shown mixed into the regular node list, but grouped under their corresponding pattern instead.

To be confirmed

The exact UI changes (layout, grouping, fields, whether a pattern is expandable to view its internal nodes, etc.) still need further confirmation before being finalized.

Related

Relevant code

  • analyze/console_writer.py
  • analyze/models/output.py

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions