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

Add frontend state service #7037

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Commits on Sep 30, 2024

  1. feat(state): create state core service

    - Create state service based on AppState from main plugin
    - Create state containers
      - server_host
      - server_host_cluster_info
      - data_source_alerts
    - Add documentation for state service
    Desvelao committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    c289b6b View commit details
    Browse the repository at this point in the history
  2. chore: remove unused methods and no-effect functions

    - Remove unused methods:
      - AppState.setCreatedAt
      - AppState.getCreatedAt
      - AppState.getAPISelector
      - AppState.getPatternSelector
      - AppState.setPatternSelector (no-effect)
    
    - Remove usage of AppState.setPatternSelector because this has no
      effect in the current application
    Desvelao committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    4328609 View commit details
    Browse the repository at this point in the history
  3. feat(state): add tests

    Desvelao committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    bf5a9ab View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. feat(state): wrap the subscrition handler to allow they can unsubscri…

    …bed when the plugin stops
    
    - Remove console.log
    - Dispatch new values when remove from the state containers
    Desvelao committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    f2e54f6 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Merge branch 'master' of https://github.com/wazuh/wazuh-kibana-app in…

    …to enhancement/6959-extract-common-services-frontend-state
    Desvelao committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    ffea2e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f11467b View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    Co-authored-by: Guido Modarelli <[email protected]>
    Desvelao and guidomodarelli authored Nov 27, 2024
    Configuration menu
    Copy the full SHA
    d5dd4bb View commit details
    Browse the repository at this point in the history
  4. fix(state): typos

    Desvelao committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    05cfa5e View commit details
    Browse the repository at this point in the history
  5. Merge branch 'enhancement/6959-extract-common-services-frontend-state…

    …' of https://github.com/wazuh/wazuh-kibana-app into enhancement/6959-extract-common-services-frontend-state
    Desvelao committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    722dfef View commit details
    Browse the repository at this point in the history
  6. fix(state): minor fixes

    Desvelao committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    d86df0c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b883a65 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    01fc56f View commit details
    Browse the repository at this point in the history
  9. Apply suggestions from code review

    Co-authored-by: Guido Modarelli <[email protected]>
    Desvelao and guidomodarelli authored Nov 27, 2024
    Configuration menu
    Copy the full SHA
    f6e7854 View commit details
    Browse the repository at this point in the history