diff --git a/src/components/Editor.vue b/src/components/Editor.vue
index 8a742cabba4..f5a2d2db77d 100644
--- a/src/components/Editor.vue
+++ b/src/components/Editor.vue
@@ -54,12 +54,16 @@
+ :loaded.sync="menubarLoaded"
+ :relative-path="relativePath">
+ :has-connection-issue="hasConnectionIssue"
+ :last-saved-string="lastSavedString" />
+
@@ -118,6 +122,7 @@ import ContentContainer from './Editor/ContentContainer.vue'
import Status from './Editor/Status.vue'
import MainContainer from './Editor/MainContainer.vue'
import Wrapper from './Editor/Wrapper.vue'
+import RightSideActions from './Editor/RightSideActions.vue'
const EDITOR_PUSH_DEBOUNCE = 200
@@ -133,6 +138,7 @@ export default {
Reader: () => import(/* webpackChunkName: "editor" */'./Reader.vue'),
Status,
CollisionResolveDialog: () => import(/* webpackChunkName: "editor" */'./CollisionResolveDialog.vue'),
+ RightSideActions,
},
mixins: [
isMobile,
@@ -192,6 +198,10 @@ export default {
type: Number,
default: null,
},
+ basename: {
+ type: String,
+ default: null,
+ },
active: {
type: Boolean,
default: false,
@@ -885,4 +895,5 @@ export default {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
+
diff --git a/src/components/Editor/RightSideActions.vue b/src/components/Editor/RightSideActions.vue
new file mode 100644
index 00000000000..d8e752586c8
--- /dev/null
+++ b/src/components/Editor/RightSideActions.vue
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/components/Editor/SessionList.vue b/src/components/Editor/SessionList.vue
index 82835706ed8..55ff0638857 100644
--- a/src/components/Editor/SessionList.vue
+++ b/src/components/Editor/SessionList.vue
@@ -151,7 +151,8 @@ export default {
}
.avatar-list {
border: none;
- background-color: var(--color-main-background);
+ /* background-color: var(--color-main-background); */
+ background-color: unset;
padding: 0;
margin: 0;
padding-left: 3px;
diff --git a/src/components/Editor/Status.vue b/src/components/Editor/Status.vue
index 526356abecb..7bcaa04c3d8 100644
--- a/src/components/Editor/Status.vue
+++ b/src/components/Editor/Status.vue
@@ -26,12 +26,6 @@
-
-
- {{ t('text', 'Last saved') }}: {{ lastSavedString }}
-
-
-
@@ -147,8 +141,26 @@ export default {
}
.save-status {
- border-radius: 50%;
- color: var(--color-text-lighter);
+ --color-text-white: white;
+ display: inline-flex;
+ padding: 0;
+ text-overflow: ellipsis;
+ color: var(--color-text-white);
+ position: relative;
+ top: 9px;
+ min-width: 85px;
+ max-height: 36px;
+
+ &.error {
+ background-color: var(--color-error);
+ color: var(--color-main-background);
+ border-radius: 3px;
+ }
+ }
+
+
+