FOUR-18762: Added PI Process Import to New Process modal by TinCodes · Pull Request #7319 · ProcessMaker/processmaker

return this.$t('Import Process');
},
subtitle() {
return this.$t('Import a process from Workfellow PI (.jpg, .jpeg, .png) to this ProcessMaker environment');

Choose a reason for hiding this comment

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

This text is not the same as the Figma. Should be:
Import a process from Workfellow PI to this ProcessMaker environment

Choose a reason for hiding this comment

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

In sync with Claudia Iriarte and Franz Villaroel this text was to be included here to indicate the file type that the import accepts

Choose a reason for hiding this comment

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

The file type should be JSON. Also need to update the figma

Choose a reason for hiding this comment

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

Why we included into SelectTemplateModal? The name is confusing. Maybe we should have our own selectImportPIModal, or change the names to make it reusable

Choose a reason for hiding this comment

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

This was to keep consistency with how the other 2 buttons (Create a new Process and Generate a Process with AI) work, since the TemplateSearch component emits these events to the SelectTemplateModal component. Let's sync to take a look at it!