Auth Required
Bug button hidden from non-logged-in visitors
3-Way Email
Admins + Client + Reporter all get copies
Ticket Tracking
Every report creates a SupportTicket record
═══════════════════════════════════════════════════════════════
ILS BUG REPORT SYSTEM — PATCH v2.0
Security & Feature Update
Date: 11/3/2026
═══════════════════════════════════════════════════════════════
Dear Development Team,
This patch addresses critical improvements to the ILS Bug Report
integration deployed on your client site. Please apply these
changes as soon as possible.
────────────────────────────────────────────────────────────────
WHAT'S CHANGED (v2.0)
────────────────────────────────────────────────────────────────
1. SECURITY: Authentication Required
- The bug report button now ONLY displays for logged-in users
- Non-authenticated visitors will NOT see:
• The bug report floating icon
• The maintenance plan CTA/adware
- This prevents public visitors from being confused or
distracted by internal tooling
2. EMAIL DISTRIBUTION
- Bug reports are now emailed to THREE parties:
a) ILS Admin team (always)
b) Client admin email (configurable per site)
c) The reporter who submitted the bug (if logged in)
3. TICKET TRACKING
- Every bug report now creates a SupportTicket record in
the ILS AdminSupport dashboard
- Tickets include: reporter name, email, page URL,
client site name, attachments, and screenshots
────────────────────────────────────────────────────────────────
REQUIRED CHANGES TO YOUR LAYOUT.JS
────────────────────────────────────────────────────────────────
Open your site's Layout.js and make the following changes:
STEP 1: Add authentication check state
Add this to your component's state declarations:
const [isAuthenticated, setIsAuthenticated] = useState(false);
STEP 2: Add authentication check effect
Add this useEffect (BEFORE the bug report status check):
useEffect(() => {
const checkAuth = async () => {
try {
const authed = await base44.auth.isAuthenticated();
setIsAuthenticated(authed);
} catch {
setIsAuthenticated(false);
}
};
checkAuth();
}, []);
STEP 3: Gate the bug report status check behind authentication
Change your bug report status useEffect to only run when
authenticated:
useEffect(() => {
if (!isAuthenticated) return;
// ... existing bug report status check code ...
}, [isAuthenticated]);
STEP 4: Update the render condition
BEFORE (old):
{bugReportEnabled && !isAdminPage && (
AFTER (new):
{isAuthenticated && bugReportEnabled && !isAdminPage && (
STEP 5: REMOVE the maintenance CTA block entirely
Delete the entire block that shows the maintenance plan
upsell alert to non-authenticated users:
{!bugReportEnabled && !maintenancePlanActive && !isAdminPage && (
... entire maintenance CTA block ...
)}
This block should be completely removed. Non-authenticated
users should see nothing.
────────────────────────────────────────────────────────────────
NO OTHER CHANGES REQUIRED
────────────────────────────────────────────────────────────────
The backend function (sendBugReportEmail) has been updated on
the ILS central server. Since your client site calls the central
API, the new email distribution and ticket creation features
work automatically — no client-side backend changes needed.
────────────────────────────────────────────────────────────────
VERIFICATION CHECKLIST
────────────────────────────────────────────────────────────────
After applying the patch, verify:
[ ] Visit the site while logged OUT
→ No bug report icon should appear
→ No maintenance CTA should appear
[ ] Log in as any user
→ Bug report icon appears (if enabled in ILS AdminSettings)
[ ] Submit a test bug report
→ Email received by ILS admin
→ Email received by client admin (if configured)
→ Email received by the logged-in reporter
→ Ticket visible in ILS AdminSupport dashboard
[ ] Check ILS AdminSupport page
→ New ticket shows reporter name, email, page URL
→ Client site name badge is visible
────────────────────────────────────────────────────────────────
QUESTIONS OR ISSUES?
────────────────────────────────────────────────────────────────
Contact: independentlogisticsservices@gmail.com
Admin Dashboard: https://ils.base44.app/AdminSettings
Thank you for keeping your integration up to date!
— Independent Logistics Services