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

feat: Text preset type #80

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

thedist
Copy link
Member

@thedist thedist commented Apr 26, 2024

This, along with a PR to Companion itself (bitfocus/companion#2846), will allow for the use of a text type preset as described in bitfocus/companion#2843, and while not a full rework of the preset structure as suggested in that feature request the implementation of a text type does allow for modules to start utilizing it while consideration/changes to the preset structure take place at a later date.

The following is an example of some examples quickly placed in a module to show how they would be rendered when using something along the lines of

{
  category: 'Mix 1',
  name: 'Test Header',
  type: 'text',
  text: 'Testing a text preset'
},

companion-text-preset

The name property takes the place of the header, while the text property will be in the paragraph below the header.

@Julusian Julusian changed the title Feat: Text preset type feat: Text preset type Apr 26, 2024
@Julusian Julusian merged commit 34c03db into bitfocus:main Apr 26, 2024
2 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