-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Chore: Remove disused shapeAdditions * Refactor: Move configuration into the scene * Chore: Remove disused dispatch * Refactor: move out DOM helper not coupled with layout functions * Chore: make node id generation idempotent * Refactor: Remove selectReduce * Refactor: code alignment with data flow (selector hierarchy) * Refactor: reduced API surface area * Refactor: trivially split state.js * Refactor: simplify `select` * Refactor: extract out workpadPage components * Refactor: rename dag_start * Chore: make todo more salient * Fix: remove chance of collision (two subsequent large random integers may equal) * Chore: split the two captured variables to their own `let`
- Loading branch information
Showing
19 changed files
with
302 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import { select } from './select'; | ||
|
||
// serves as reminder that we start with the state | ||
// todo remove it as we add TS annotations (State) | ||
const state = d => d; | ||
|
||
const getScene = state => state.currentScene; | ||
export const scene = select(getScene)(state); | ||
|
||
const getPrimaryUpdate = state => state.primaryUpdate; | ||
export const primaryUpdate = select(getPrimaryUpdate)(state); |
Oops, something went wrong.