Skip to content

v1.2.0 — Dark Mode

Choose a tag to compare

@Rampim Rampim released this 07 Apr 20:54
· 87 commits to main since this release
37d2ff0

What's New

Dark mode that syncs with your Databricks workspace theme.

Features

  • Three theme modes: Light, Dark, or Follow Databricks workspace
  • Auto-detection: reads workspace appearance preference via the Settings API using user OAuth
  • 22 components migrated to semantic dbx-* CSS tokens for instant theme switching
  • Persistence: theme choice saved in localStorage and restored on reload

Improvements

  • 10s overall deadline on /api/workspace-appearance to prevent stalled requests
  • Depth-bounded _extract_theme to safely parse nested API responses
  • asyncio.get_running_loop() for Python 3.12+ compatibility
  • Hoisted module-level imports, restored Settings default to General section

Fixes

  • Race condition in ThemeContext cleanup (three-state sentinel: undefined/null/string)
  • Auth model: workspace-appearance uses only user OBO token, no SP fallback
  • Stale docstring and hover flash on accordion buttons
  • Portuguese string replaced with English

Closes #8