Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

upgrade @cockroachlabs/admin-ui-components version 0.1.37 #51

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

koorosh
Copy link
Contributor

@koorosh koorosh commented Jan 14, 2021

No description provided.

@koorosh koorosh merged commit 805c9b0 into master Jan 14, 2021
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Jan 19, 2021
58701: ui: statement details import r=koorosh a=koorosh

Related to #57372
Depends on cockroachdb/ui#162
Depends on cockroachdb/yarn-vendored#51

Statement details and Diagnostics view pages are moved out
to `admin-ui-components` package and now they are imported back
as a reusable components.

In addition to changed imports, StatementDetails component now exposes
additional props for Diagnostics view tab. Before, StatementDetails
component used Diagnostics view connected to store and now it uses
pure component. This change were made to provide single point of
integration to redux store (the same way as other components connected).

Tracking analytics functionality for Diagnostics view was initially called directly
from components and now it's refactored out of component and involved
with redux actions and sagas. It was necessary to exclude this logic from pure
components and allow client apps which integrate Statement details to implement
their own logic for tracking analytics if necessary.

TODO:
- [x]  remove all exported components from this code base to avoid duplicates.
- [x]  update `admin-ui-components` package version in `package.json`

Release note: None

Co-authored-by: Andrii Vorobiov <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant