Skip to content

Conversation

walesch-yan
Copy link
Collaborator

This PR cleans up the beamline actions (as in redux actions). In principle, three things have been changed/removed:

  • unused actions have been removed
  • actions/beamline.js contained a list of action types as variables that should be supported, in practice only three were used, so removed them.
  • There was an internal STATE enum used in the reducer that was missing possible states for the hwos, hence completely replaced the calls with the states defined in constants.js

* msg: arbitray message describing current state
*/
export const INITIAL_STATE = {
const INITIAL_STATE = {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

also removed this unecessary export

Copy link
Collaborator

@axelboc axelboc left a comment

Choose a reason for hiding this comment

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

<3

@marcus-oscarsson marcus-oscarsson force-pushed the yw-cleanup-beamline-actions branch from 047c913 to 0c094d1 Compare September 5, 2025 08:24
@marcus-oscarsson marcus-oscarsson merged commit 147db07 into develop Sep 5, 2025
26 checks passed
@marcus-oscarsson marcus-oscarsson deleted the yw-cleanup-beamline-actions branch September 5, 2025 08:37
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.

4 participants