Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2024-05-24 - Missing visual feedback for disabled buttons
**Learning:** Disabled buttons (`<button disabled>`) lack visual cues to indicate their inactive state, leading to potential user confusion when bulk actions are unavailable.
**Action:** Always provide explicit opacity and `cursor: not-allowed;` for `:disabled` interactive elements in the base design system.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:

- name: Intelligence tests
run: |
export MERIDIAN_KERNEL_ROOT="${GITHUB_WORKSPACE}/kernel"
export MERIDIAN_ALLOW_API_SKIP="1"
cd intelligence
python3 -m unittest -v test_gateway_brain_router.py
./scripts/acceptance_publish_live_lane.sh
Expand Down
16 changes: 16 additions & 0 deletions intelligence/company/www/assets/meridian.css
Original file line number Diff line number Diff line change
Expand Up @@ -2361,3 +2361,19 @@ h3 { font-family: var(--display); color: #fff; font-size: 1rem; margin: 1.1rem 0
text-align: left;
}
.hero-install code { font-family: 'JetBrains Mono', monospace; color: inherit; }

/* ── Disabled states ── */
.cta:disabled,
.operator-action:disabled,
.operator-link:disabled {
opacity: 0.5;
cursor: not-allowed;
filter: grayscale(0.5);
}

.cta:disabled:hover,
.operator-action:disabled:hover,
.operator-link:disabled:hover {
transform: none;
box-shadow: none;
}
13 changes: 10 additions & 3 deletions intelligence/meridian_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,18 @@ class MeridianThreadingHTTPServer(ThreadingHTTPServer):
def _resolve_kernel_dir() -> Path:
explicit_root = str(os.environ.get("MERIDIAN_KERNEL_ROOT") or "").strip()
if explicit_root:
return Path(explicit_root) / "kernel"
for root in ("/opt/meridian-kernel", "/home/ubuntu/meridian/kernel"):
candidate = Path(root) / "kernel"
candidate = Path(explicit_root) / "kernel"
if candidate.exists():
return candidate
else:
return Path(explicit_root)
for root in ("/opt/meridian-kernel", "/home/ubuntu/meridian/kernel"):
try:
candidate = Path(root) / "kernel"
if candidate.exists():
return candidate
except PermissionError:
pass
return Path("/opt/meridian-kernel/kernel")


Expand Down
Loading