Skip to content

feat(ui): add in-app authentication modal and dynamic usage telemetry - #60

Merged
abhirajadhikary06 merged 2 commits into
OBLIQ-in:mainfrom
abhirajadhikary06:dev/ui-auth-modal-and-dynamic-usage
Nov 17, 2026
Merged

abhirajadhikary06 merged 2 commits into
OBLIQ-in:mainfrom
abhirajadhikary06:dev/ui-auth-modal-and-dynamic-usage

Conversation

@abhirajadhikary06

Copy link
Copy Markdown
Member

Summary

  • In-UI Authentication Modal:
    • Replaced native browser prompt() auth entry with a developer-first Authentication Modal in base.html.
    • Supports direct email/password Sign In (POST /v1/auth/login) and new workspace Registration (POST /v1/auth/register).
    • Supports Manual Token / API Key entry (obliq_live_..., obliq_internal_..., or JWT) with interactive "Test Connection" feedback against /v1/dashboard/summary.
    • Displays active session status, masked key prefix/suffix, and a "Sign Out" option.
    • Updates navigation auth indicator with dynamic organization/user identity.
  • Dynamic Observability & Telemetry:
    • Replaced hardcoded KPI delta percentages, static throughput indexes, and mock SLAs in usage.html with dynamically computed values from live /v1/dashboard/summary telemetry.
    • Added backend endpoint GET /v1/dashboard/usage/breakdown in src/obliq_api/api/dashboard/__init__.py to aggregate actual job execution outcomes from UsageRecord.
    • Dynamically charts real job breakdown by outcome (Successful, Partial/Degraded, Failed) with live percentages, counts, and graceful empty states.
  • Contract & Regression Safeguards:
    • Maintained all existing test assertions in test_keys_management_and_ui.py (API Keys, Generate New Key, Usage & Observability, API Client SDKs, @obliq/client).
    • Passed all Ruff linting and formatting checks.

@github-actions github-actions Bot added documentation Improvements or additions to documentation or runbooks api Endpoints, request and response contract, versioning labels Nov 17, 2026
@abhirajadhikary06
abhirajadhikary06 merged commit 5304416 into OBLIQ-in:main Nov 17, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Endpoints, request and response contract, versioning documentation Improvements or additions to documentation or runbooks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant