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

refactor: model templating variable names #2900

Merged
merged 6 commits into from
Mar 5, 2024
Merged

Conversation

shawnyama
Copy link
Contributor

@shawnyama shawnyama commented Mar 1, 2024

Description

Main changes

  • ModelTemplates -> ModelTemplateCanvas since this holds all the items in UI such as junctions, edges, model template
  • along with the above change variables like decomposedTemplates, flattenedTemplates, modelTemplates now end with Canvas eg. decomposedCanvas
  • variables named modelTemplate held a Model type, now I am just calling them model - it seems like a cleaner choice overall

Some smaller touch ups are easy to see in my last two commits.

@shawnyama shawnyama linked an issue Mar 1, 2024 that may be closed by this pull request
@shawnyama shawnyama marked this pull request as ready for review March 1, 2024 22:41
Copy link
Member

@mwdchang mwdchang left a comment

Choose a reason for hiding this comment

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

Didn't test, but looks better, thanks!

@mwdchang mwdchang merged commit bb874ea into main Mar 5, 2024
5 checks passed
@mwdchang mwdchang deleted the refactor-templating-service branch March 5, 2024 00:28
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.

[RERFACTOR]: Better naming for model-template editing
2 participants