You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The code editor's file view does not change when toggling between a local & global file of the same name. The bug causes confusion when copying a global file to a local bot or vise versa. As the tab which has the file name does not denote if it is a global or local file, you must close the tab and be sure to open the correct file before editing.
To Reproduce
Open a bot in Botpress Studios
Navigate to the code editor
Copy or find a file that is replicated globally and locally
With your mouse click to open one of the files and click between both files
The view will stay the same, although the selected file changes
This is very noticable when you have built a custom action from a global file and the view does not show it, or you have had the wrong copy of the file open and you are editing the global version while the local remains the same.
Expected behavior
Either two tabs open, one for each copy of the file. A denotation will have to accompany the file title.
or
The file tab toggles between the two files being selected, and the title of the tab does not change.
Screenshots
Local file (clicking both)
Global file (clicking both)
Environment (please complete the following information):
Demo deployment
OS: macOS
Browser Chrome
Botpress Version 12.19.2
Node version 12.20.2
The text was updated successfully, but these errors were encountered:
that would work, something like "global/hitlnext.json" right next to "local/hitlnext.json".. You only really need to differentiate the second tab, but right now it makes me confused as to which file I am editing.
Describe the bug
The code editor's file view does not change when toggling between a local & global file of the same name. The bug causes confusion when copying a global file to a local bot or vise versa. As the tab which has the file name does not denote if it is a global or local file, you must close the tab and be sure to open the correct file before editing.
To Reproduce
Expected behavior
Either two tabs open, one for each copy of the file. A denotation will have to accompany the file title.
or
The file tab toggles between the two files being selected, and the title of the tab does not change.
Screenshots
Local file (clicking both)
Global file (clicking both)
Environment (please complete the following information):
Demo deployment
The text was updated successfully, but these errors were encountered: