Skip to content

fix: light mode and enter button

Pilli Murali Krishna requested to merge fix/light-ui-enter-submit into develop

Overview

This MR fixes light mode UI visibility issues in dashboard tabs/cards and adds Enter key submission support for Existing Patient search in Patient Registration.

What does this MR do and why?

  • Fixed inconsistent styling when switching between dark mode and light mode.
  • Improved UI visibility and readability for dashboard tabs/cards.
  • Added keyboard Enter key support for faster patient search submission.
  • Improves overall usability and workflow efficiency on large screens.

Changes Made

  • Updated light mode styling for dashboard components
  • Fixed theme toggle UI inconsistencies
  • Added Enter key submit handling in Patient Registration
  • Improved responsive behavior on desktop screens

Technical Details

  • Added proper conditional theme classes for light/dark mode support
  • Added keyboard event handling for Enter key submission
  • Reused existing submit logic to avoid duplicate functionality

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📝 Documentation update
  • 🎨 UI/UX improvement
  • ️ Refactor (no functional changes)
  • Performance improvement
  • 🧪 Test update
  • 🔧 Configuration change
  • 🚨 Security fix

Related Issues / References

closes #355 (closed)

Screenshots or Screen Recordings

Before After
Light mode UI visibility issue Fixed light mode styling
Enter key not submitting form Enter key triggers search

image image

How to Set Up and Validate Locally

  1. Checkout this branch:
    git checkout fix/light-ui-enter-submit
Edited by Pilli Murali Krishna

Merge request reports

Loading