Skip to content

Conversation

@johnsimons
Copy link
Member

@johnsimons johnsimons commented Nov 21, 2025

This PR separates the client APIs from the store.
So, in this PR we make the separation to use the store as just a state management store, and the calling of the REST api is delegated to the client api.

localMonitoringUrl.value += "/";
}
//values have changed. They'll be reset after page reloads
Copy link
Contributor

Choose a reason for hiding this comment

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

my understanding is that these values are used in determining the url that's actually used in the SC and monitoring clients, so wouldn't this logic still be necessary?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is now handled in the client getUrl?

const existingScu = window.localStorage.getItem("scu");

    if (scu) {
      if (scu !== existingScu) {
        window.localStorage.setItem("scu", scu);
      }
      return scu;
    }

# Conflicts:
#	src/Frontend/src/components/failedmessages/DeletedMessages.vue
#	src/Frontend/src/components/failedmessages/FailedMessages.vue
#	src/Frontend/src/components/failedmessages/PendingRetries.vue
#	src/Frontend/src/stores/ServiceControlStore.ts
@PhilBastian PhilBastian merged commit cd2058a into monitoring_store Nov 28, 2025
5 checks passed
@PhilBastian PhilBastian deleted the john/refactor_stores branch November 28, 2025 02:53
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.

3 participants