2022-10-24 12:21:36 -04:00
|
|
|
if editorLeftMenuReact
|
|
|
|
include ./left-menu-react
|
|
|
|
else
|
|
|
|
include ./left-menu
|
2021-11-15 11:33:57 -05:00
|
|
|
|
|
|
|
#chat-wrapper.full-size(
|
|
|
|
layout="chat",
|
|
|
|
spacing-open="{{ui.chatResizerSizeOpen}}",
|
|
|
|
spacing-closed="{{ui.chatResizerSizeClosed}}",
|
|
|
|
ng-hide="state.loading",
|
|
|
|
ng-cloak
|
|
|
|
)
|
|
|
|
.ui-layout-center
|
|
|
|
include ./header-react
|
|
|
|
|
2023-03-22 07:21:58 -04:00
|
|
|
if (!historyViewReact)
|
|
|
|
include ./history/toolbarV2.pug
|
2021-11-15 11:33:57 -05:00
|
|
|
|
|
|
|
main#ide-body(
|
|
|
|
ng-cloak,
|
|
|
|
role="main",
|
2023-03-22 07:21:58 -04:00
|
|
|
ng-class="{ 'ide-history-open' : (ui.view == 'history' && history.isV2 && !history.isReact) }",
|
2021-11-15 11:33:57 -05:00
|
|
|
layout="main",
|
|
|
|
ng-hide="state.loading",
|
2022-08-18 08:27:13 -04:00
|
|
|
resize-on="layout:chat:resize,history:toggle,layout:flat-screen:toggle,south-pane-toggled",
|
2021-11-15 11:33:57 -05:00
|
|
|
minimum-restore-size-west="130"
|
|
|
|
custom-toggler-pane=hasFeature('custom-togglers') ? "west" : false
|
|
|
|
custom-toggler-msg-when-open=hasFeature('custom-togglers') ? translate("tooltip_hide_filetree") : false
|
2023-05-30 06:15:38 -04:00
|
|
|
custom-toggler-msg-when-closed=hasFeature('custom-togglers') ? translate("tooltip_show_filetree") : false
|
|
|
|
tabindex="0"
|
2022-07-20 11:15:18 -04:00
|
|
|
initial-size-east="250"
|
|
|
|
init-closed-east="true"
|
2022-07-20 06:18:28 -04:00
|
|
|
open-east="ui.chatOpen"
|
2021-11-15 11:33:57 -05:00
|
|
|
)
|
|
|
|
.ui-layout-west
|
|
|
|
include ./file-tree-react
|
2023-03-22 07:21:58 -04:00
|
|
|
if (historyViewReact)
|
|
|
|
include ./file-tree-history-react
|
|
|
|
else
|
|
|
|
include ./file-tree-history
|
|
|
|
include ./history/fileTreeV2
|
2021-11-15 11:33:57 -05:00
|
|
|
|
|
|
|
.ui-layout-center
|
|
|
|
include ./editor
|
|
|
|
|
2023-03-22 07:21:58 -04:00
|
|
|
if (historyViewReact)
|
2023-05-30 06:15:38 -04:00
|
|
|
history-root()
|
2023-03-22 07:21:58 -04:00
|
|
|
else
|
|
|
|
include ./history
|
2021-11-15 11:33:57 -05:00
|
|
|
|
2022-07-20 06:18:28 -04:00
|
|
|
if !isRestrictedTokenMember
|
|
|
|
.ui-layout-east
|
|
|
|
aside.chat
|
|
|
|
chat()
|
2023-03-01 09:10:33 -05:00
|
|
|
|
|
|
|
if showOnboardingVideoTour
|
|
|
|
div(
|
|
|
|
ng-if="!state.loading"
|
|
|
|
ng-controller="OnboardingVideoTourModalController"
|
|
|
|
)
|
|
|
|
onboarding-video-tour-modal(
|
|
|
|
close-modal="closeModal"
|
|
|
|
show="show"
|
|
|
|
)
|