feat(heureka): implement initial filter URL sync and its filter pill deletion#1196
feat(heureka): implement initial filter URL sync and its filter pill deletion#1196
Conversation
🦋 Changeset detectedLatest commit: 3990197 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
|
I tested. From my understanding, looked good. |
This is addressed in Error handling PR from Taimoor that the app should not crash for such cases. Here is the PR: |
ArtieReus
left a comment
There was a problem hiding this comment.
lgtm. As soon as the other concerns are addressed i can approve it
|
I'll test when resolved, ping. |
…deletion (#1196) * feat(heureka): makes initial filter pill removable * feat(heureka): adds store to track initial filter state across tab navigation * feat(heureka): adds changeset * fix(heureka): pretifies the files * fix(heureka): pretifies the files * fix(heureka): pretifies the files * fix(heureka): fixes prettier issue * fix(heureka): adjust services test * chore(heureka): renames store to StoreProvider to be generic for future uses * chore(heureka): corrects the comment * chore(heureka): improve store prop handling * chore(heureka): handles initialFilter store status in services route component * chore(heureka): fixes some leftovers


Summary
This PR ensures that initial filters are properly added to deep links in Heureka, their pills are removable, and the filter state is correctly maintained when navigating between tabs.
Changes Made
Technical Implementation
InitialFiltersContextto manage initial filter application state across component lifecycleServicesFilterscomponent to use the context store instead of module-level variablesRelated Issues
Testing Instructions
1. Initial Filter Display
f_supportGroupCcrn=containers2. Filter Deletion and Browser Reload
3. Tab Navigation Without Re-application
4. Filter Persistence Between Tabs
Checklist
PR Manifesto
Review the PR Manifesto for best practises.