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

Graphs Views for fast graphs filtering #554

Open
soyacz opened this issue Dec 20, 2024 · 1 comment · May be fixed by #566
Open

Graphs Views for fast graphs filtering #554

soyacz opened this issue Dec 20, 2024 · 1 comment · May be fixed by #566
Assignees

Comments

@soyacz
Copy link
Collaborator

soyacz commented Dec 20, 2024

Problem Statement

The current Argus graphing functionality lacks a structured way to manage and focus on specific sets of graphs. Navigating through numerous graphs in the "Graphs window," where all graphs are presented, can be overwhelming. This makes it difficult for users to concentrate on relevant data without applying filters repeatedly. This inefficiency affects usability and slows down workflows, especially for recurring tasks requiring specific graph collections.

Proposed Solution

Introduce a "Graph View" feature that allows users to group and persist specific graphs for reuse. This feature will enable users to create, manage, and activate Graph Views seamlessly while ensuring the selected graphs are readily accessible in subsequent sessions. The functionality will be scoped to the "Graphs window" where all graphs are displayed.

Key Features

  1. Create and Name Graph Views:

    • Users can create a new Graph View using an "Add View" button.
    • Clicking "Add View" opens a modal where the user assigns a name to the Graph View.
    • The Graph View is immediately saved upon creation.
  2. Assign Graphs to a Graph View:

    • Each graph in the "Graphs window" will have an action button in its top-left corner. Clicking this button allows the user to assign the graph to any previously created Graph View.
    • Graphs are added to the selected Graph View instantly without requiring additional saving.
  3. Activate Graph Views:

    • Graph Views are represented by buttons labeled with their names.
    • Clicking a Graph View button displays only the graphs assigned to that view within the "Graphs window."
    • Graphs filtered by other means (e.g., search filters) will appear below the Graph View graphs, with a visible separator.
  4. Remove Graphs from a Graph View:

    • Graphs in a Graph View will include a "Remove" button to unassign them from the current view.
  5. Reorder Graphs in a Graph View:

    • Users can reorder graphs within a Graph View to prioritize their display order. This reordering is specific to the active Graph View and does not affect other contexts.
  6. Persistent Storage:

    • All modifications to Graph Views (e.g., adding or removing graphs, reordering) will persist automatically, ensuring the Graph Views are accessible across sessions.
  7. Integration with Argus Views:

    • Graph Views can be manually linked to Argus Views during the creation of a Graph Widget. Users will select which Graph Views to include in the widget.
  8. Shareable Links:

    • Each Graph View will have a unique URL that opens with the specific Graph View active, simplifying collaboration and reuse.
  9. Future Extensibility:

    • While initial implementation focuses on grouping, persisting, and reordering graphs, future enhancements will include the ability to configure graph sizes for more flexible layouts.

Expected Outcome

This feature will streamline graph management in Argus, improving user productivity by reducing the cognitive load of navigating large collections of graphs. By allowing users to focus on specific, reusable groupings in the "Graphs window," workflows will become more efficient, and collaboration will be enhanced through shareable links.

Refs: https://github.com/scylladb/qa-tasks/issues/1784

@soyacz soyacz self-assigned this Dec 20, 2024
@soyacz
Copy link
Collaborator Author

soyacz commented Dec 20, 2024

@fruch this is how I see the next step for 'Graph Widget' feature. WDYT?
(point 8 rather in future, after implementing Graphs Widget).

soyacz added a commit to soyacz/argus that referenced this issue Dec 28, 2024
Users are allowed to create 'Graph Views' which can store specific
graphs. Created Graph Views are visible in test's graph window and can
be selected for quick look on saved graphs list. This way saving time
for playing with filters.

Graph Views may have a name and description.

closes: scylladb#554
soyacz added a commit to soyacz/argus that referenced this issue Jan 3, 2025
Users are allowed to create 'Graph Views' which can store specific
graphs. Created Graph Views are visible in test's graph window and can
be selected for quick look on saved graphs list. This way saving time
for playing with filters.

Graph Views may have a name and description.

closes: scylladb#554
soyacz added a commit to soyacz/argus that referenced this issue Jan 3, 2025
Users are allowed to create 'Graph Views' which can store specific
graphs. Created Graph Views are visible in test's graph window and can
be selected for quick look on saved graphs list. This way saving time
for playing with filters.

Graph Views may have a name and description.

closes: scylladb#554
@soyacz soyacz linked a pull request Jan 3, 2025 that will close this issue
soyacz added a commit to soyacz/argus that referenced this issue Jan 3, 2025
Users are allowed to create 'Graph Views' which can store specific
graphs. Created Graph Views are visible in test's graph window and can
be selected for quick look on saved graphs list. This way saving time
for playing with filters.

Graph Views may have a name and description.

closes: scylladb#554
soyacz added a commit to soyacz/argus that referenced this issue Jan 7, 2025
Users are allowed to create 'Graph Views' which can store specific
graphs. Created Graph Views are visible in test's graph window and can
be selected for quick look on saved graphs list. This way saving time
for playing with filters.

Graph Views may have a name and description.

closes: scylladb#554
soyacz added a commit to soyacz/argus that referenced this issue Jan 9, 2025
Users are allowed to create 'Graph Views' which can store specific
graphs. Created Graph Views are visible in test's graph window and can
be selected for quick look on saved graphs list. This way saving time
for playing with filters.

Graph Views may have a name and description.

closes: scylladb#554
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 a pull request may close this issue.

1 participant