Skip to content

Commit 993e6f0

Browse files
author
Jaime de Venecia
committed
Update tutorial to reflect most recent changes to app, change sub-header casing in tutorial pages, alter tone to imperative within sub-headings, update margin-bottom of #advanced-btn HTML element in NewVersionInfo.vue to create consistent button spacing with other tutorial pages.
1 parent 0037f2e commit 993e6f0

File tree

4 files changed

+105
-106
lines changed

4 files changed

+105
-106
lines changed

src/components/right-sidebar/tutorial/AdvancedFunctions.vue

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
<template>
22
<section id="advancedFunctions">
33
<h6 class="tutorialHeading">Advanced Functionality</h6>
4-
<h class="tutorial-sub-heading">Importing an existing component</h>
4+
<h class="tutorial-sub-heading">Import an existing component</h>
55
<p class="tutorialContent">
66
To import an existing Vue component file, click the import button in the
7-
upper right hand corner. Please note: this feature is specifically
8-
intended for import of json files saved in-app. Import of other file
9-
formats is not currently supported.
7+
upper right hand corner. Note: this feature is specifically intended for
8+
import of .json files saved in-app. Imports of other file formats is not
9+
currently supported.
1010
</p>
11-
<h class="tutorial-sub-heading">Adding Props</h>
11+
<h class="tutorial-sub-heading">Add props</h>
1212
<p class="tutorialContent">
13-
To add props, select the component and click the Props sub-menu in the
13+
To add props, select the component and click on the Props sub-menu in the
1414
Update Component menu in the left sidebar. Enter the name of the prop you
15-
want to add and click ‘+’ or press enter. Then select the added prop(s)
15+
want to add and click ‘+’ or press enter. Then, select the added prop(s)
1616
from the dropdown and click the 'Add' Prop(s)’ button. To remove a prop,
1717
click the ‘x’ icon on the right side of the prop.
1818
</p>
1919
<img
20-
alt="Add Props"
20+
alt="Add props"
2121
src="../../../assets/props.png"
2222
class="tut-screenshot"
2323
/>
24-
<h class="tutorial-sub-heading">Adding State or Actions</h>
24+
<h class="tutorial-sub-heading">Add state variables or actions</h>
2525
<p class="tutorialContent">
26-
To add state or actions to a component, they must first be added to the
27-
store. Under the Store tab, click on Store State or Store Actions, enter
28-
the name and click the ‘+’ or press enter. Then, select the component to
29-
which you want to add state or actions. In the State or Actions sub-menus
30-
in the Update Component menu of the left sidebar, select your desired
31-
state(s) or action(s) from the dropdown and click ‘Map State’ or ‘Map
32-
Actions’. To remove them, click the ‘x’ icon on the right side of the
33-
state or action.
26+
To add state variables or actions to a component, first add them to the
27+
store. Under the Store tab, click on State or Actions, enter a label, and
28+
click the ‘+’ or press enter. Then, select the component to which you want
29+
to add state variables or actions. In the State or Actions sub-menus
30+
within the Update Component menu in the left sidebar, select your desired
31+
state variable(s) or action(s) from the dropdown and click on ‘Map State’
32+
or ‘Map Action(s)’. To remove any, click the ‘x’ icon on the right side of
33+
the state variable or action.
3434
</p>
3535
<img
36-
alt="Store Tab"
36+
alt="Store tab"
3737
src="../../../assets/state-actions.png"
3838
class="tut-screenshot"
3939
/>
40-
<h class="tutorial-sub-heading">TypeScript Mode</h>
40+
<h class="tutorial-sub-heading">Enable TypeScript</h>
4141
<p class="tutorialContent">
42-
To turn TypeScript mode on or off, click on the Settings gear icon in the
43-
right corner of the nav bar and click the toggle at the bottom of the
44-
menu.
42+
To enable TypeScript, click on the Settings gear icon in the upper-right
43+
corner of the nav bar and toggle the "TypeScript" switch.
4544
</p>
4645
<img
47-
alt="TypeScript Toggle"
46+
alt="Enable TypeScript"
4847
src="../../../assets/typescript.png"
4948
class="tut-screenshot"
5049
/>
51-
<h class="tutorial-sub-heading">Toggle Main View</h>
50+
<h class="tutorial-sub-heading">Toggle between Tree Mode & Grid Mode</h>
5251
<p class="tutorialContent">
53-
To revert the main view to the grid view used in previous OverVue versions, click on
54-
the Settings gear icon in the right corner of the nav bar and toggle from Tree to Grid.
55-
<br/>
56-
<br/>
57-
Please note that some functionality may be disabled or broken, as this view is now considered
58-
deprecated.
52+
To revert the central user interface to the grid view used in previous
53+
OverVue versions, click on the Settings gear icon in the upper-right
54+
corner of the nav bar and toggle "Mode" from Tree to Grid.
55+
<br />
56+
<br />
57+
Disclaimer: some functionality may be disabled or broken, as this view is
58+
now considered deprecated.
5959
</p>
6060
<img
6161
alt="Main View Toggle"
@@ -72,11 +72,10 @@
7272
</section>
7373
</template>
7474

75-
<!-- COMPOSITION API SYNTAX -->
7675
<script setup lang="ts">
7776
import { useStore } from "../../../store/main.js";
78-
const store = useStore();
7977
78+
const store = useStore();
8079
const toggleTutorial = () => store.toggleTutorial();
8180
</script>
8281

src/components/right-sidebar/tutorial/BasicFunctions.vue

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<template>
22
<section id="basicFunctions">
3-
<h6 class="tutorialHeading">Getting Started in OverVue</h6>
3+
<h6 class="tutorialHeading">Get Started with OverVue</h6>
44
<p class="tutorialContent">
55
Prototyping in OverVue is designed to be quick and efficient. Learning how
66
to use OverVue will help you integrate this tool into your design process
7-
to more seemlessly create Vue applications.
7+
to more seamlessly create Vue applications.
88
</p>
9-
<br />
10-
<h class="tutorial-sub-heading">Navigating OverVue</h>
9+
<h class="tutorial-sub-heading">Navigate OverVue</h>
1110
<p class="tutorialContent">
1211
If you ever want to navigate back to this page, click the gear icon
1312
<img
@@ -16,10 +15,10 @@
1615
src="../../../assets/gear.png"
1716
class="tut-image"
1817
/>
19-
in the top navigation bar, all the way to the right, and select "Getting
20-
Started" to return to the landing page.
18+
in the top navigation bar, all the way to the right, and select "Welcome
19+
Page" to return to the landing page.
2120
</p>
22-
<h class="tutorial-sub-heading">Setting Up Your Project</h>
21+
<h class="tutorial-sub-heading">Set up your project</h>
2322
<p class="tutorialContent">
2423
Begin by clicking the gear icon
2524
<img
@@ -28,58 +27,59 @@
2827
src="../../../assets/gear.png"
2928
class="tut-image"
3029
/>
31-
to customize your project. Here, you can select Slack login to push
32-
project updates to your Slack teams. You can also toggle typescript to
33-
make your project typescript compatible, or add Oauth for Google or
34-
Github. Boilerplate for these configurations will be reflected in your
30+
to customize your project.You can also toggle TypeScript to make your
31+
project TypeScript compatible, or add OAuth for Google or GitHub.
32+
Boilerplate code for these configurations will be reflected in your
3533
exported project.
3634
</p>
37-
<h class="tutorial-sub-heading">Creating Components</h>
35+
<h class="tutorial-sub-heading">Create components</h>
3836
<p class="tutorialContent">
3937
Under the Create Component menu in the left sidebar, set a component name
40-
(required) and optionally select a parent component, and/or html elements
38+
(required) and optionally select a parent component, and/or HTML elements
4139
to be nested inside the component (see Advanced Functionality to add
42-
deeper nesting to html elements).
40+
deeper nesting to HTML elements).
4341
</p>
4442
<img
4543
alt="Create Component Menu"
4644
src="../../../assets/create_component_box.png"
4745
class="tut-screenshot"
4846
/>
4947
<p class="tutorialContent">
50-
To use components from the Vue 3 compatible library, Vuetensils, you can
51-
switch the tab from Elements to Vuetensils. Finally, click create component!
48+
To use components from the Vue 3 compatible library Vuetensils, you can
49+
switch the tab from Elements to Vuetensils. Finally, click create
50+
component!
5251
</p>
53-
<h class="tutorial-sub-heading">Customizing Your Components</h>
52+
<h class="tutorial-sub-heading">Customize your components</h>
5453
<p class="tutorialContent">
5554
To capture component styling, be sure to add a class attribute. You can
56-
further customize your components in the sidebar by adding an id, parents,
55+
further customize your components in the sidebar by adding an ID, parents,
5756
children, props, state, or actions - all of which will be included in your
5857
exported code. To update a component after its creation, select the
5958
component on the tree and the Update Component Menu will appear in the
6059
left sidebar.
6160
</p>
62-
<h class="tutorial-sub-heading">Building Out Your Prototype</h>
61+
<h class="tutorial-sub-heading">Build out your prototype</h>
6362
<p class="tutorialContent">
64-
To manipulate your prototype, you can drag and drop your components on
65-
the tree. This will alter the component relationships and the code will
66-
reflect the changes. To control the tree view, you focus on the tree background
67-
by clicking it, and use keyboard controls to move around and zoom in.
63+
To manipulate your prototype, you can drag and drop your components on the
64+
tree. This will alter the component relationships and the code will
65+
reflect the changes. To control the tree view, you focus on the tree
66+
background by clicking it, and use keyboard controls to move around and
67+
zoom in.
6868
</p>
69-
<h class="controls">Controls:</h>
69+
<h class="controls">Tree Mode Controls:</h>
7070
<p class="tutorialContent">
7171
Directional Movement: Arrow Keys
72-
<br/>
72+
<br />
7373
Zoom: Scroll Wheel | Comma ( , ) | Period ( . )
74-
<br/>
74+
<br />
7575
Return to Root: Slash ( / )
7676
</p>
7777
<img
7878
alt="Tree View"
7979
src="../../../assets/tree.png"
8080
class="tut-screenshot"
8181
/>
82-
<h class="tutorial-sub-heading">Deleting Components</h>
82+
<h class="tutorial-sub-heading">Delete components</h>
8383
<p class="tutorialContent">
8484
To delete a component, select it and click ‘Delete Current Component’ in
8585
the Update Component menu.
@@ -89,19 +89,19 @@
8989
src="../../../assets/delete-component.png"
9090
class="tut-screenshot"
9191
/>
92-
<h class="tutorial-sub-heading">Component Details</h>
92+
<h class="tutorial-sub-heading">View component details</h>
9393
<p class="tutorialContent">
9494
In the right sidebar, there is a component details tab where you can
9595
access details about the active/selected component. Here, you can toggle
96-
between a live updated code snippet, component hierarchy diagram, and
97-
project routing visualization.
96+
between a dynamically-updated code preview, HTML element hierarchy
97+
diagram, and project routing visualization.
9898
</p>
9999
<img
100100
alt="Component Details"
101101
src="../../../assets/component-details.png"
102102
class="tut-screenshot"
103103
/>
104-
<h class="tutorial-sub-heading">Routes</h>
104+
<h class="tutorial-sub-heading">View routes</h>
105105
<p class="tutorialContent">
106106
You can find all of your routes in the Routes tab. To add a route, enter
107107
the name in the input field and click the ‘+’, or press enter. Once added,
@@ -114,19 +114,19 @@
114114
src="../../../assets/routes.png"
115115
class="tut-screenshot"
116116
/>
117-
<h class="tutorial-sub-heading">Saving or Exporting Your Project</h>
117+
<h class="tutorial-sub-heading">Save or export your project</h>
118118
<p class="tutorialContent">
119-
When you are satisfied with your project, you can save it or export it
120-
using the buttons in the top right.
119+
When you are satisfied with your project, you can save or export it using
120+
the buttons in the upper-right corner of the nav bar.
121121
</p>
122122
<p class="tutorialContent">
123123
<img
124124
style="vertical-align: middle"
125125
alt="save"
126126
src="../../../assets/save.png"
127127
class="tut-image"
128-
/>Save your OverVue project progress as a JSON file to access it again
129-
later<br />
128+
/>Save your current OverVue project layout as a JSON file to access it
129+
again later<br />
130130
<img
131131
style="vertical-align: middle"
132132
alt="import"
@@ -139,13 +139,14 @@
139139
alt="export"
140140
src="../../../assets/export.png"
141141
class="tut-image"
142-
/>Export boilerplate code for your whole project or a single component<br />
142+
/>Export boilerplate code for your whole project, or just for a single
143+
component<br />
143144
</p>
144145
<q-btn
145146
class="tut-btn"
146147
color="secondary"
147148
id="version-btn"
148-
label="Checkout Our New Features"
149+
label="New Features in Version 10"
149150
@click="nextTab"
150151
/>
151152
<q-btn
@@ -159,11 +160,11 @@
159160
<script setup lang="ts">
160161
import { useStore } from "../../../store/main.js";
161162
162-
const store = useStore();
163163
const emit = defineEmits(["nextTab"]);
164+
const nextTab = () => emit("nextTab");
164165
166+
const store = useStore();
165167
const toggleTutorial = () => store.toggleTutorial();
166-
const nextTab = () => emit("nextTab");
167168
</script>
168169

169170
<style scoped lang="scss">

src/components/right-sidebar/tutorial/Landing.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
/>
1515
<p id="new-text"></p>
1616
<p id="new-text"></p>
17-
<p id="new-text">New To Overvue?</p>
17+
<p id="new-text">New to Overvue?</p>
18+
<br />
1819
<q-btn
1920
class="tut-btn"
2021
color="secondary"
@@ -34,14 +35,14 @@
3435
// @ts-nocheck
3536
// No check for the shell
3637
import { useStore } from "../../../store/main.js";
37-
3838
const { shell } = window;
3939
40-
const store = useStore();
4140
const emit = defineEmits(["nextTab", "versionTab"]);
41+
const nextTab = () => emit("nextTab");
4242
43+
const store = useStore();
4344
const toggleTutorial = () => store.toggleTutorial();
44-
const nextTab = () => emit("nextTab");
45+
4546
const openUrl = (url: string) => shell.openExternal(url, { activate: true });
4647
</script>
4748

0 commit comments

Comments
 (0)