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

Hide incompatible index patterns #354

Merged

Conversation

Kapian1234
Copy link
Contributor

@Kapian1234 Kapian1234 commented Oct 17, 2024

Description

before:
Screenshot 2024-10-17 at 17 13 59
Screenshot 2024-10-17 at 17 14 15

after:
Screenshot 2024-10-17 at 17 12 52
Screenshot 2024-10-17 at 17 13 11

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test.
  • New functionality has user manual doc added.
  • Commits are signed per the DCO using --signoff.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@@ -5,7 +5,7 @@

import React, { useCallback, useMemo, useState, useEffect, useRef } from 'react';
import { i18n } from '@osd/i18n';

import { EuiComboBoxOptionOption } from '@elastic/eui';
Copy link
Member

Choose a reason for hiding this comment

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

This new import seems is not used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes I'll delete it

Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Kapian1234 <[email protected]>
CHANGELOG.md Outdated
- feat: expose a general function for agent execution([268](https://github.com/opensearch-project/dashboards-assistant/pull/268))
- Fix CVE-2024-4067 ([#269](https://github.com/opensearch-project/dashboards-assistant/pull/269))
- feat: add a dashboards-assistant trigger in query editor([265](https://github.com/opensearch-project/dashboards-assistant/pull/265))
- fix: make sure $schema always added to LLM generated vega json object([#252](https://github.com/opensearch-project/dashboards-assistant/pull/252))
- fix: make sure \$schema always added to LLM generated vega json object([#252](https://github.com/opensearch-project/dashboards-assistant/pull/252))
Copy link
Member

Choose a reason for hiding this comment

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

Let's revert unrelated changes

CHANGELOG.md Outdated
@@ -52,3 +52,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Refactor popover to add message action bar and add metrics to thumb-up and thumb-down([#304](https://github.com/opensearch-project/dashboards-assistant/pull/304))
- Support log pattern analysis ([#339](https://github.com/opensearch-project/dashboards-assistant/pull/339))
- Pass top N log pattern data from alerting to agent ([#341] (https://github.com/opensearch-project/dashboards-assistant/pull/341))
- Hide incompatible index patterns ([#354] (https://github.com/opensearch-project/dashboards-assistant/pull/354))
Copy link
Member

Choose a reason for hiding this comment

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

move this to Unreleased

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

label: 'Index patterns',
options: [
{
label: 'No supported index patterns',
Copy link
Collaborator

Choose a reason for hiding this comment

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

i18n

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry I forgot it

@ruanyl ruanyl added the backport 2.x Trigger the backport flow to 2.x label Oct 18, 2024
@ruanyl ruanyl merged commit e3ec245 into opensearch-project:main Oct 21, 2024
9 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 21, 2024
* Display a message when there is no supported data source

Signed-off-by: Kapian1234 <[email protected]>

* filter out incompatible index patterns

Signed-off-by: Kapian1234 <[email protected]>

* Display a message when there is no supported data source

Signed-off-by: Kapian1234 <[email protected]>

* remove log

Signed-off-by: Kapian1234 <[email protected]>

* remove unused import

Signed-off-by: Kapian1234 <[email protected]>

* add changelog

Signed-off-by: Kapian1234 <[email protected]>

* modify changelog

Signed-off-by: Kapian1234 <[email protected]>

* resolve some issues

Signed-off-by: Kapian1234 <[email protected]>

---------

Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Jincheng Wan <[email protected]>
(cherry picked from commit e3ec245)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
ruanyl pushed a commit that referenced this pull request Oct 21, 2024
* Display a message when there is no supported data source

Signed-off-by: Kapian1234 <[email protected]>

* filter out incompatible index patterns

Signed-off-by: Kapian1234 <[email protected]>

* Display a message when there is no supported data source

Signed-off-by: Kapian1234 <[email protected]>

* remove log

Signed-off-by: Kapian1234 <[email protected]>

* remove unused import

Signed-off-by: Kapian1234 <[email protected]>

* add changelog

Signed-off-by: Kapian1234 <[email protected]>

* modify changelog

Signed-off-by: Kapian1234 <[email protected]>

* resolve some issues

Signed-off-by: Kapian1234 <[email protected]>

---------

Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Jincheng Wan <[email protected]>
(cherry picked from commit e3ec245)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Trigger the backport flow to 2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants