Skip to content

Conversation

@m4dm4rtig4n
Copy link
Contributor

Summary

Add eye icon button to show/hide password in the login form for improved user experience.

Changes

  • Import Eye/EyeOff icons from lucide-react
  • Add showPassword state to manage visibility
  • Replace password input with relative positioned wrapper containing toggle button
  • Support dark mode with hover states and proper aria-label

🤖 Generated with Claude Code

Clément VALENTIN and others added 6 commits December 2, 2025 09:01
- Add horizontal scroll navigation with chevron buttons for AdminTabs
- Implement flex-1 layout for tabs to fill available width on large screens
- Add smooth scrolling and scroll state detection for small screens
- Ensure tab borders align with main content container
- Update all tab components (AdminTabs, ApiDocsTabs, ConsumptionTabs) for consistency

🤖 Generated with Claude Code

Co-Authored-By: Claude <[email protected]>
- Add horizontal scroll navigation with chevron buttons for AdminTabs
- Implement flex-1 layout for tabs to fill available width on large screens
- Add smooth scrolling and scroll state detection for small screens
- Ensure tab borders align with main content container
- Update all tab components (AdminTabs, ApiDocsTabs, ConsumptionTabs)

🤖 Generated with Claude Code

Co-authored-by: Clément VALENTIN <[email protected]>
Co-authored-by: Claude <[email protected]>
…g UI (#43)

Fixed NameError in /admin/stats endpoint caused by missing cache_service import.
Added proper loading state using LoadingOverlay component with blur effect.
Extended LoadingOverlay to support 'admin' data type with appropriate messages.

🤖 Generated with Claude Code

Co-authored-by: Clément VALENTIN <[email protected]>
Co-authored-by: Claude <[email protected]>
The previous package-lock.json was missing tree-sitter dependencies
([email protected] and [email protected]), causing `npm ci` to fail
during Docker builds with the error "package.json and package-lock.json
are not in sync".

This regenerates the lock file to include all required dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Clément VALENTIN <[email protected]>
Co-authored-by: Claude <[email protected]>
Add eye icon button to show/hide password in the login form for better UX.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copilot AI review requested due to automatic review settings December 3, 2025 00:50
Reverts accidental removal of tree-sitter peer dependencies that broke npm ci in CI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds a password visibility toggle to the login form and includes several additional improvements to the admin interface and tab navigation components.

Key Changes

  • Added password visibility toggle with eye/eye-off icons on the login page
  • Implemented loading and error states for the Admin dashboard
  • Enhanced tab navigation with responsive layouts and horizontal scrolling for AdminTabs

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
apps/web/src/pages/Login.tsx Added password visibility toggle with state management and accessibility features
apps/web/src/pages/Admin.tsx Added loading and error state handling with LoadingOverlay component
apps/web/src/components/LoadingOverlay.tsx Added 'admin' dataType support for admin page loading states
apps/web/src/components/ConsumptionTabs.tsx Restructured layout with container wrapper and improved responsive design
apps/web/src/components/ApiDocsTabs.tsx Restructured layout consistent with other tab components
apps/web/src/components/AdminTabs.tsx Added horizontal scroll functionality with scroll indicators and improved layout
apps/web/package-lock.json Updated TypeScript ESLint packages from 8.48.0 to 8.48.1 and other minor dependency updates
apps/api/src/routers/admin.py Added cache_service import for cache management functionality
Files not reviewed (1)
  • apps/web/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +40 to +44
useEffect(() => {
checkScroll()
window.addEventListener('resize', checkScroll)
return () => window.removeEventListener('resize', checkScroll)
}, [])
Copy link

Copilot AI Dec 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The useEffect hook should include visibleTabs in its dependency array. When the visible tabs change (e.g., due to permission changes), the scroll state should be recalculated. Consider adding checkScroll to the dependency array and ensuring it's properly memoized with useCallback, or add visibleTabs to trigger recalculation when tabs visibility changes.

Copilot uses AI. Check for mistakes.
@m4dm4rtig4n m4dm4rtig4n merged commit 3641ab3 into main Dec 3, 2025
4 checks passed
@m4dm4rtig4n m4dm4rtig4n deleted the show-password-toggle branch December 18, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants