potiuk opened a new pull request, #24:
URL: https://github.com/apache/comdev/pull/24

   Fixes two issues on the PonyMail MCP authentication success page 
(`resultPage` in `mcp/ponymail-mcp/auth.js`).
   
   ### 1. Unreadable text in dark mode
   The dark-mode media query only recolored `body`. The `.card` kept its light 
green/red background, while paragraph text inherited the light body color 
(`#ddd`) — rendering as light-on-light and merging into the background. The 
card now switches background and text color together via CSS custom properties 
(`--card-bg`, `--text`, `--accent`), reusing the same dark palette already used 
on the main auth page.
   
   ### 2. "Close tab" button did nothing
   `window.close()` is blocked by browsers for any tab the user navigated to — 
only script-opened tabs may self-close. This cannot be forced, so the button 
now fails gracefully: if the tab is still open shortly after the attempt, the 
button is hidden and a "press Ctrl/Cmd + W" hint is shown instead of leaving a 
dead button.
   
   Tested: `node -c auth.js` passes; existing test suite (43 tests) green.
   
   Generated-by: Claude Code 2.1.158 (Claude Opus 4.8)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to