Skip to content

Conversation

@RabbiIslamRony
Copy link
Member

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Security fix
  • Improvement
  • New Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Text changes
  • Other... Please describe:

Description

Improve enquiry table UI/UX: badge, date format, search, bulk actions, and styling

Bug Fixes

  • Changed "new" enquiry badge from warning (orange) to info (blue) variant
  • Fixed "View" and "Send Email" clicks accidentally toggling row checkbox selection (stopPropagation)
  • Fixed table cell vertical alignment not applying due to DataViews default override

Features

  • Added relative date formatting for created_at ("just now", "X minutes ago", "X hours ago", "X days ago", full date after 3 days)
  • Added bulk selection with checkboxes for "Mark as read" and "Delete" actions
  • Checkboxes hidden when only a single item exists
  • Updated search input placeholder to "Search enquiries..."
  • Added delete action icon (trash) as a visible primary action alongside mark-as-read

UI/UX Improvements

  • Styled search input with border, transparent background, and rounded corners
  • Styled action icon buttons (32x32, rounded, subtle hover states, red tint for delete)
  • Added selected row highlight with soft blue background
  • Checkboxes always subtly visible, full opacity on hover/selected
  • Bulk actions footer bar with clean styling
  • Responsive h2 width (auto on screens <= 992px)
  • Applied relative date format in both table listing column and enquiry details modal

Files Changed

  • assets/src/js/formgent-integration/components/Table.js
  • assets/src/js/formgent-integration/components/EnquiryDetailsModal.js
  • assets/src/js/formgent-integration/components/style.js
  • assets/src/js/formgent-integration/index.scss
  • assets/src/js/formgent-integration/utils/enquiryUtils.js
  • Built CSS/JS assets

Any linked issues

Fixes #

Checklist

@RabbiIslamRony RabbiIslamRony self-assigned this Feb 9, 2026
@Armanul46 Armanul46 merged commit 3876979 into sovware:development Feb 9, 2026
1 check passed
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