twilio-professional-services / flex-project-template

A starting point for Twilio Flex projects, providing management strategies for various types of artifacts and distributed development
https://twilio-professional-services.github.io/flex-project-template/
Apache License 2.0
64 stars 71 forks source link

[SE-43] Add and use version utility, fix 2.8.x button sizes #601

Closed dremin closed 3 months ago

dremin commented 3 months ago

Summary

Adds a semver-based version-checking utility to the template to make it easier for features to validate supported Flex UI versions.

Refactored existing version-checking code to use this new utility.

Added version checks for task canvas header buttons so that they use the correct size in 2.8.x, which was increased.

Note: The semver package was already included in our plugin bundle due to other dependencies pulling it in; this should not increase plugin size.

Checklist

github-actions[bot] commented 3 months ago

0 ESLint error(s) and 0 ESLint warning(s) found in pull request changed files. :white_check_mark: No issues found!