MarksCustomerListComponent paints [class.selected]="selectedCustomer?.customerId === customer.customerId", but selectCustomer() (click / Enter / Space) only calls mapState.toggleCustomerSelection and emits changed. selectedCustomer is written solely by editCustomer().
Result: keyboard or mouse selection ticks the checkbox (map state) while the row never gets .selected. The highlight only appears if something calls editCustomer, which the template never does (the edit button is a routerLink).
`MarksCustomerListComponent` paints `[class.selected]="selectedCustomer?.customerId === customer.customerId"`, but `selectCustomer()` (click / Enter / Space) only calls `mapState.toggleCustomerSelection` and emits `changed`. `selectedCustomer` is written solely by `editCustomer()`.
Result: keyboard or mouse selection ticks the checkbox (map state) while the row never gets `.selected`. The highlight only appears if something calls `editCustomer`, which the template never does (the edit button is a `routerLink`).
Characterization: `marks-customer-list.html-leftovers.spec.ts`.
Resolved in spikersoft-angular PR #818 (merged to master). Row .selected now follows map-state checkbox selection so click/Enter/Space highlight the row. Closing.
Resolved in spikersoft-angular [PR #818](https://git.spikersoft.com/spikerj/spikersoft-angular/pulls/818) (merged to `master`). Row `.selected` now follows map-state checkbox selection so click/Enter/Space highlight the row. Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
MarksCustomerListComponentpaints[class.selected]="selectedCustomer?.customerId === customer.customerId", butselectCustomer()(click / Enter / Space) only callsmapState.toggleCustomerSelectionand emitschanged.selectedCustomeris written solely byeditCustomer().Result: keyboard or mouse selection ticks the checkbox (map state) while the row never gets
.selected. The highlight only appears if something callseditCustomer, which the template never does (the edit button is arouterLink).Characterization:
marks-customer-list.html-leftovers.spec.ts.Resolved in spikersoft-angular PR #818 (merged to
master). Row.selectednow follows map-state checkbox selection so click/Enter/Space highlight the row. Closing.