Fix contact form crash, analytics range filter, Scripture Index parsing, and unsafe-delete UI bugs
Publish Container / docker (push) Successful in 13m12s
Publish Container / docker (push) Successful in 13m12s
- server/routes/contact.js: import fireWebhooks (was undefined, throwing on every submission) - server/routes/analytics.js: filter admin-stats by row.at, the field recordVisitor actually sets, instead of the never-populated row.visitedAt - src/App.tsx: parseSIRef now supports chapter-spanning verse ranges (e.g. "5:15-6:2"); SI_BOOK_MAP indexes both spaced and unspaced book names so multi-word Bible Book values from the admin field resolve correctly - src/App.css / src/App.tsx: fix Episodes/Studies nav dropdown menus being unclickable — a positioning gap between the trigger and menu created a hover dead zone; menu is now flush with spacing moved into padding so hover carries through - src/components/StudySectionComments.tsx: check response status before removing a comment locally, so a rejected delete no longer appears to succeed - src/components/QASection.tsx: don't bail out of search scoring for 1-2 character queries, so short substrings like "OT" or "AI" can still match - src/AdminPage.tsx: check response status in study-user, QR code, and episode-script delete handlers before updating local state Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Yvx4rPVy2HWe7ubuk3X3J
This commit is contained in:
1 parent
6ed29ea527
commit
c158fb6317
7 files changed
+76
-27
No files matched your search
+17
-4
@@ -9665,15 +9665,24 @@
|
||||
.nav-dropdown-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: calc(100% + 0.5rem);
|
||||
/* Flush against the trigger (no gap) so the hover state carries continuously
|
||||
from the trigger into the menu — a visual gap here left a dead zone where
|
||||
the mouse exits .nav-dropdown before reaching the menu, closing it before
|
||||
it could be clicked. The 0.5rem of breathing room is added as padding-top
|
||||
(still inside the hoverable box) instead of a position offset. */
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
padding-top: 0.5rem;
|
||||
min-width: 160px;
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
.nav-dropdown-menu-inner {
|
||||
background: rgba(15, 15, 12, 0.98);
|
||||
border: 1px solid rgba(201, 168, 76, 0.25);
|
||||
border-radius: 8px;
|
||||
padding: 0.4rem 0;
|
||||
min-width: 160px;
|
||||
z-index: 200;
|
||||
box-shadow: 0 8px 24px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
@@ -9923,12 +9932,16 @@
|
||||
display: none;
|
||||
position: static;
|
||||
transform: none;
|
||||
padding-top: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.nav-dropdown-menu-inner {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
box-shadow: none;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.nav-dropdown:hover .nav-dropdown-menu {
|
||||
|
||||
Reference in new issue
Block a user