You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of Phase 1 (1e): migrate embed flags off Redux (#3761)
## Which problem is this PR solving?
- Resolves part of #3657
## Description of the changes
- Implements ADR 0004 Phase 1e (embedded UI flags)
- Problem: embedded was a Redux slice with no actions, only an
initializer reading `window.location.search` once.
- Added `packages/jaeger-ui/src/stores/embedded-store.ts`
- Removed: `reducers/embedded.ts`, its test, and embedded from
`combineReducers` and `ReduxState`.
- Tests: `embedded-store.test.ts`; `Page.test.jsx`,
`SearchTracePage/index.test.jsx`, `TracePage/index.test.jsx` updated.
## How was this change tested?
- Unit tests
- Use a single `?` then `&uiEmbed=v0&...` (a second ? breaks parsing),
e.g. `/search?...&uiEmbed=v0&uiSearchHideGraph=1`.
- load a DDG graph, hover nodes/edges, change service
## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/main/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully: `make lint test`
## AI Usage in this PR (choose one)
See [AI Usage
Policy](https://github.com/jaegertracing/jaeger/blob/main/CONTRIBUTING_GUIDELINES.md#ai-usage-policy).
- [ ] **None**: No AI tools were used in creating this PR
- [ ] **Light**: AI provided minor assistance (formatting, simple
suggestions)
- [x] **Moderate**: AI helped with code generation or debugging specific
parts
- [ ] **Heavy**: AI generated most or all of the code changes
---------
Signed-off-by: Parship Chowdhury <parshipchowdhury@gmail.com>
Signed-off-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Co-authored-by: Yuri Shkuro <github@ysh.us>
0 commit comments