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

[DYN-7334] Revised TuneUp controls layout #53

Merged

Conversation

ivaylo-matov
Copy link
Contributor

Purpose

PR to address DYN-7334

Revised layout as in Figma

  • Profiled nodes are split into separate DataGrids (LatestRun, PreviousRun, NotExecuted).
  • Renamed node indicator with an added tooltip.
  • Added export dropdown button for CSV and JSON formats.
  • Group colors in the UI now reflect the group background colors in the workspace.
  • Node name, group color, and group name dynamically update in the UI.
  • Group total times are shown as a separate row in the UI.
  • Columns can be sorted by clicking on headers; "Not Executed" is sorted only by name.
  • Total times are based on rounded node execution times.

DYN-7334-ProgressRecord

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Reviewers

@QilongTang
@reddyashish

FYIs

@Amoursol
@dnenov

fix sorting
add datagrids
TODO:
- reset PreviousRun TotalGroup nodes' execution times
- remove execution time 0s from NotExecuted nodes when hoover over them
TODO:
- Remove executionOrder from TotalGroupNodes
- ExportJSON - write the code
- Total time to be calculated from rounded times
- Remove ExecutionTimes from NotExecuted nodes
- UI to update when a node is renamed
- UI to update when group is renamed and/or background color has changed
RaisePropertyChanged(nameof(OriginalName));
}
}
public bool IsGroupExecutionTime
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add summary to this public property

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -18,7 +18,6 @@ public class TuneUpViewExtension : ViewExtensionBase, IViewExtension

public override void Dispose()
{
TuneUpView.Dispose();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to removing the dispose on the view when the extension is closed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT it was only unsubscribing from DynamoWindow_SizeChanged, which is not needed anymore.

@reddyashish reddyashish merged commit ef46c31 into DynamoDS:master Sep 17, 2024
10 checks passed
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