Skip to content

Show placeholders when analysis sections have no results - #183

Merged
trpyn merged 1 commit into
Pithus:masterfrom
hippi345:cursor/issue-97-analysis-placeholder-41bc
Nov 4, 2026
Merged

trpyn merged 1 commit into
Pithus:masterfrom
hippi345:cursor/issue-97-analysis-placeholder-41bc

Conversation

@hippi345

Copy link
Copy Markdown
Contributor

When MobSF or Quark returns nothing for a report section, several analysis tabs were left blank. This adds short placeholders, matching the existing "There is no data to display." message on the threat intel tab:

  • Network tab: "No domains found." and "No URLs found." when those sections are empty
  • Code tab: the standard empty message when both NIAP and code analysis are missing
  • Behavior tab: the same message when permissions, trackers, Quark crimes and API analysis are all absent (a missing quark is handled safely)

flake8 and bandit pass (the checks CI runs).

Closes #97

Add empty-state messages on the report page for network, code, and
behavior tabs when MobSF or Quark output is missing, matching the
existing threat intel tab pattern.

Closes Pithus#97

@trpyn trpyn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems good to me, thanks for the pr

@trpyn
trpyn merged commit 05f6981 into Pithus:master Nov 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a placeholder in case there are no results for analysis

2 participants