Skip to content

[Search] Remove global empty state redirect#237612

Merged
seialkali merged 6 commits intoelastic:mainfrom
seialkali:remove-global-empty-state-redirect
Oct 9, 2025
Merged

[Search] Remove global empty state redirect#237612
seialkali merged 6 commits intoelastic:mainfrom
seialkali:remove-global-empty-state-redirect

Conversation

@seialkali
Copy link
Contributor

@seialkali seialkali commented Oct 6, 2025

Summary

This PR replaces the current behavior of redirecting users from the home page to the create index/global empty state when no index has been created. Users will now land on the home page as an entry point, whether or not an index is created.

Demo

remove.global.empty.state.redirect.mov

Acceptance criteria

  • The default Kibana entry point for all users is the home page
  • Remove any logic around the global empty state that redirects users to the create index page
  • No other changes to the home page or create index page are necessary for this issue to be completed

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

Release note

Users will now land on the Elasticsearch home page by default instead of being redirected to the create index page. This ensures immediate access to tutorials and educational content, improving discoverability of Kibana features while removing the previous global empty state redirect.

@seialkali seialkali requested review from a team as code owners October 6, 2025 10:58
Copy link
Contributor

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

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

test helpers update in x-pack/platform/test LGTM

@seialkali seialkali force-pushed the remove-global-empty-state-redirect branch from 85a11d9 to 16da545 Compare October 6, 2025 11:09
@seialkali seialkali changed the title Remove global empty state redirect Oct 6, 2025
@seialkali seialkali force-pushed the remove-global-empty-state-redirect branch from 9a913ad to 5aabd83 Compare October 6, 2025 14:22
@kc13greiner kc13greiner self-requested a review October 6, 2025 21:59
Copy link
Contributor

@kc13greiner kc13greiner left a comment

Choose a reason for hiding this comment

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

LGTM!

@seialkali seialkali force-pushed the remove-global-empty-state-redirect branch 2 times, most recently from c52fcfb to 9d7fdd4 Compare October 7, 2025 16:42
@seialkali seialkali requested a review from a team as a code owner October 7, 2025 16:42
@seialkali seialkali force-pushed the remove-global-empty-state-redirect branch from 9d7fdd4 to 1275516 Compare October 7, 2025 16:50
@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod bot requested a review from a team as a code owner October 7, 2025 17:10
Copy link
Member

@efegurkan efegurkan left a comment

Choose a reason for hiding this comment

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

Search changes LGTM.

Code review only

@seialkali seialkali force-pushed the remove-global-empty-state-redirect branch from 947ccc7 to 3e9005d Compare October 8, 2025 15:22
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
searchHomepage 255 253 -2
searchIndices 339 335 -4
total -6

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/deeplinks-search 21 20 -1
searchIndices 19 14 -5
total -6

Async chunks

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

id before after diff
enterpriseSearch 947.7KB 947.6KB -44.0B
searchHomepage 146.3KB 144.4KB -1.8KB
searchIndices 202.2KB 193.4KB -8.8KB
total -10.6KB

Page load bundle

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

id before after diff
searchIndices 9.5KB 8.9KB -620.0B
serverlessSearch 29.8KB 29.6KB -160.0B
total -780.0B
Unknown metric groups

API count

id before after diff
@kbn/deeplinks-search 21 20 -1
searchIndices 19 14 -5
total -6

async chunk count

id before after diff
searchIndices 6 4 -2

History

Copy link
Contributor

@Bamieh Bamieh left a comment

Choose a reason for hiding this comment

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

core + telemetry cahnges lgtm

@seialkali seialkali merged commit cc7a0bf into elastic:main Oct 9, 2025
12 checks passed
rylnd pushed a commit to rylnd/kibana that referenced this pull request Oct 17, 2025
## Summary

This PR replaces the current behavior of redirecting users from the home
page to the create index/global empty state when no index has been
created. Users will now land on the home page as an entry point, whether
or not an index is created.

### Demo


https://github.com/user-attachments/assets/ec2a782b-6870-44fe-ad20-3cecaa87f63f

### Acceptance criteria

- [ ] The default Kibana entry point for all users is the home page
- [ ] Remove any logic around the global empty state that redirects
users to the create index page
- [ ] No other changes to the home page or create index page are
necessary for this issue to be completed

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] ~Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~
- [ ]
~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials~
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] ~If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~
- [ ] ~This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.~
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] ~Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.~

## Release note

Users will now land on the Elasticsearch home page by default instead of
being redirected to the create index page. This ensures immediate access
to tutorials and educational content, improving discoverability of
Kibana features while removing the previous global empty state redirect.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Oct 27, 2025
## Summary

This PR replaces the current behavior of redirecting users from the home
page to the create index/global empty state when no index has been
created. Users will now land on the home page as an entry point, whether
or not an index is created.

### Demo


https://github.com/user-attachments/assets/ec2a782b-6870-44fe-ad20-3cecaa87f63f

### Acceptance criteria

- [ ] The default Kibana entry point for all users is the home page
- [ ] Remove any logic around the global empty state that redirects
users to the create index page
- [ ] No other changes to the home page or create index page are
necessary for this issue to be completed

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] ~Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~
- [ ]
~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials~
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] ~If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~
- [ ] ~This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.~
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] ~Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.~

## Release note

Users will now land on the Elasticsearch home page by default instead of
being redirected to the create index page. This ensures immediate access
to tutorials and educational content, improving discoverability of
Kibana features while removing the previous global empty state redirect.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

8 participants