{% extends "layout.html" %} {% block content %} {# Page header #} Recommendation Workspace Opportunities ! Observed uses the latest known cost basis. Estimated uses heuristic or workload savings. Validated uses dry-run confirmation. {# Summary cards #} {% include "opportunities/_summary_cards.html" %} {# Background jobs banner #} {% if background_jobs_running %} Background work: {% set parts = [] %} {% if running_syncs %}{% set _ = parts.append(running_syncs ~ ' sync' ~ ('s' if running_syncs != 1 else '')) %}{% endif %} {% if running_detections %}{% set _ = parts.append(running_detections ~ ' detection' ~ ('s' if running_detections != 1 else '')) %}{% endif %} {% if running_solutions %}{% set _ = parts.append(running_solutions ~ ' solution' ~ ('s' if running_solutions != 1 else '')) %}{% endif %} {{ parts | join(', ') }} · auto-refresh on {% endif %} {# Hidden trigger for SSE-based auto-refresh (preserves sort order). Use absolute + invisible (not display:none) so programmatic .click() still fires datastar event handlers and sends signals correctly. #} {# Filter controls #} {% include "opportunities/_filter_controls.html" %} {# Loading indicator #} Loading... {# Content area (table or grouped view) #} {% if signals.group in ('project', 'type') %} {% include "opportunities/_grouped.html" %} {% else %} {% include "opportunities/_table.html" %} {% endif %} {# Storage billing opportunities — dedicated table with DDL #} {% include "opportunities/_storage_billing_table.html" %} {# URL state sync #} {% endblock %}
Recommendation Workspace
Observed uses the latest known cost basis.
Estimated uses heuristic or workload savings.
Validated uses dry-run confirmation.