-
Notifications
You must be signed in to change notification settings - Fork 187
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
Pinned agent management refactor #6644
Comments
Update 07/05/2024ResearchPrincipal files:
Related files:
WzAgentSelector component
To update the state of the pinned agent it is necessary to use the The initial state of
With which, It is proposed to begin implementing the PinnedAgentManager class that provides the following methods: export class PinnedAgentManager {
public static NO_AGENT_DATA = {};
private store: any;
constructor(inputStore: any) {
this.store = inputStore ?? store;
}
pinAgent(agentData: any): void
unPinAgent(): void
isPinnedAgent(): boolean
getPinnedAgent(): any
} |
Update 08/05/2024Added the corresponding behavior to the DataSource to update the filters when changing the pinned agent through the pinned agent management service. Principal files:
Related files:
|
Update 09/05/2024Progress is made with the replacement of the administration of the pinned agent.The list of files that interact with this functionality is renewed:Places where the status of the pinned agent was updated:
Related files that use props.agent which depends on the store's
It would be desirable to change the
|
Update 10/05/2024
TO DO:Check if the
Generate PR with tests of the different use cases when an agent is pinned. Among them:
|
Update 15/05/2024
|
Description
A service needs to be created to manage the pinned agent that replaces the current mechanism. This service should update the application state and URL with respect to the pinned agent. Additionally, this service must provide the methods to get whether an agent is pinned, get pinned agent data, and pin an agent.
Finally, the corresponding behavior must be added to DataSource to update the filters when changing the pinned agent through the pinned agent management service.
Parent issue
Related issue
Tasks
The steps that have to be completed in order to close the issue.
The text was updated successfully, but these errors were encountered: