Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snapshot & Restore] Links to snapshot table don't activate filter #80373

Closed
yuliacech opened this issue Oct 13, 2020 · 2 comments · Fixed by #80520
Closed

[Snapshot & Restore] Links to snapshot table don't activate filter #80373

yuliacech opened this issue Oct 13, 2020 · 2 comments · Fixed by #80520
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@yuliacech
Copy link
Contributor

Kibana version:
Found on current master branch

Describe the bug:
When inspecting a repository or a policy, there is link to found snapshots, that redirects to the snapshot table. If the link is opened in a new tab, the snapshot table has a filter for repository or policy name active and snapshots are filtered. If the link is clicked directly, the snapshot table doesn't have the filter activated.

Steps to reproduce:

  1. start kibana (yarn start) and elasticsearch with a repo.path setting (yarn es snapshot -E path.repo=./my_repo_test)
  2. Navigate to Stack Management -> Snapshot and Restore and create a repository and a policy.
  3. Run a policy manually with 'Run now' action button.
  4. Open repository or policy detail flyout by clicking on it in the table.
    Click '1 snapshot found' link in repository flyout.

Screenshot 2020-10-13 at 17 02 38

Click snapshot name link in policy flyout.

Screenshot 2020-10-13 at 17 04 11

Expected behavior:
Snapshot table is filtered by repository or policy name. This can be currently achieved by opening the link in a new window.
Screenshot 2020-10-13 at 17 40 13

@yuliacech yuliacech added bug Fixes for quality problems that affect the customer experience Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI labels Oct 13, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@yuliacech
Copy link
Contributor Author

I think this issue is caused by reactRouterNavigate when used with a string (not location object) similar to /snapshots?policy=policyName where query string is not used in navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Snapshot and Restore Elasticsearch snapshots and repositories UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants