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

Gantt Chart view of plans does not observe draft status of plans #6641

Closed
1 of 7 tasks
ozyx opened this issue May 4, 2023 · 3 comments · Fixed by #6642
Closed
1 of 7 tasks

Gantt Chart view of plans does not observe draft status of plans #6641

ozyx opened this issue May 4, 2023 · 3 comments · Fixed by #6642
Labels
bug:visual Visual problem. Not a functional issue type:bug
Milestone

Comments

@ozyx
Copy link
Member

ozyx commented May 4, 2023

Summary

If a Plan is marked as "draft" in the Open MCT Status API, its swimlanes have special coloring to note that it is a draft. However, the same draft Plan embedded in a Gantt Chart view does not display this coloration.

The Gantt Chart view of a Plan should reflect its draft status.

Expected vs Current Behavior

The Gantt Chart view of a Plan should reflect its draft status, but it does not.

Steps to Reproduce

  1. Create a Plan
  2. Create a Gantt Chart
  3. Mark the Plan as a draft: this.openmct.status.set(<plan keyString>, 'draft');
  4. Navigate to the Plan and notice it has special coloring for lanes
  5. Drag and drop the Plan into the Gantt Chart
  6. Observe that the draft coloring is lost.

Environment

  • Open MCT Version:
  • Deployment Type:
  • OS:
  • Browser:

Impact Check List

  • Data loss or misrepresented data?
  • Regression? Did this used to work or has it always been broken?
  • Is there a workaround available?
  • Does this impact a critical component?
  • Is this just a visual bug with no functional impact?
  • Does this block the execution of e2e tests?
  • Does this have an impact on Performance?

Additional Information

@ozyx ozyx added the type:bug label May 4, 2023
@ozyx ozyx added this to the Target:2.2.3 milestone May 4, 2023
@ozyx ozyx self-assigned this May 4, 2023
@unlikelyzero unlikelyzero added the bug:visual Visual problem. Not a functional issue label May 4, 2023
@ozyx ozyx added the unverified label May 5, 2023
@ozyx ozyx closed this as completed in #6642 May 5, 2023
@ozyx
Copy link
Member Author

ozyx commented May 8, 2023

Testing Instructions

  1. Create a Gantt Chart
  2. Drag a Plan with Draft Status into it
  3. Verify that the "draft" coloring of the chart is shown on both Gantt Chart and Plan views

@charlesh88
Copy link
Contributor

Testathon 2023-05-08 verified fixed.

@michaelrogers
Copy link
Contributor

Fix verified during testathon on 05/08/2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:visual Visual problem. Not a functional issue type:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants