Skip to content

Conversation

@legrego
Copy link
Member

@legrego legrego commented Oct 17, 2018

Fixes #23168

This PR allows canvas to work in spaces other than the default space by defining a socketBasePath which is used to connect to Canvas's socket.io endpoint.

The socket connection itself does not need to be space-aware. I tested this by creating workpads in several spaces, and they are correctly saved to the correct space every time.

@legrego legrego added WIP Work in progress v7.0.0 v6.5.0 Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// Feature:Security/Spaces Platform Security - Spaces feature labels Oct 17, 2018
@legrego
Copy link
Member Author

legrego commented Oct 17, 2018

@spalger what are your thoughts here? I added a socketBasePath to the base_path_service, but it feels a bit out of place to me.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@w33ble w33ble self-requested a review October 18, 2018 16:56
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@legrego legrego changed the title [WIP] - Fix canvas working in non-default spaces Fix canvas working in non-default spaces Oct 19, 2018
@legrego legrego removed the WIP Work in progress label Oct 19, 2018
@w33ble
Copy link
Contributor

w33ble commented Oct 22, 2018

Simpler fix created in #24369, per this comment. This is no longer something we need for 6.5. We should definitely figure this out soon though.

@legrego
Copy link
Member Author

legrego commented Oct 29, 2018

Closing for now, until we have time to revisit

@legrego legrego closed this Oct 29, 2018
@legrego legrego deleted the spaces/canvas branch April 29, 2019 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Security/Spaces Platform Security - Spaces feature Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t//

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants