Skip to content

Add navigation sidebar to gallery and subdomain detail pages#9

Open
Copilot wants to merge 4 commits intomainfrom
copilot/link-screenshot-gallery-menu
Open

Add navigation sidebar to gallery and subdomain detail pages#9
Copilot wants to merge 4 commits intomainfrom
copilot/link-screenshot-gallery-menu

Conversation

Copy link
Contributor

Copilot AI commented Dec 17, 2025

Gallery and subdomain detail pages previously opened as standalone pages without navigation. Users had to use browser back button to return to dashboard.

Changes

  • Added sidebar navigation to /gallery/{domain} and /subdomain/{domain}/{subdomain} pages

    • Includes all menu items: Overview, Launch Scan, Active Jobs, Workers, Queue, Reports, Logs, Monitors, Targets, Settings, User Guide
    • Matches main dashboard layout (sidebar left, content right)
    • Consistent styling with same dark theme and component structure
  • Changed gallery link behavior in Reports section

    • Removed target="_blank" attribute (line 5497)
    • Gallery now opens in same window instead of new tab
  • Extracted generate_sidebar_navigation() helper function

    • Eliminates duplication across gallery and detail page generators
    • Single source of truth for navigation menu structure

Screenshots

Gallery page with sidebar navigation:
Gallery with Menu

Subdomain detail page with sidebar navigation:
Subdomain Detail with Menu

Reports page showing gallery link (no longer opens new tab):
Reports with Gallery Link

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Link the screenshot gallery in the menu

Open the detail page in the same page with the menu on the left - also gallery


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Link screenshot gallery in the menu Add navigation sidebar to gallery and subdomain detail pages Dec 17, 2025
Copilot AI requested a review from The-XSS-Rat December 17, 2025 15:49
@The-XSS-Rat The-XSS-Rat marked this pull request as ready for review December 17, 2025 16:57
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.

2 participants