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

User Annotation Improvements #182

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open

Conversation

jacdavi
Copy link
Contributor

@jacdavi jacdavi commented May 30, 2024

This adds a few features in the UI for making notes and customizing the way a VM appears in the SOH graph. The intent is to make it easier for users to track/manage the status of VMs within an experiment (e.g., a user may mark a node red and add a note "reached by red team")

  • Adds a new modal for viewing/editing the labels of a VM

    • Separate "notes" section that allows multiline, maintains insertion order, and hides key
    • Available in experiment pages and SOH
    • Treats minimega tags and phenix labels as one (meaning persistent across experiment runs, and also available in mm cli)
  • Changes SOH details modal to show notes at the top

    • Adds buttons to edit labels and override style
    • New style modal lets user override the fill color, stroke color, and stroke style of a node. This takes precedence over any default styling

labels_modal
style_modal

this will allow opening tag dialog once created
rework backend to hold tags in map (need to test with mm)
add tags column to stopped experiment
…odal since persistent, makes more sense to refer to it as labels instead of tags
remove context menu from soh
add buttons in soh for notes/labels and customizing color
include vm tags in soh payload
switch to using mixins for global functions
update method for updating vm to allow setting or adding tags
fix exception when opening soh with non-booted node
remove debug print statements
@activeshadow
Copy link
Collaborator

Thanks @jacdavi, I'll take a look at this ASAP. Looks cool!

@jacdavi
Copy link
Contributor Author

jacdavi commented Jun 7, 2024

Thanks @jacdavi, I'll take a look at this ASAP. Looks cool!

Sounds good. There's one more PR coming soon. No rush on any of them since we have everything in an internal fork. Thanks!

@activeshadow activeshadow self-requested a review June 22, 2024 18:59
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.

2 participants