8000 refactor(!): remove browser import by GeekyEggo · Pull Request #114 · elgatosf/streamdeck · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor(!): remove browser import #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: 2.0.0-alpha/dev
Choose a base branch
from

Conversation

GeekyEggo
Copy link
Member

In preparation for @streamdeck/ui, the following breaking changes have been made:

  • Removed browser import.
  • Removed property inspector types.
  • Removed legacy UI message routing.

Additionally, interfacing with the UI has been streamlined:

  • Remove streamDeck.ui.current.
  • Add streamDeck.ui.action to provide current context of the visible action.
  • Add sendToPropertyInspector to ui namespace.

Before:

import streamDeck from "@elgato/streamdeck";
streamDeck.ui.current?.sendToPropertyInspector(...)

After:

import streamDeck from "@elgato/streamdeck";
streamDeck.ui.sendToProperty
8000
Inspector(...)

removes messaging, router, relocates UI controller to top-level, re-introduces sendToPropertyInspector, re-locates current PI (now action) to UI controller.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0