Skip to content

Conversation

@davismcphee
Copy link

Summary

This PR fixes a few minor bugs with Discover controls:

  • Fix controlGroupState initialization after page refresh due to TabsStorageManager refactoring to use internal state.
  • Fix issue where switching between ES|QL tabs with controls caused the tabs to refresh, by moving esqlVariables into tab state so it remains isolated per tab.
  • Fix issue where a fetch error was briefly shown after page refresh by ensuring esqlVariables are set when initializing from local storage in TabsStorageManager.
  • Remove getHasReset$ observable and depend on getInitial$ directly (not a bug fix, but a suggested change in my PR feedback).

@stratoula stratoula merged commit 1ad5ca7 into stratoula:controls-in-discover Sep 16, 2025
4 checks passed
@davismcphee davismcphee deleted the discover-controls-fixes branch September 18, 2025 03:42
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.

2 participants