Skip to content

DevIndex: Apply load mask for initial Turbo Mode soft hydration #9330

@tobiu

Description

@tobiu

In Turbo Mode (autoInitRecords: false), the first time a filter is applied (e.g. searching by username, selecting a country, toggling the automation filter), the Store must perform a full "Soft Hydration" pass over all raw data objects (50k+ records). This synchronous operation blocks the App Worker, causing the UI to freeze momentarily without visual feedback.

Similar to the examples/grid/bigData implementation, we need to apply a non-blocking UI update pattern (setting isLoading = 'Is Loading' and yielding the thread via await this.timeout(5)) before triggering the first heavy store mutation.

This should be applied in DevIndex.view.home.MainContainerController to:

  • onFilterChange
  • onHideAutomationChange
  • onHireableChange

A firstFiltering boolean flag should be introduced to track and only apply the delay on the initial, most expensive pass.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions