Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

There is no automatic synchronization between the log view page and user tags #1585

Open
rennervo opened this issue Feb 14, 2019 · 3 comments

Comments

@rennervo
Copy link
Collaborator

Description

The problem affects the preservation of log display filters in user tags. When changing the filter value in one of the sources, the second source does not automatically update the values. Only after reloading the page or logout/login.

Steps to reproduce

Way 1:

  1. Go to the "Log View" section
  2. Set one or more filters
  3. Ensure that requests to change the value of the user tags were successfully sent
  4. Go to the "Settings" section on the "User tags" tab

Way 2:

  1. Go to the "Settings" section on the "User tags" tab
  2. Make sure that there are filter tags for the "log view", otherwise create
  3. Change the value of one or more filters "log view"
  4. Make sure that requests to change the value of user tags were successfully sent
  5. Go to the "Log View" section

Actual result

Values ​​for log view filters have not changed to new ones

Expected result

Values ​​for log view filters updated

Environment


Browser:
- [ ] Chrome version XX
- [ ] Firefox version XX
- [ ] Safari version XX
- [ ] Opera version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

Connected requirement IDs

REQ_LOGS_019

@dron8552
Copy link
Collaborator

TO TEST:
REQ_LOGS_019

@dron8552 dron8552 assigned Nadya913 and unassigned dron8552 Feb 27, 2019
@evgeniiamokhova
Copy link
Collaborator

Lack 1:

No automatic synchronization between user tags and filters in Log view page

Description: The values in filters are updated only after changing the corresponding user tags and refreshing the page
Steps:

  1. Go to the "Settings" section on the "User tags" tab
  2. Make sure that there are filter tags for the "log view", otherwise create
  3. Change the value of one or more filters "log view"
  4. Make sure that requests to change the value of user tags were successfully sent
  5. Go to the "Log View" section

Actual result: Values in log view filters haven't changed automatically after when user tags are changed
Expected result: Values ​in log view filters change automatically after when user tags are changed

@elenaustyugova elenaustyugova added the discussion issues to be discussed label Mar 4, 2019
@dron8552
Copy link
Collaborator

dron8552 commented Mar 4, 2019

@bwsw @ershovaelena The problem: we store the VM-logs filters in multiple places: user-tags, session storage, and VM-logs state in ngrx-store. But is it necessary to save VM-logs filters in user-tags? If true - should we update tags when VM-logs filters were changed and update filters when user-tags were changed?

@bwsw bwsw removed this from the Release 1.411.30 milestone Jan 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants