refactor(dashboard): change SpawnModal from overlay modal to dropdown

Position the spawn modal directly under the 'New Agent' button without a
blur overlay. Uses click-outside dismissal and absolute positioning.
Reduces visual disruption for quick agent spawning.
This commit is contained in:
teernisse
2026-02-26 17:10:41 -05:00
parent 7a9d290cb9
commit baa712ba15
42 changed files with 86 additions and 61 deletions

View File

@@ -6,7 +6,6 @@ Edge cases are prioritized over happy paths.
import json
import os
import sys
import tempfile
import types
import unittest
@@ -193,7 +192,7 @@ class TestAtomicWrite(unittest.TestCase):
path.write_text('{"original": "data"}')
# Mock os.replace to fail after the temp file is written
original_replace = os.replace
_original_replace = os.replace # noqa: F841 - documents test setup
def failing_replace(src, dst):
raise PermissionError("Simulated failure")