Skip to content

Conversation

@jernejk
Copy link
Member

@jernejk jernejk commented Jan 8, 2026

  1. What triggered this change? (PBI link, Email Subject, conversation + reason, etc)

✏️ #1392 extended feedback from Adam.

  1. What was changed?

✏️ Changes based on Adam's feedback.

image

Figure: Changed layout and colors to match latest feedback.

image

Figure: When collapsed, date, time and timezone are in their own lines.

image

Figure: Improved validation design.

  1. Did you do pair or mob programming?

✏️ No.

@jernejk jernejk linked an issue Jan 8, 2026 that may be closed by this pull request
10 tasks
@jernejk jernejk marked this pull request as ready for review January 9, 2026 05:41
Copilot AI review requested due to automatic review settings January 9, 2026 05:41
Copy link
Contributor

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 PR implements UX improvements to the notification creation form based on Adam's feedback. The changes focus on styling consistency, visual layout adjustments, and date formatting.

Key changes:

  • Restructured targeting radio buttons to display inline above their respective dropdowns
  • Added comprehensive CSS rules for input validation states and label styling
  • Updated date formatting to remove comma after day abbreviation
  • Adjusted theme Surface color for visual consistency

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/AdminUI/wwwroot/css/app.css Added CSS variables for validation colors, input padding consistency, label styling overrides, and validation error styling
src/AdminUI/Pages/SendNotification.razor.css Added inline radio button styling, target section spacing adjustments, and component-specific input padding rules
src/AdminUI/Pages/SendNotification.razor Restructured targeting section to split radio buttons into separate groups above their dropdowns, removed unused CSS class
src/AdminUI/Helpers/DateTimeFormatter.cs Removed comma from date format string for cleaner date display
src/AdminUI/AdminPortalMudTheme.cs Updated Surface color from #373740 to #333333 to match DrawerBackground


/* Ensure textarea has proper padding when focused */
textarea.mud-input-slot {
padding: 12px !important;
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

There is redundant padding specification for textarea elements. Lines 65-69 already set padding-left and padding-right to 12px for textarea.mud-input-slot, and then lines 141-143 set padding to 12px for the same selector. The second rule with the shorthand 'padding' property will override the first rule. Consider consolidating these rules to avoid confusion and improve maintainability.

Suggested change
padding: 12px !important;
padding-top: 12px !important;
padding-bottom: 12px !important;

Copilot uses AI. Check for mistakes.
@jernejk jernejk merged commit dbd921d into main Jan 9, 2026
6 checks passed
@jernejk jernejk deleted the 1392-ux-mobile-notifications-ux-improvements-v3-6 branch January 9, 2026 06:07
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.

✨ ✨ UX | Mobile Notifications UX improvements v3 [JK]

3 participants