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

Add @cockroachlabs/admin-ui-components@0.1.7 #27

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

koorosh
Copy link
Contributor

@koorosh koorosh commented Jul 30, 2020

No description provided.

@koorosh koorosh force-pushed the koorosh/admin-ui-components-0.1.7 branch from 6d62cd8 to 691d45a Compare July 30, 2020 08:47
@koorosh koorosh merged commit 273b3ac into master Aug 4, 2020
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Aug 5, 2020
51910: ui: use StatementsPage from admin-ui-components r=koorosh a=koorosh

Depends on cockroachdb/admin-ui-components#9
Depends on cockroachdb/yarn-vendored#27
Depends on cockroachdb/yarn-vendored#28

`StatementsPage` component is replaced with previously extracted version of StatementsPage in `admin-ui-components`.
The new version (extracted) of `StatementsPage` has several changes that required to make the following adjustments:
- `ActivateStatementDiagnostics` modal isn't connected components anymore so dispatching actions are pulled up to connected StatementsPage wrapper.
- Previously, analytics functions (which track user interaction) were
called directly from React components that made this functionality tightly coupled.
Now, sagas used to watch actions related to user interaction and then call async logic in sagas.
-- components expose only callback functions which are related to the
the logic component is responsible;
-- connected component is responsible to dispatch actions with proper
payload to be properly then handled by sagas.




Co-authored-by: Andrii Vorobiov <and.vorobiov@gmail.com>
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.

2 participants