-
Notifications
You must be signed in to change notification settings - Fork 365
NAS-138655 / 26.04 / Sort/Search in app view reset when selecting an app (for the first time) #13057
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Claude finished @AlexKarpov98's task —— View job Code Review Complete! 🎉Great fix for the search/sort state persistence issue! The solution is well-architected and follows best practices by centralizing state management in the store. ✅ What's Working WellThe centralization of 🔍 Issues Found1. Deprecated RxJS operator usage ( The code still uses import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';Should use: import { Injectable, inject, DestroyRef } from '@angular/core';
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
export class InstalledAppsStore extends ComponentStore<InstalledAppsState> {
private destroyRef = inject(DestroyRef);
// Then replace:
untilDestroyed(this)
// with:
takeUntilDestroyed(this.destroyRef)
}2. Duplicate The enum is defined in both Suggestion: Create export enum SortableField {
Application = 'application',
State = 'state',
Updates = 'updates',
}💡 Observations
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #13057 +/- ##
==========================================
- Coverage 86.69% 86.69% -0.01%
==========================================
Files 1847 1847
Lines 69389 69423 +34
Branches 8579 8585 +6
==========================================
+ Hits 60160 60186 +26
- Misses 9229 9237 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mattwyatt-ix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works great!
Testing: see ticket. It only happened on the first action. Now it's fixed.
Preview:
Before:
Screen.Recording.2026-01-02.at.11.11.16.mov
After:
Screen.Recording.2026-01-02.at.11.10.05.mov
Before:
Screen.Recording.2026-01-02.at.11.11.32.mov
After:
Screen.Recording.2026-01-02.at.11.09.45.mov