File tree Expand file tree Collapse file tree
packages/web-runtime/src/components/Topbar Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 " not OperaMobile > 0"
3737 ],
3838 "dependencies" : {
39- "vue" : " ^2.6.10"
39+ "shepherd.js" : " ^9.0.0" ,
40+ "vue" : " ^2.6.10" ,
41+ "vue-shepherd" : " ^0.2.1"
4042 },
4143 "devDependencies" : {
4244 "@babel/core" : " ^7.17.5" ,
Original file line number Diff line number Diff line change 55 :aria-label =" buttonLabel"
66 appearance =" raw"
77 variation =" inverse"
8+ style =" white-space : nowrap "
89 @click =" toggleTheme"
910 >
1011 <span class =" oc-visible@s" :aria-label =" switchLabel" v-text =" switchText" />
Original file line number Diff line number Diff line change 1414 <portal-target name =" app.runtime.header" multiple ></portal-target >
1515 </div >
1616 <div class =" oc-topbar-right oc-flex oc-flex-middle oc-flex-between" >
17+ <tour v-if =" !isLightweight" />
1718 <theme-switcher v-if =" darkThemeAvailable" />
1819 <feedback-link v-if =" isFeedbackLinkEnabled" />
1920 <notifications v-if =" isNotificationBellEnabled" />
@@ -31,14 +32,16 @@ import UserMenu from './UserMenu.vue'
3132import Notifications from ' ./Notifications.vue'
3233import FeedbackLink from ' ./FeedbackLink.vue'
3334import ThemeSwitcher from ' ./ThemeSwitcher.vue'
35+ import Tour from ' ./Tour/Tour.vue'
3436
3537export default {
3638 components: {
3739 ApplicationsMenu,
3840 FeedbackLink,
3941 Notifications,
4042 ThemeSwitcher,
41- UserMenu
43+ UserMenu,
44+ Tour
4245 },
4346 mixins: [NavigationMixin],
4447 props: {
@@ -56,6 +59,10 @@ export default {
5659 computed: {
5760 ... mapGetters ([' configuration' , ' user' ]),
5861
62+ isLightweight () {
63+ return window .Vue .$store .getters .user .usertype === ' lightweight'
64+ },
65+
5966 activeRoutePath () {
6067 return this .$router .resolve (this .$route ).location .path
6168 },
You can’t perform that action at this time.
0 commit comments