equinor / equinor/fusion-framework
app: App streams should be distinct-until-changed based on state
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 10
- Avg merge
- 19h 40m
- Merged PRs (30d)
- 150
Description
In `packages/modules/app/src/app/App.ts`, there's a TODO noting that the public streams (`manifest$`, `config$`, etc.) should only emit when the underlying state actually changes:
```ts
// TODO make streams distinct until changed from state
```
Apply a `distinctUntilChanged` (or similar) comparison based on state to avoid redundant emissions.
Contributor guide
Research direction
Start in packages/modules/app/src/app/App.ts and inspect the TODO alongside the public stream definitions and their underlying state. Verify that manifest$, config$, and the other public streams emit only when their state changes, then run the app module's available tests to confirm redundant emissions are removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100