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

[BUG][Disocver] Timefield of an indexPattern would get added to selected field in the side nav when removing a column from the canvas #5527

Closed
MadaniKK opened this issue Nov 21, 2023 · 3 comments
Assignees
Labels
bug Something isn't working discover for discover reinvent v2.12.0

Comments

@MadaniKK
Copy link
Contributor

Describe the bug
Everytime we remove a column from the canvas, the timefield of the indexpattern get added to the selected field in the side nav.
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Discover, selected some columns
  2. Click on 'remove column'
  3. Look at the selected fields in left side bar
  4. See the timestamp/order date column got added to the selected field
    image
    image
    image

Expected behavior
The time field shouldn't get added to the selected field automatically.

OpenSearch Version
Please list the version of OpenSearch being used.
3.0.0

Dashboards Version
Please list the version of OpenSearch Dashboards being used.

Plugins

Please list all plugins currently enabled.

Screenshots

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

Additional context

Add any other context about the problem here.

@MadaniKK MadaniKK added bug Something isn't working untriaged labels Nov 21, 2023
@ananzh ananzh removed the untriaged label Nov 21, 2023
@ananzh ananzh added discover for discover reinvent v2.12.0 labels Nov 21, 2023
@ananzh
Copy link
Member

ananzh commented Nov 21, 2023

@MadaniKK Thanks for opening. I have assigned it to you.

@MadaniKK
Copy link
Contributor Author

I suggest keeping the time column in the side nav bar because it exists in the legacy cover, and when the hide time column is off, we can still add the time column to the selected field and use drag-drop to arrange column order.

@ananzh
Copy link
Member

ananzh commented Dec 22, 2023

Close it as it is resolve in #5538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discover for discover reinvent v2.12.0
Projects
None yet
Development

No branches or pull requests

2 participants