Skip to content

RI-7372: make "Manage indexes" a panel #4877

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KrumTy
Copy link
Collaborator

@KrumTy KrumTy commented Aug 19, 2025

Description

  • changes Manage indexes from a flyout to a panel
  • Saved Queries / Manage indexes panels are mutually exclusive
  • some refactoring to the way events are logged for the two panels
Before After
Screenshot 2025-08-19 at 17 25 46 Screenshot 2025-08-19 at 17 25 23

},
})
}
}, [])
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no dependencies as it's explicitly meant to run once per mount as per usage

Comment on lines +7 to +13
export const useTelemetryMountEvent = (
onMountEvent: TelemetryEvent,
onUnmountEvent?: TelemetryEvent,
eventData?: EventData,
) => {
const { instanceId } = useParams<{ instanceId: string }>()

Copy link
Collaborator Author

@KrumTy KrumTy Aug 19, 2025

Choose a reason for hiding this comment

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

this encapsulates some event tracking logic that was previously linked to various click events and split across components.
The use case - when expanding/collapsing the right panel, an event should be logged

Copy link
Contributor

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 81.9% 19700/24054
🟡 Branches 67.22% 8546/12714
🟡 Functions 75.96% 5222/6875
🟢 Lines 82.33% 19285/23424

Test suite run success

5072 tests passing in 667 suites.

Report generated by 🧪jest coverage report action from 6c32fba

@KrumTy KrumTy marked this pull request as ready for review August 19, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant