Skip to content

Conversation

@zeusongit
Copy link
Contributor

@zeusongit zeusongit commented Nov 11, 2025

Purpose

Cherry picks:

  • DYN-9774: All toast notification should close after 3 sec (#16683)
  • DYN-9819: Refactor dynamo toasts into separate public class (#16681)
  • DYN-9388 Make PythonNet3 default python engine as built-in package (#16644)
  • DYN-9589] Update python sample to use pythonnet3 (#16644)

Declarations

Check these if you believe they are true

Release Notes

The complete PythonNet3 update to 4.0

Reviewers

(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)

(FILL ME IN, optional) Any additional notes to reviewers or testers.

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

@github-actions github-actions bot changed the title [Cherry-pick] Refactor dynamo toasts into separate public class and All toast notification should close after 3 sec DYN-9774: [Cherry-pick] Refactor dynamo toasts into separate public class and All toast notification should close after 3 sec Nov 11, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-9774

@zeusongit zeusongit added this to the 4.0 milestone Nov 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors toast notification functionality by extracting it from GuidesManager into a dedicated ToastManager class and implements a 3-second auto-close timer for all toast notifications.

Key Changes:

  • Created new ToastManager class to handle toast notifications independently from guided tour functionality
  • Added automatic 3-second timeout for all toast notifications
  • Updated all references from MainGuideManager to ToastManager throughout the codebase

Reviewed Changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/DynamoCoreWpf/UI/ToastManager.cs New public class containing extracted toast notification logic with auto-close timer functionality
src/DynamoCoreWpf/UI/GuidedTour/GuidesManager.cs Removed toast notification methods and delegated to ToastManager
src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs Added ToastManager property and updated all toast notification calls
src/DynamoCoreWpf/Views/Core/DynamoView.xaml.cs Initialized ToastManager and added Python engine upgrade toast handler
src/DynamoCoreWpf/Views/GuidedTour/RealTimeInfoWindow.xaml.cs Removed guided tour event subscriptions
test/DynamoCoreWpfTests/DynamoViewTests.cs Updated test references and added new test for auto-close behavior
src/DynamoCoreWpf/PublicAPI.Unshipped.txt Added public API entries for new ToastManager class
src/DynamoCoreWpf/DynamoCoreWpf.csproj Added ToastManager.cs to project
(various other files) Updated references from MainGuideManager to ToastManager for toast notifications

ivaylo-matov and others added 4 commits November 11, 2025 15:46
…ynamoDS#16644)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ashish Aggarwal <ashish.aggarwal@autodesk.com>
Co-authored-by: Aaron (Qilong) <173288704@qq.com>
@zeusongit zeusongit changed the title DYN-9774: [Cherry-pick] Refactor dynamo toasts into separate public class and All toast notification should close after 3 sec DYN-9774: [Cherry-pick] Complete PythonNet3 Update to 4.0 Nov 11, 2025
@zeusongit zeusongit changed the title DYN-9774: [Cherry-pick] Complete PythonNet3 Update to 4.0 [Cherry-pick] Complete PythonNet3 Update to 4.0 Nov 11, 2025
@github-actions github-actions bot changed the title [Cherry-pick] Complete PythonNet3 Update to 4.0 DYN-9774: [Cherry-pick] Complete PythonNet3 Update to 4.0 Nov 11, 2025
@zeusongit zeusongit requested a review from Copilot November 11, 2025 21:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 110 out of 123 changed files in this pull request and generated no new comments.

Files not reviewed (4)
  • src/DynamoCoreWpf/Properties/Resources.Designer.cs: Language not supported
  • src/Libraries/DSCPython/Properties/Resources.Designer.cs: Language not supported
  • src/Libraries/PythonNodeModels/Properties/Resources.Designer.cs: Language not supported
  • src/PythonMigrationViewExtension/Properties/Resources.Designer.cs: Language not supported
Comments suppressed due to low confidence (2)

src/PythonMigrationViewExtension/PythonMigrationViewExtension.cs:1

  • Corrected spelling of 'sis' to 'is a'.
    src/PythonMigrationViewExtension/PythonMigrationViewExtension.cs:1
  • Corrected spelling of 'toas' to 'toast'.

@zeusongit
Copy link
Contributor Author

@zeusongit zeusongit requested a review from a team November 12, 2025 03:02
@zeusongit zeusongit changed the title DYN-9774: [Cherry-pick] Complete PythonNet3 Update to 4.0 DYN-9774: [Cherry-pick] Complete PythonNet3 + .Net10 final Update to 4.0 Nov 12, 2025
@zeusongit zeusongit merged commit f30eda3 into DynamoDS:RC4.0.0_master Nov 12, 2025
22 checks passed
@jasonstratton jasonstratton self-requested a review November 12, 2025 05:57
@jasonstratton
Copy link
Contributor

I think it looks good. There's a lot in there.
Hmmm. Cherry-picks do not need reviewers to approve?

@zeusongit
Copy link
Contributor Author

I think it looks good. There's a lot in there. Hmmm. Cherry-picks do not need reviewers to approve?

They do need approval, but I took advantage of my access and merged it, because I wanted to test the merged build with all changes in 4.0, including the .Net10 final version, which was blocking other PRs from building successfully. All checks passed, and the PRs merged were already reviewed (cherry-picks) so seemed to be safe.

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.

6 participants