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

added description to entity variables #13

Merged
merged 3 commits into from
Aug 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 25 additions & 9 deletions packages/client/src/workspaces/spells/windows/EntityWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,9 @@ const EntityWindow = ({ id, updateCallback }) => {
</div>

<div className="form-item">
<span className="form-item-label">Voice Default Phrases</span>
<span className="form-item-label">
Voice Default Phrases - Separate using | (n1|n2|...|nN)
</span>
<input
type="text"
defaultValue={voice_default_phrases}
Expand All @@ -889,7 +891,10 @@ const EntityWindow = ({ id, updateCallback }) => {

{voice_provider === 'tiktalknet' && (
<div className="form-item">
<span className="form-item-label">Tiktalknet URL</span>
<span className="form-item-label">
Tiktalknet URL - URL where Tiktalknet is hosted and the requests
will be sent there
</span>
<input
type="text"
defaultValue={tiktalknet_url}
Expand Down Expand Up @@ -936,7 +941,9 @@ const EntityWindow = ({ id, updateCallback }) => {
</div>

<div className="form-item">
<span className="form-item-label">Discord Starting Words</span>
<span className="form-item-label">
Discord Starting Words - Separated by ,
</span>
<input
type="text"
defaultValue={discord_starting_words}
Expand Down Expand Up @@ -969,7 +976,9 @@ const EntityWindow = ({ id, updateCallback }) => {
</div>

<div className="form-item">
<span className="form-item-label">Discord Empty Responses</span>
<span className="form-item-label">
Discord Empty Responses - Separated by |
</span>
<input
type="text"
defaultValue={discord_empty_responses}
Expand Down Expand Up @@ -1123,7 +1132,9 @@ const EntityWindow = ({ id, updateCallback }) => {
</div>

<div className="form-item">
<span className="form-item-label">Empty Responses</span>
<span className="form-item-label">
Empty Responses - Separated by |
</span>
<input
type="text"
defaultValue={xrengine_empty_responses}
Expand Down Expand Up @@ -1275,7 +1286,7 @@ const EntityWindow = ({ id, updateCallback }) => {
/>
</div>
<div className="form-item">
<span className="form-item-label">Twitter Enable Twits</span>
<span className="form-item-label">Twitter Enable Tweets</span>
<input
type="checkbox"
value={twitter_enable_twits}
Expand All @@ -1288,7 +1299,10 @@ const EntityWindow = ({ id, updateCallback }) => {
/>
</div>
<div className="form-item">
<span className="form-item-label">Twitter Tweet Rules</span>
<span className="form-item-label">
Twitter Tweet Rules - Regex rules for tweets to answer
automatically, Separated by ,
</span>
<input
type="text"
defaultValue={twitter_tweet_rules}
Expand Down Expand Up @@ -1323,7 +1337,7 @@ const EntityWindow = ({ id, updateCallback }) => {
</div>
<div className="form-item">
<span className="form-item-label">
Twitter Auto Start Phrases
Twitter Auto Start Phrases - Separated by |
</span>
<input
type="text"
Expand Down Expand Up @@ -1894,7 +1908,9 @@ const EntityWindow = ({ id, updateCallback }) => {
/>
</div>
<div className="form-item">
<span className="form-item-label">Empty Responses</span>
<span className="form-item-label">
Empty Responses - Separated by |
</span>
<input
type="text"
defaultValue={twilio_empty_responses}
Expand Down