Skip to content
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

Adds command-specific event types. #29

Merged
merged 6 commits into from
May 3, 2024
Merged

Adds command-specific event types. #29

merged 6 commits into from
May 3, 2024

Conversation

jrwils
Copy link
Contributor

@jrwils jrwils commented Apr 11, 2024

@jrwils jrwils changed the title Removes generic and adds command-specific event types. Adds command-specific event types. Apr 11, 2024
@jrwils jrwils marked this pull request as ready for review April 11, 2024 19:43
@jrwils
Copy link
Contributor Author

jrwils commented Apr 12, 2024

Discussed in OneSDK Friday meeting: comment out the event types for commands that are not refactored yet so they do not show as available. cc: @aduane


// Specific Command events

ADJUST_DIAGNOSIS_COMMAND__PRE_COMMAND_ORIGINATE = 1000;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we change these to remove the second "COMMAND"? Seems redundant.

Example:

Suggested change
ADJUST_DIAGNOSIS_COMMAND__PRE_COMMAND_ORIGINATE = 1000;
ADJUST_DIAGNOSIS_COMMAND__PRE_ORIGINATE = 1000;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@aduane I like it better if we remove the first COMMAND and keep the second one. The reason for this is that they match the naming of the canvas-core command events, which are named PreCommandOriginate, PostCommandOriginate, etc. How about ADJUST_DIAGNOSIS__PRE_COMMAND_ORIGINATE?

@jrwils jrwils force-pushed the feature/jw-koala-1276 branch from 7cc332f to 2bf70f1 Compare April 16, 2024 18:29
@jrwils jrwils force-pushed the feature/jw-koala-1276 branch from 5d8928f to aa81b3d Compare April 29, 2024 22:05
@jrwils jrwils merged commit 7d1c006 into main May 3, 2024
2 checks passed
@jrwils jrwils deleted the feature/jw-koala-1276 branch May 3, 2024 19:01
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