mandiant / mandiant/capa

webui: when the window width is narrow, render entry data vertically

Open
#2,218 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement webui
Dominant language
Python
Stars
6.2k
Forks
726
Avg merge
11d 11h
Merged PRs (30d)
7

Description

When the browser window is narrow, such as on mobile, we should render the rule results table in a different way so that all information can easily be seen. Today, we put rule name, namespace, ATT&CK, etc. in their own column, which works well on a large display.

When the display is narrow, I think we could render the data like so:

CREATE PROCESS
  host-interaction/process/create
  Process Discovery (T1057)
  Process::Create Process [C0038]

Using bold/light and primary/muted colors to emphasize the rule name and de-emphasize the namespace/ATT&CK/MBC information. While this may make each list entry taller, it should still be easy to visually scan.

Ideally this is implemented via responsive CSS and media queries; however, if there's a dependency on the JS library, perhaps changes to the page width can be subscribed and responded to.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the web UI's rule results table and inspect how its columns are rendered at narrow browser widths. Implement a responsive layout that stacks each entry's rule name, namespace, ATT&CK, and MBC information vertically, then verify that all details remain visible and scannable on mobile-sized displays.

Written by the indexing model from the issue text.

Assessment

Domain
design, frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.