-
Notifications
You must be signed in to change notification settings - Fork 378
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
Default naming scheme, behavior for all concepts #778
Comments
for SendActivity
FYI - @vishwacsena , @benbrown , @cwhitten , @sangwoohaan |
Yes. You can albeit with slightly different constraints. In fact all our triggers support constraints and so you can even have the same intent event with slightly different constraints.
I'd think search we support (in the future) is able to present content grouped by area - e.g. you could in theory have a dialog name and intent name be the same and so even outstide of LG we need the ability for search results to indicate what type of content was a match.
Good call about our current LG situation. We need to move to one .lg file per dialog for public preview. I'll file a separate ticket to track that. Also in general, these are just the default names that we go with and are user editable/ configurable. If I need better search results, I'd name them in a way I can identify them and so the user is in control. Like I said above for search though, we should plan and design for search results to include type (dialog, LU, LG, settings etc) of the matched content. Should there be more than one match in the same type, then we should indicate the containing dialog name. Filed this ticket to track the move to one .lg file per dialog. |
Vishwac to get updated scope |
@cwhitten - discussed and updated scope w/ @sangwoohaan. @sangwoohaan - can you please add link to the design? @cwhitten - leaving this assigned to you for resourcing. |
Related issue raised during Hackathon #976 |
LU/LG name changing UX flow (in the magenta boxes) :https://www.figma.com/file/04DymSq4xElhOBdAyutvvTbq/Composer-SH-06.19?node-id=1741%3A910 |
What if we also prepended the trigger name to templates defined within that trigger? |
I like @a-b-r-o-w-n 's suggestion. Just note that we also need to append additional texts to some templates like invalid or unrecognized prompts. |
As i go over this again, i don't see this as a P0, even if, probably we should delivery lg\lu copy\paste\delete first and then get back to this. Here is the reason
One of the design purpose when this spec is delivered to help correlate dialog nodes and lg\lu sections, which is not a problem now.
This kind of dependency and tight relationship are So i would strongly prefer we keep a unique id that is not contextual and can correlate easily. If we want more readability , we can add prefex, which is actually no much difference with we did today, TextInput-123456.
If we bring this in immediately, it's refactor and ship features toghether, which is always hard and error-prone. |
hey @boydc2014 I've asked @zhixzhan to handle the R9 changes we want to make associated with this here: #2597 Moving this to R10. What is missing is the renaming behavior, which may or may not make it in. |
I think what this spec described is largely implemented, except two minor things
so i think this one can claimed as complete in r10, let's create new issue in r11, if we still think something can be done in this area |
Default names
This specification outlines the default naming convention for all concepts in composer.
All triggers, actions start with a default name but is user editable.
Bot
There is no default name for a Bot. User must explictly provide a name.
Dialog
There is no default name for a dialog. User must explicitly provide a name.
Trigger
Input/ prompt actions
SendActivity
All other actions
Note: This impacts the current naming scheme used for LG templates in send activity action. With this change, we will no longer use our current naming scheme
bfd-<ID>
The text was updated successfully, but these errors were encountered: