Remove configWizard files in favor for hosting it in vircadia-content.

This commit is contained in:
Kalila L 2021-02-19 07:42:14 -05:00
parent e296ea0b70
commit 8d8c141dff
23 changed files with 0 additions and 12731 deletions

View file

@ -1,22 +0,0 @@
.DS_Store
node_modules
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

View file

@ -1,24 +0,0 @@
# config-wizard
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

View file

@ -1,5 +0,0 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -1,17 +0,0 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>config-wizard</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><style>html,
body {
background-color: transparent !important;
overflow: hidden !important; /* Hide scrollbars */
}
.theme--dark.v-application {
background-color: transparent !important;
}
.v-text-field input {
font-size: 1.3em;
}
.v-text-field label {
font-size: 1.3em;
}</style><link href="css/chunk-vendors.cd6a383d.css" rel="preload" as="style"><link href="js/app.e75000b2.js" rel="preload" as="script"><link href="js/chunk-vendors.b2988582.js" rel="preload" as="script"><link href="css/chunk-vendors.cd6a383d.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but config-wizard doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.b2988582.js"></script><script src="js/app.e75000b2.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

View file

@ -1,47 +0,0 @@
{
"name": "config-wizard",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"core-js": "^3.6.5",
"vue": "^2.6.11",
"vuetify": "^2.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"sass": "^1.32.0",
"sass-loader": "^10.0.0",
"vue-cli-plugin-vuetify": "~2.1.0",
"vue-template-compiler": "^2.6.11",
"vuetify-loader": "^1.7.0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -1,38 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
<style>
html,
body {
background-color: transparent !important;
overflow: hidden !important; /* Hide scrollbars */
}
.theme--dark.v-application {
background-color: transparent !important;
}
.v-text-field input {
font-size: 1.3em;
}
.v-text-field label {
font-size: 1.3em;
}
</style>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

View file

@ -1,84 +0,0 @@
<!--
//
// App.vue
//
// Created by Kalila L. on Feb 3 2021
// Copyright 2021 Vircadia contributors.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
-->
<template>
<v-app>
<v-main>
<FirstRunWizard @send-message-to-script="sendMessageToScriptFromChild"></FirstRunWizard>
</v-main>
</v-app>
</template>
<script>
import FirstRunWizard from './components/FirstRunWizard';
// var vue_this;
function browserDevelopment() {
if (typeof EventBridge !== 'undefined') {
return false; // We are in Vircadia.
} else {
return true; // We are in the browser, probably for development purposes.
}
}
if (!browserDevelopment()) {
// eslint-disable-next-line
EventBridge.scriptEventReceived.connect(function(receivedCommand) {
receivedCommand = JSON.parse(receivedCommand);
// We route the data based on the command given.
if (receivedCommand.command === 'command-goes-here') {
// vue_this.method(receivedCommand.data);
}
});
}
export default {
name: 'App',
components: {
FirstRunWizard
},
data: () => ({
useDarkTheme: true,
themeColors: {}
}),
methods: {
sendMessageToScriptFromChild: function (commandAndData) {
this.sendMessageToScript(commandAndData.command, commandAndData.data);
},
sendMessageToScript: function (command, data) {
var JSONtoSend = {
"command": command,
"data": data
};
if (!browserDevelopment()) {
// eslint-disable-next-line
EventBridge.emitWebEvent(JSON.stringify(JSONtoSend));
} else {
alert(JSON.stringify(JSONtoSend));
}
}
},
created: function () {
// vue_this = this;
this.$vuetify.theme.dark = this.useDarkTheme;
this.sendMessageToScript('ready', '');
}
};
</script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

View file

@ -1 +0,0 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 87.5 100"><defs><style>.cls-1{fill:#1697f6;}.cls-2{fill:#7bc6ff;}.cls-3{fill:#1867c0;}.cls-4{fill:#aeddff;}</style></defs><title>Artboard 46</title><polyline class="cls-1" points="43.75 0 23.31 0 43.75 48.32"/><polygon class="cls-2" points="43.75 62.5 43.75 100 0 14.58 22.92 14.58 43.75 62.5"/><polyline class="cls-3" points="43.75 0 64.19 0 43.75 48.32"/><polygon class="cls-4" points="64.58 14.58 87.5 14.58 43.75 100 43.75 62.5 64.58 14.58"/></svg>

Before

Width:  |  Height:  |  Size: 539 B

View file

@ -1,345 +0,0 @@
<!--
//
// FirstRunWizard.vue
//
// Created by Kalila L. on Feb 3 2021
// Copyright 2021 Vircadia contributors.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
-->
<template>
<v-stepper v-model="stepperModel">
<v-stepper-header>
<v-stepper-step
:complete="stepperModel > 1"
step="1"
>
Welcome!
</v-stepper-step>
<v-divider></v-divider>
<v-stepper-step
:complete="stepperModel > 2"
step="2"
>
Quality
</v-stepper-step>
<v-divider></v-divider>
<v-stepper-step
:complete="stepperModel > 3"
step="3"
>
Performance
</v-stepper-step>
<v-divider></v-divider>
<v-stepper-step
:complete="stepperModel > 4"
step="4"
>
Nickname
</v-stepper-step>
<v-divider></v-divider>
<v-stepper-step
:complete="stepperModel > 5"
step="5"
>
Ready!
</v-stepper-step>
</v-stepper-header>
<v-stepper-items>
<v-stepper-content step="1">
<v-card>
<v-img
height="80px"
src="/assets/1920_bar.png"
>
<v-card-title
class="text-h3 font-weight-light"
>
Welcome to Vircadia!
</v-card-title>
</v-img>
<v-card-subtitle
class="text-h5 font-weight-light"
>
Let's get you setup to experience the virtual world. <br/>
First, we need to select some performance and graphics quality options. <br/><br/>
Press <b style="color: white;">Continue</b> when you are ready.
</v-card-subtitle>
<v-divider></v-divider>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn
color="primary"
@click="stepperModel++"
x-large
>
Continue
</v-btn>
</v-card-actions>
</v-card>
</v-stepper-content>
<v-stepper-content step="2">
<v-card>
<v-img
height="80px"
src="/assets/1920_bar.png"
>
<v-card-title
class="text-h3 font-weight-light"
>
Quality
</v-card-title>
</v-img>
<v-card-text>
<v-radio-group
mandatory
v-model="performancePreset"
>
<template v-slot:label>
<div class="text-h5 font-weight-light mb-5">
What level of visual quality would you like?<br/>
<b>Remember! If you do not have a powerful computer, you may want to set this to low or medium at most.</b>
</div>
</template>
<v-radio value="1">
<template v-slot:label>
<div class="text-h5"><strong class="green--text">Low Quality</strong> Average Laptop / Slow Computer</div>
</template>
</v-radio>
<v-radio value="2">
<template v-slot:label>
<div class="text-h5"><strong class="blue--text">Medium Quality</strong> Average Computer - <b><i>Recommended</i></b></div>
</template>
</v-radio>
<v-radio value="3">
<template v-slot:label>
<div class="text-h5"><strong class="red--text">High Quality</strong> Gaming Computer</div>
</template>
</v-radio>
</v-radio-group>
</v-card-text>
<v-divider></v-divider>
<v-card-actions>
<v-btn
color="primary"
@click="stepperModel--"
x-large
>
Back
</v-btn>
<v-spacer></v-spacer>
<v-btn
color="primary"
@click="stepperModel++"
x-large
>
Continue
</v-btn>
</v-card-actions>
</v-card>
</v-stepper-content>
<v-stepper-content step="3">
<v-card>
<v-img
height="80px"
src="/assets/1920_bar.png"
>
<v-card-title
class="text-h3 font-weight-light"
>
Performance
</v-card-title>
</v-img>
<v-card-text>
<v-radio-group v-model="refreshRateProfile">
<template v-slot:label>
<div class="text-h5 font-weight-light mb-5">
Do you want a smooth experience or do you want to conserve power and resources on your computer?
</div>
</template>
<v-radio>
<template v-slot:label>
<div class="text-h5"><strong class="green--text">Not Smooth</strong> Conserve Power</div>
</template>
</v-radio>
<v-radio>
<template v-slot:label>
<div class="text-h5"><strong class="blue--text">Smooth</strong> Use Average Resources</div>
</template>
</v-radio>
<v-radio>
<template v-slot:label>
<div class="text-h5"><strong class="red--text">Very Smooth</strong> Use Maximum Resources</div>
</template>
</v-radio>
</v-radio-group>
</v-card-text>
<v-divider></v-divider>
<v-card-actions>
<v-btn
color="primary"
@click="stepperModel--"
x-large
>
Back
</v-btn>
<v-spacer></v-spacer>
<v-btn
color="primary"
@click="stepperModel++"
x-large
>
Continue
</v-btn>
</v-card-actions>
</v-card>
</v-stepper-content>
<v-stepper-content step="4">
<v-card>
<v-img
height="80px"
src="/assets/1920_bar.png"
>
<v-card-title
class="text-h3 font-weight-light"
>
Display Name
</v-card-title>
</v-img>
<v-card-text>
<div class="text-h5 font-weight-light mb-5">
What should people call you?<br/>
This is simply a nickname, it will be shown in place of your username (if you have one).
</div>
<v-text-field
label="Display Name"
v-model="displayName"
placeholder="Don't be shy!"
></v-text-field>
</v-card-text>
<v-divider></v-divider>
<v-card-actions>
<v-btn
color="primary"
@click="stepperModel--"
x-large
>
Back
</v-btn>
<v-spacer></v-spacer>
<v-btn
color="primary"
@click="stepperModel++"
x-large
>
Continue
</v-btn>
</v-card-actions>
</v-card>
</v-stepper-content>
<v-stepper-content step="5">
<v-card>
<v-img
height="80px"
src="/assets/1920_bar.png"
>
<v-card-title
class="text-h3 font-weight-light"
>
All done!
</v-card-title>
</v-img>
<v-card-subtitle
class="text-h5 font-weight-light"
>
Now you're ready to go!<br/>
Take a look at the controls reference after completing this wizard.<br/>
Press <b style="color: white;">Complete</b> when you are ready.
</v-card-subtitle>
<v-divider></v-divider>
<v-card-actions>
<v-btn
color="primary"
@click="stepperModel--"
x-large
>
Back
</v-btn>
<v-spacer></v-spacer>
<v-btn
color="green"
@click="completeWizard"
x-large
>
Complete
</v-btn>
</v-card-actions>
</v-card>
</v-stepper-content>
</v-stepper-items>
</v-stepper>
</template>
<script>
export default {
name: 'FirstRunWizard',
methods: {
completeWizard: function () {
var objectToSend = {
'command': 'complete-wizard',
'data': {
'performancePreset': this.performancePreset,
'refreshRateProfile': this.refreshRateProfile,
'displayName': this.displayName
}
}
this.sendMessageToScript(objectToSend);
},
sendMessageToScript: function (commandAndData) {
this.$emit('send-message-to-script', commandAndData);
}
},
data: () => ({
stepperModel: 1,
performancePreset: 0,
refreshRateProfile: 0,
displayName: ''
})
}
</script>

View file

@ -1,20 +0,0 @@
//
// main.js
//
// Created by Kalila L. on Feb 3 2021
// Copyright 2021 Vircadia contributors.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
import Vue from 'vue'
import App from './App.vue'
import vuetify from './plugins/vuetify';
Vue.config.productionTip = false
new Vue({
vuetify,
render: h => h(App)
}).$mount('#app')

View file

@ -1,17 +0,0 @@
//
// vuetify.js
//
// Created by Kalila L. on Feb 3 2021
// Copyright 2021 Vircadia contributors.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
import Vue from 'vue';
import Vuetify from 'vuetify/lib/framework';
Vue.use(Vuetify);
export default new Vuetify({
});

View file

@ -1,7 +0,0 @@
module.exports = {
publicPath: "./",
assetsDir: "./",
transpileDependencies: [
'vuetify'
]
}