Skip to content

Conversation

mirceahasegan
Copy link
Contributor

Checklist


Proposed solution

Trigger prices fetch only if the session is active (pollController$ emits true)

Testing

Manual testing on Chrome and Firefox.

@mirceahasegan mirceahasegan requested a review from a team as a code owner September 30, 2025 13:59
@mirceahasegan mirceahasegan self-assigned this Sep 30, 2025
@mirceahasegan mirceahasegan force-pushed the fix/lw-13660-query-prices-only-when-active branch from 9c39a02 to 233b97b Compare September 30, 2025 14:01
@lace-bot
Copy link
Collaborator

lace-bot commented Sep 30, 2025

Allure Report

allure-report-publisher generated test report!

processReports: ✅ test report for 59be2d5d

passed failed skipped flaky total result
Total 33 0 4 0 37

Copy link
Member

@mkazlauskas mkazlauskas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

cacheNamiMetadataSubscription({ walletManager, walletRepository });

export const wallet$ = walletManager.activeWallet$;
export const isSessionActive$ = pollController$.asObservable();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: it would be better to export it from a separate ts module (like poll-controller.ts) because it's not really part of the wallet, especially now when it's also used by other service

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done here: 61e2b5d

@mirceahasegan mirceahasegan force-pushed the fix/lw-13660-query-prices-only-when-active branch from 61e2b5d to 59be2d5 Compare October 1, 2025 10:15
@mirceahasegan mirceahasegan enabled auto-merge (squash) October 1, 2025 10:15
Copy link

sonarqubecloud bot commented Oct 1, 2025

@mirceahasegan mirceahasegan merged commit 5308071 into main Oct 1, 2025
27 checks passed
@mirceahasegan mirceahasegan deleted the fix/lw-13660-query-prices-only-when-active branch October 1, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants