Skip to content

Expose provider to Devtools and show correct message when Transitions are not supported#628

Closed
henri-hulski wants to merge 2 commits intonextfrom
provider_version
Closed

Expose provider to Devtools and show correct message when Transitions are not supported#628
henri-hulski wants to merge 2 commits intonextfrom
provider_version

Conversation

@henri-hulski
Copy link
Copy Markdown
Member

This PR exposes devtools provider name and version to Devtools, which makes devtools more generic.
It allows to handle things differently depending which provider (and with which version) is sending messages to devtools.
Beside Overmind this could be e.g. Mobx Lite.

The PR also shows the correct message in the Transitions tab when the Overmind version doesn't support transitions.

@henri-hulski henri-hulski requested a review from Copilot May 9, 2025 11:22
@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented May 9, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the devtools integration by exposing provider details (name and version) and updating the messaging in the Transitions tab based on Overmind’s feature support. It also updates dependency versions across multiple packages and adjusts CI workflow configurations.

  • Exposes provider information to devtools in Overmind and devtools client.
  • Updates dependency versions and removes unneeded devDependencies in several package.json files.
  • Adjusts messaging in the StateMachines component and updates CI workflows.

Reviewed Changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/overmind/src/Overmind.ts Introduces provider info; note potential misassignment of version from package.json
packages/overmind/package.json Updates dependency versions
packages/overmind-vue/package.json Removes devDependencies section
packages/overmind-svelte/package.json Removes devDependencies entries
packages/overmind-statechart/package.json Removes devDependencies entries
packages/overmind-react/package.json Updates dependency versions and test libraries
packages/overmind-graphql/package.json Updates graphql dependency version
packages/overmind-devtools/package.json Updates electron and ws version
packages/overmind-devtools-vscode/package.json Updates dependencies for babel-loader and webpack
packages/overmind-devtools-client/src/overmind/utils.ts Adds provider default values in createApp
packages/overmind-devtools-client/src/overmind/types.ts Extends type definitions with the provider property
packages/overmind-devtools-client/src/overmind/operators.ts Propagates provider info from incoming messages
packages/overmind-devtools-client/src/components/StateMachines/index.tsx Adds conditional messaging based on provider details
packages/overmind-devtools-client/package.json Updates several dependency versions
packages/betsy/package.json Removes unnecessary devDependencies
package.json Updates versions for electron, graphql, ws, and devDependencies
README.md Updates token expiration date in documentation
Procfile Removes the Procfile
.github/workflows/test.yml Adds Node 24.x to test matrix
.github/workflows/release.yml Updates Node version to 22 for release workflow

Comment thread packages/overmind/src/Overmind.ts Outdated
@henri-hulski henri-hulski deleted the provider_version branch May 11, 2025 15:46
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