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

Use folder to manage dialog #2376

Closed
KayMKM opened this issue Mar 26, 2020 · 9 comments
Closed

Use folder to manage dialog #2376

KayMKM opened this issue Mar 26, 2020 · 9 comments

Comments

@KayMKM
Copy link

KayMKM commented Mar 26, 2020

Is your feature request related to a problem? Please describe.

When the dialog is too many it is hard to manage them in one level.

Describe the solution you'd like

If support folder in dialog level the structure will be more clear.

Describe alternatives you've considered

Additional context

@KayMKM KayMKM added Type: Enhancement Needs-triage A new issue that require triage labels Mar 26, 2020
@hibrenda
Copy link
Contributor

Yue is asking if we have similar solution as LU/LG for dialog hierarchy. eg. common folder for dialog used by other dialog.

@hibrenda hibrenda added skill-reported and removed Needs-triage A new issue that require triage labels Mar 26, 2020
@xieofxie
Copy link
Contributor

xieofxie commented Mar 26, 2020

I guess KayMKM needs folder in the navigation column? For example, add a 'new folder' button in the bottom
image

@zhixzhan
Copy link
Contributor

The latest bot file structure have some changes, integrated with multiple locale support.
#2164. for one dialog, the folder abstract is

    /[dialog]
        [dialog].dialog
        /dialogs/[childs]
        /language-generation
            /[locale]
                 [dialog].[locale].lg
        /language-understanding
            /[locale]
                 [dialog].[locale].lu

you can put "common dialogs" in /dialogs

@hibrenda hibrenda added the Needs-triage A new issue that require triage label Mar 30, 2020
@hibrenda
Copy link
Contributor

item2 in #2008 as well.

@cwhitten
Copy link
Member

cwhitten commented Apr 2, 2020

please follow #2008 for updates to Design/UX of dialog visualization

@cwhitten cwhitten closed this as completed Apr 2, 2020
@a-b-r-o-w-n a-b-r-o-w-n removed the Needs-triage A new issue that require triage label Nov 19, 2020
@gary-x0pa
Copy link

May I know how this issue is solved? How do we put dialogs in folders/nested folders

@zhixzhan
Copy link
Contributor

May I know how this issue is solved? How do we put dialogs in folders/nested folders

Hi @gary-x0pa you can put your folder like this

    /[dialog]
        [dialog].dialog
        /[your-folder]
        /dialogs/[childs]
        /language-generation
            /[locale]
                 [dialog].[locale].lg
        /language-understanding
            /[locale]
                 [dialog].[locale].lu

@gary-x0pa
Copy link

gary-x0pa commented Mar 30, 2021

@zhixzhan I tried this and the nested dialog folder doesnt show up in the bot composer ui?

@zhixzhan
Copy link
Contributor

@gary-x0pa Yes, our current strategy is exclude customize folder from composer management, if files in composer named path like

        /dialogs/**
        /language-generation/**
        /language-understanding/**

composer will apply some reformat or migration on those files inside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants