Skip to content

DYN-: Dyn 10228 file new from template#17098

Merged
johnpierson merged 3 commits into
DynamoDS:masterfrom
Chloepeg:DYN-10228-File-New-From-Template
May 7, 2026
Merged

DYN-: Dyn 10228 file new from template#17098
johnpierson merged 3 commits into
DynamoDS:masterfrom
Chloepeg:DYN-10228-File-New-From-Template

Conversation

@Chloepeg

@Chloepeg Chloepeg commented May 6, 2026

Copy link
Copy Markdown
Contributor

Purpose

This PR addresses DYN-10228 https://jira.autodesk.com/browse/DYN-10228 The changes in the code aim to modify the Dynamo template access workflow by moving template creation from File > Open > Template to File > New > From Template
Selecting a template creates a new unsaved Dynamo file based on the template.

Changes :

  • Added newFromTemplateMenuItem under File > New
  • Removed the old openTemplateMenuItem from File > Open
  • Updated ressource strings to reflect the new menu location
  • Update DynamoViewmodel to set default filename to "Untitled" when saving new file based on the template ( instead of template's name which was the default)
Gif

Declarations

Check these if you believe they are true

Release Notes

Enables templates to be opened in a new editable workspace from File > New > From Template replacing the old workflow
File > Open > Template

Reviewers

@zeusongit
@DynamoDS/eidos

FYIs

@dnenov
@johnpierson

Chloepeg added 3 commits May 6, 2026 09:40
Modify the Dynamo template access workflow by moving template creation from File > Open > Template to File > New > From Template

In src/DynamoCoreWpf/Views/Core/DynamoView.xaml, the template action is under File - New as newFromTemplateMenuItem (Ctrl+T), and it was removed from File - Open.
In both resource files:
src/DynamoCoreWpf/Properties/Resources.resx
src/DynamoCoreWpf/Properties/Resources.en-US.resx
DynamoViewFileMenuOpenTemplate is now From Template... (instead of _Template).
Update DynamoViewModel to set default filename to untitled when saving new file based on the template
@github-actions github-actions Bot changed the title Dyn 10228 file new from template DYN-: Dyn 10228 file new from template May 6, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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-10228

@sonarqubecloud

sonarqubecloud Bot commented May 6, 2026

Copy link
Copy Markdown

@johnpierson johnpierson requested a review from Copilot May 6, 2026 17:29

@johnpierson johnpierson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, pretty minimal change this round

@johnpierson johnpierson merged commit 3d92ce3 into DynamoDS:master May 7, 2026
33 of 34 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