Skip to content

[Search] Disable "send to background" when auto-refresh is enabled#84106

Merged
Dosant merged 2 commits intoelastic:masterfrom
Dosant:dev/search/disable-send-to-background-ui-when-refresh-interval
Dec 2, 2020
Merged

[Search] Disable "send to background" when auto-refresh is enabled#84106
Dosant merged 2 commits intoelastic:masterfrom
Dosant:dev/search/disable-send-to-background-ui-when-refresh-interval

Conversation

@Dosant
Copy link
Copy Markdown
Contributor

@Dosant Dosant commented Nov 23, 2020

Summary

Part of #83640
Build on top of #83073

We agreed that (at least for now) we are going to disable sending to background in case refresh interval is enabled.
This pr adds a new disabled state, which disabled button that opens a controls popover.

Screenshot 2020-11-24 at 11 20 08

I made this check on connected component level. Don't see a reason for know to move it inside the service + can't make timefilter a dependency of session service.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@Dosant Dosant added Feature:Search Querying infrastructure in Kibana v8.0.0 Team:AppServices release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Nov 23, 2020
@Dosant Dosant changed the title [Search] Disabled "send to background" when auto-refresh is enabled [Search] Disable "send to background" when auto-refresh is enabled Nov 23, 2020
@Dosant Dosant mentioned this pull request Nov 23, 2020
38 tasks
@gchaps
Copy link
Copy Markdown
Contributor

gchaps commented Nov 23, 2020

I suggest:

Send to background is not available when auto refresh is enabled.

@Dosant Dosant force-pushed the dev/search/disable-send-to-background-ui-when-refresh-interval branch from 631b3bf to 3f73adb Compare December 1, 2020 15:37
@Dosant Dosant marked this pull request as ready for review December 1, 2020 15:39
@Dosant Dosant requested a review from a team as a code owner December 1, 2020 15:39
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@Dosant Dosant requested review from lizozom and lukasolson December 1, 2020 15:40
Copy link
Copy Markdown
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

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

LGTM

Reviewed the code and locally tested the functionality from the branch

@Dosant
Copy link
Copy Markdown
Contributor Author

Dosant commented Dec 2, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
dataEnhanced 27.6KB 27.7KB +64.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
dataEnhanced 35.1KB 36.0KB +892.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@Dosant Dosant merged commit 5354008 into elastic:master Dec 2, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Dec 2, 2020
* master: (72 commits)
  Make alert status fetching more resilient (elastic#84676)
  [APM] Refactor hooks and context (elastic#84615)
  Added word break styles to the texts in the item details card. (elastic#84654)
  [Search] Disable "send to background" when auto-refresh is enabled (elastic#84106)
  Add readme for new palette service (elastic#84512)
  Make all providers to preserve original URL when session expires. (elastic#84229)
  [Lens] Show color in flyout instead of auto (elastic#84532)
  [Lens] Use index pattern through service instead of reading saved object (elastic#84432)
  Make it possible to use Kibana anonymous authentication provider with ES anonymous access. (elastic#84074)
  TelemetryCollectionManager: Use X-Pack strategy as an OSS overwrite (elastic#84477)
  migrate away from rest_total_hits_as_int (elastic#84508)
  [Input Control] Custom renderer (elastic#84423)
  Attempt to more granularly separate App Search vs Workplace Search vs shared GitHub notifications (elastic#84713)
  [Security Solutino][Case] Case connector alert UI (elastic#82405)
  [Maps] Support runtime fields in tooltips (elastic#84377)
  [CCR] Fix row actions in follower index and auto-follow pattern tables (elastic#84433)
  [Enterprise Search] Migrate shared Indexing Status component (elastic#84571)
  [maps] remove fields from index-pattern test artifacts (elastic#84379)
  Add routes for use in Sources Schema (elastic#84579)
  Changes UI links for drilldowns (elastic#83971)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Search Querying infrastructure in Kibana release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants