Skip to content

Conversation

@zoldar
Copy link
Contributor

@zoldar zoldar commented Jan 7, 2026

Changes

This change removes async assignment of query result in LV pages breakdown. As we rely on optimistic loading state, async assign is unnecessary and even counterproductive as it requires distinct handling of loading state (phx loading attribute is not set for the duration of loading it, it would have to be done with a hook).

Removal of async assign has uncovered a bug in navigation hook logic which led to intermittent double execution of "handle_params" event when navigating via LV clicks. This bug got addressed as well.

Tests

  • Automated tests have been updated
  • This PR does not require tests

@zoldar zoldar requested a review from RobertJoonas January 7, 2026 13:07
@zoldar zoldar force-pushed the remove-async-result-from-pages branch from 73b80bf to 07d5ecd Compare January 12, 2026 09:30
@zoldar zoldar force-pushed the remove-async-result-from-pages branch from 07d5ecd to a8fd4fc Compare January 12, 2026 09:41
@zoldar zoldar added the preview label Jan 12, 2026
@github-actions
Copy link

Preview environment👷🏼‍♀️🏗️
PR-5989

Copy link
Contributor

@RobertJoonas RobertJoonas left a comment

Choose a reason for hiding this comment

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

Nice! 👌

@zoldar zoldar added this pull request to the merge queue Jan 12, 2026
Merged via the queue into master with commit f1b4391 Jan 12, 2026
20 checks passed
@zoldar zoldar deleted the remove-async-result-from-pages branch January 12, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants