Skip to content

Staff handle#37

Merged
nnh53 merged 2 commits into
mainfrom
staff-handle
Nov 11, 2025
Merged

Staff handle#37
nnh53 merged 2 commits into
mainfrom
staff-handle

Conversation

@nnh53

@nnh53 nnh53 commented Nov 11, 2025

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings November 11, 2025 19:34
@naming-conventions-bot

Copy link
Copy Markdown

Thank you for following naming conventions! 😻

@nnh53 nnh53 enabled auto-merge (rebase) November 11, 2025 19:34
@nnh53 nnh53 merged commit 8834af0 into main Nov 11, 2025
9 checks passed
@nnh53 nnh53 deleted the staff-handle branch November 11, 2025 19:35

Copilot AI left a comment

Copy link
Copy Markdown

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 enhanced UI components for staff management sections with improved visual design, accessibility features, and filtered count displays.

Key Changes

  • Added description field to tab/filter descriptors across all staff management components
  • Implemented filtered count displays with aria-live announcements
  • Enhanced tab/filter chip styling with custom CSS variables and improved visual states
  • Added aria-pressed attributes and improved accessibility labels for interactive elements

Reviewed Changes

Copilot reviewed 32 out of 32 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/app/features/staff/vehicle-management/vehicle-management.ts Added description to VehicleTabDescriptor interface and filteredCount computed signal
src/app/features/staff/vehicle-management/vehicle-management.scss Redesigned status tabs with grid layout, custom accent colors, and refined visual states
src/app/features/staff/vehicle-management/vehicle-management.html Updated tab structure with description display, count caching, and improved accessibility
src/app/features/staff/staff-dashboard/staff-dashboard.ts Added description to BookingTabDescriptor interface and filteredCount computed signal
src/app/features/staff/staff-dashboard/staff-dashboard.scss Enhanced tab styling with improved visual hierarchy and accessibility
src/app/features/staff/staff-dashboard/staff-dashboard.html Implemented description display and accessibility improvements with aria-label and aria-pressed
src/app/features/staff/renter-management/renter-management.ts Added riskCounts computed signal for risk filter counts
src/app/features/staff/renter-management/renter-management.scss Redesigned filter chips with risk-specific accent colors
src/app/features/staff/renter-management/renter-management.html Added count display and accessibility attributes to filter chips
src/app/features/staff/rental-management/rental-management.ts Added description to RentalTabDescriptor interface and filteredCount computed signal
src/app/features/staff/rental-management/rental-management.scss Enhanced tab styling consistent with other staff components
src/app/features/staff/rental-management/rental-management.html Implemented description display and accessibility improvements
.vscode/settings.json Reformatted with consistent indentation (2 spaces) and added new tool-specific settings
.specify/templates/*.md Added new specification workflow templates for tasks, spec, plan, checklist, and agent files
.specify/scripts/powershell/*.ps1 Added PowerShell automation scripts for feature workflow management
.specify/memory/constitution.md Added project constitution defining core principles and governance
.github/prompts/*.md Added prompt templates for specification workflow commands

[class.status-tab--active]="activeTab() === tab.key"
(click)="onTabSelect(tab.key)"
[attr.aria-pressed]="activeTab() === tab.key"
[attr.aria-label]="tab.label + '. ' + tab.description"

Copilot AI Nov 11, 2025

Copy link

Choose a reason for hiding this comment

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

The aria-label attribute should include the count value to provide complete information to screen reader users. Currently, it only includes the label and description, but the count is important context.

Suggestion: Update to include the count:

[attr.aria-label]="tab.label + '. ' + tab.description + '. ' + counters[tab.counterKey] + ' items'"
Suggested change
[attr.aria-label]="tab.label + '. ' + tab.description"
[attr.aria-label]="tab.label + '. ' + tab.description + '. ' + counters[tab.counterKey] + ' items'"

Copilot uses AI. Check for mistakes.
[class.filter-chip--active]="riskFilter() === filter.key"
(click)="setRiskFilter(filter.key)"
[attr.aria-pressed]="riskFilter() === filter.key"
[attr.aria-label]="filter.label + '. ' + filter.description"

Copilot AI Nov 11, 2025

Copy link

Choose a reason for hiding this comment

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

The aria-label attribute should include the count value to provide complete information to screen reader users. Currently, it only includes the label and description, but the count is important context.

Suggestion: Update to include the count:

[attr.aria-label]="filter.label + '. ' + filter.description + '. ' + counts[filter.key] + ' items'"
Suggested change
[attr.aria-label]="filter.label + '. ' + filter.description"
[attr.aria-label]="filter.label + '. ' + filter.description + '. ' + counts[filter.key] + ' items'"

Copilot uses AI. Check for mistakes.
[class.status-tab--active]="activeTab() === tab.key"
(click)="onTabSelect(tab.key)"
[attr.aria-pressed]="activeTab() === tab.key"
[attr.aria-label]="tab.label + '. ' + tab.description"

Copilot AI Nov 11, 2025

Copy link

Choose a reason for hiding this comment

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

The aria-label attribute should include the count value to provide complete information to screen reader users.

Suggestion: Update to include the count:

[attr.aria-label]="tab.label + '. ' + tab.description + '. ' + counters[tab.counterKey] + ' items'"
Suggested change
[attr.aria-label]="tab.label + '. ' + tab.description"
[attr.aria-label]="tab.label + '. ' + tab.description + '. ' + counters[tab.counterKey] + ' items'"

Copilot uses AI. Check for mistakes.
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