DYN-10266: Disallow DYF Files as Templates in File Open Template Dialog#16954
DYN-10266: Disallow DYF Files as Templates in File Open Template Dialog#16954ivaylo-matov wants to merge 2 commits intoDynamoDS:masterfrom
Conversation
There was a problem hiding this comment.
See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-10266
There was a problem hiding this comment.
Pull request overview
Updates Dynamo’s File → Open → Template flow to behave as a template-only entry point by tightening the open-dialog behavior for templates and introducing a dedicated, localized dialog title.
Changes:
- Restricts the template open dialog filter to
.dynfiles. - Adds and wires a new localized dialog title resource (“New Graph from Template...”).
- Updates PublicAPI tracking for the new resource accessor.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs |
Adjusts file dialog filter and title based on whether the dialog is invoked for templates. |
src/DynamoCoreWpf/PublicAPI.Unshipped.txt |
Records the newly exposed resource accessor in the public API unshipped list. |
src/DynamoCoreWpf/Properties/Resources.resx |
Adds the neutral-culture string for the new template dialog title. |
src/DynamoCoreWpf/Properties/Resources.en-US.resx |
Adds the en-US localized string for the new template dialog title. |
src/DynamoCoreWpf/Properties/Resources.Designer.cs |
Adds the strongly-typed resource property for the new string. |
Files not reviewed (1)
- src/DynamoCoreWpf/Properties/Resources.Designer.cs: Language not supported
You can also share your feedback on Copilot code review. Take the survey.
|
johnpierson
left a comment
There was a problem hiding this comment.
Hey @ivaylo-matov - solid work here. The changes look clean and the separation between template and non-template flows is well done. Last thing is to see what is failing on that smoke test



Purpose
This PR addresses DYN-10266. It updates the File -> Open -> Template flow so it behaves as a template-only entry point.
Changes:
.dynonlyDeclarations
Check these if you believe they are true
Release Notes
This PR updates the File -> Open -> Template flow so it behaves as a template-only entry point.
Reviewers
@zeusongit
@DynamoDS/eidos
FYIs
@dnenov
@johnpierson