[CANVAS] Moves notify to a canvas service#63268
Conversation
|
Pinging @elastic/kibana-canvas (Team:Canvas) |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
poffdeluxe
left a comment
There was a problem hiding this comment.
looks good -- minor questions. One thing you'll want to check (if you haven't already) is both of the canvas storybook sets. I'm pretty sure lib/notify is a module we mock out manually via module replacement
| const mergeProps = (stateProps, dispatchProps, ownProps) => { | ||
| const mergeProps = ( | ||
| stateProps: ReturnType<typeof mapStateToProps>, | ||
| dispatchProps: ReturnType<typeof mapDispatchToProps>, |
| }; | ||
|
|
||
| export const AssetManager = compose( | ||
| export const AssetManager = compose<any, any>( |
|
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…bana into ingest-node-pipeline/open-flyout-create-edit * 'feature/ingest-node-pipelines' of github.com:elastic/kibana: (116 commits) [Ingest Node Pipelines] More lenient treatment of on-failure value (elastic#64411) Report Deletion via UI- functional test (elastic#64031) Bump handlebars dependency from 4.5.3 to 4.7.6 (elastic#64402) [Uptime] Update TLS settings (elastic#64111) [alerting] removes usage of any throughout Alerting Services code (elastic#64161) [CANVAS] Moves notify to a canvas service (elastic#63268) [Canvas] Misc NP Stuff (elastic#63703) update apm index pattern (elastic#64232) Task/hostlist pagination (elastic#63722) [NP] Vega migration (elastic#63849) Move ensureDefaultIndexPattern into data plugin (elastic#63100) [Fleet] Fix agent status count to not include unenrolled agents (elastic#64106) Migrate graph_workspace saved object registration to Kibana platform (elastic#64157) Index pattern management UI -> TypeScript and New Platform Ready (edit_index_pattern) (elastic#64184) [ML] EuiDataGrid ml/transform components. (elastic#63447) [ML] Moving to kibana capabilities (elastic#64057) Move input_control_vis into NP (elastic#63333) remove reference to local application service in graph (elastic#64288) KQL removes leading zero and breaks query (elastic#62748) [FieldFormats] Cleanup: rename IFieldFormatType -> FieldFormatInstanceType (elastic#64193) ...
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
* Moves notify to a canvas service * Typecheck fix
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
This moves what was previously
lib/notify, which has a dependency oncore.notificationsinto a "service".Services will start and stop as part of the Canvas mount/unmount process.
The services are also added onto the top level React Context, so they are easily accessible by components.