Skip to content

Commit 1c9907f

Browse files
authored
Merge pull request #37 from oslabs-beta/dev
OverVue 6.0
2 parents 94b5974 + 5d46a5b commit 1c9907f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+30370
-2240
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"editor.tabSize": 2
3+
}

Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM node:14.16
2+
3+
# install electron dependencies or more if your library has other dependencies
4+
RUN apt-get update && apt-get install \
5+
git libx11-xcb1 libxcb-dri3-0 libxtst6 libnss3 libatk-bridge2.0-0 libgtk-3-0 libxss1 libasound2 \
6+
-yq --no-install-suggests --no-install-recommends \
7+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
8+
9+
# copy the source into /app
10+
WORKDIR /app
11+
COPY . .
12+
RUN chown -R node /app
13+
14+
# install node modules and perform an electron rebuild
15+
USER node
16+
RUN npm install
17+
# RUN npx electron-rebuild
18+
19+
# Electron needs root for sand boxing
20+
# see https://github.com/electron/electron/issues/17972
21+
USER root
22+
RUN chown root /app/node_modules/electron/dist/chrome-sandbox
23+
RUN chmod 4755 /app/node_modules/electron/dist/chrome-sandbox
24+
25+
# Electron doesn't like to run as root
26+
USER node
27+
CMD bash

Dockerfile-Mac

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM node:14.16
2+
3+
# install electron dependencies or more if your library has other dependencies
4+
RUN apt-get update && apt-get install \
5+
git libx11-xcb1 libxcb-dri3-0 libxtst6 libnss3 libatk-bridge2.0-0 libgtk-3-0 libxss1 libasound2 \
6+
-yq --no-install-suggests --no-install-recommends \
7+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
8+
9+
# copy the source into /app
10+
WORKDIR /app
11+
COPY . .
12+
RUN chown -R node /app
13+
14+
# install node modules and perform an electron rebuild
15+
USER node
16+
RUN npm install
17+
18+
# Electron needs root for sand boxing
19+
# see https://github.com/electron/electron/issues/17972
20+
USER root
21+
RUN chown root /app/node_modules/electron/dist/chrome-sandbox
22+
RUN chmod 4755 /app/node_modules/electron/dist/chrome-sandbox
23+
24+
# Electron doesn't like to run as root
25+
USER node
26+
CMD bash

Dockerfile_WSL

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
FROM node:16.14
2+
3+
RUN apt-get update && apt-get install \
4+
git libx11-xcb1 libxss1 libxcb-dri3-0 libgconf2-dev libxtst6 \
5+
xvfb dbus-x11 libnss3 libudev-dev libatk-bridge2.0-0 libgtk-3-0 \
6+
libxss1 libasound2 libdrm2 libgtkextra-dev libgbm1 \
7+
-yq --no-install-suggests --no-install-recommends \
8+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
9+
10+
WORKDIR /OverVue
11+
COPY . .
12+
RUN chown -R node /OverVue
13+
RUN npm i -g @quasar/cli
14+
15+
USER node
16+
RUN npm install
17+
18+
USER root
19+
RUN chown root /OverVue/node_modules/electron/dist/chrome-sandbox
20+
RUN chmod 4755 /OverVue/node_modules/electron/dist/chrome-sandbox
21+
EXPOSE 3000
22+
23+
USER node
24+
CMD bash
25+
26+
# IN YOUR WSL 2 TERMINAL:
27+
# export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
28+
# export LIBGL_ALWAYS_INDIRECT=1
29+
#
30+
# MUST BE RUNNING SOME XSERVER SUCH AS VcXsrv OR OTHER
31+
#
32+
# RUN WITH:
33+
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v`pwd:/app --rm -it <yourimagename> bash
34+
#
35+
# INSIDE CONTAINER:
36+
# quasar dev -m electron -- --no-sandbox
37+
#

README.md

Lines changed: 67 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<h1 align="center">
2-
<img src="https://raw.githubusercontent.com/jeisele2/OverVue/master/src/assets/overvue-icons/apple-icon-72x72.png">
3-
<br/>
4-
OverVue
2+
<img src="src/assets/overvue_256x256.png">
53
</h1>
64

7-
<p align="center"><b>Prototyping Tool for Vue Developers</b></p>
5+
<p align="center"><b>Prototyping Development Tool for Vue Developers</b></p>
86

97
<p>OverVue is a prototyping tool that allows developers to dynamically create and visualize a Vue application, implementing a real-time intuitive tree display of component hierarchy and a live-generated code preview. The resulting boilerplate can be exported as a template for further development.</p>
108

@@ -14,16 +12,19 @@
1412

1513
## Table of Contents
1614

17-
- [Features](#features)
18-
- [OverVue 2.0 Changelog](#changelog-20)
19-
- [OverVue 3.0 Changelog](#changelog-30)
20-
- [OverVue 4.0 Changelog](#changelog-40)
21-
- [OverVue 5.0 Changelog](#changelog-50)
22-
- [How to Use](#how-to-use)
15+
- [Table of Contents](#table-of-contents)
16+
- [Features](#features)
17+
- [Changelog 2.0](#changelog-20)
18+
- [Changelog 3.0](#changelog-30)
19+
- [Changelog 4.0](#changelog-40)
20+
- [Changelog 5.0](#changelog-50)
21+
- [Changelog 6.0](#changelog-60)
22+
- [How to use](#how-to-use)
2323
- [Installation](#installation)
24-
- [General Installation](#installation)
25-
- [For WSL](#wsl-installation)
26-
- [For Slack OAuth](#slack-oauth)
24+
- [WSL Installation](#wsl-installation)
25+
- [Running as Containerized Docker Image](#running-as-containerized-docker-image)
26+
- [BETA](#beta)
27+
- [Slack OAuth](#slack-oauth)
2728
- [Contributing](#contributing)
2829
- [Authors](#authors)
2930

@@ -52,6 +53,11 @@
5253
- Ability to delete states or actions from the store <sub><sup>(v4.0)</sup></sub>
5354
- Vue Devtools enabled for Developers <sub><sup>(v4.0)</sup></sub>/automatically deploys when running electron in dev mode <sub><sup>(v5.0)</sup></sub>
5455
- Exports fully functional Vue 3/Vuex 4 syntax <sub><sup>(v5.0)</sup></sub>
56+
- Import of individual components <sub><sup>(v6.0)</sup></sub>
57+
- Containerized the application <sub><sup>(v6.0)</sup></sub>
58+
- Introduced TypeScript Mode <sub><sup>(v6.0)</sup></sub>
59+
- Adding notes functionality <sub><sup>(v6.0)</sup></sub>
60+
- Enhanced component tree hierarchy display <sub><sup>(v6.0)</sup></sub>
5561

5662
[↥Back to top](#table-of-contents)
5763

@@ -137,7 +143,28 @@
137143
</ul>
138144
</details>
139145

146+
### Changelog 6.0
140147

148+
<details><summary>OverVue 6.0</summary>
149+
<ul>
150+
<li>Toggle to TypeScript mode to generate code snippets and export your project or individual components in TypeScript</li>
151+
<li>An interactive and real-time tree display of your component hierarchy allows you to easily visualize parent-child component relationships and the Vue Router structure</li>
152+
<li>Enhance your workflow by adding notes to your components. When you export your project or components into your favorite IDE, notes will be converted into comments within your Vue files.</li>
153+
<li>Now with a “Get Started” tutorial, a visual queue of your HTML elements, and an overall simplified UI, OveVue is as intuitive as ever. </li>
154+
<li>OverVue is now containerized with Docker to bring developers the same experience, regardless of your operating system.</li>
155+
<br>
156+
<h4><strong>Bug Fixes</strong></h4>
157+
<li>Fixed drawer disappearing when the window size is smaller</li>
158+
<li>Fixed inability to delete parent/child relationship</li>
159+
<li>Fixed the inability to add multiple children to parent except when making a new component</li>
160+
<li>Fixed CodeSnippet does not scroll when it overflows the container</li>
161+
<li>Fixed clicking canvas does not fully deactivate active component</li>
162+
<li>Fixed Error handling for 'pasting' component when no component is copied</li>
163+
<li>Fixed dancing components</li>
164+
<li>Fixed project tree visulization</li>
165+
</ul>
166+
</details>
167+
<br/>
141168

142169
[↥Back to top](#table-of-contents)
143170

@@ -196,10 +223,11 @@ src/
196223
babel.config.js
197224
package.json
198225
```
226+
<br/>
199227

200228
[↥Back to top](#table-of-contents)
201229

202-
### Installation
230+
## Installation
203231

204232
To download the development version for windows or mac, please visit https://www.Overvue.io
205233

@@ -248,7 +276,7 @@ export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/nu
248276
export LIBGL_ALWAYS_INDIRECT=1
249277
```
250278

251-
followed by the command for the devtools or devmode. If you want both open, enter commands above followed by starting the devtools:
279+
followed by the command for the s or devmode. If you want both open, enter commands above followed by starting the devtools:
252280

253281
```
254282
./node_modules/.bin/vue-devtools
@@ -259,7 +287,14 @@ Then open a new terminal instance, set the DISPLAY value again (re-enter above c
259287
```
260288
quasar dev -m electron
261289
```
290+
### Running as Containerized Docker Image
291+
292+
In your terminal, run :
262293

294+
```
295+
docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -v`pwd`/src:/app/src --rm -it <OverVue file name> bash
296+
```
297+
## BETA
263298
### Slack OAuth
264299

265300
For the Slack OAuth, you will need to create a Slack app through their website (https://api.slack.com/apps?new_app=1), so that you have your own Client Secret and Client ID. Then create two .env files (one for development and one for production).
@@ -290,21 +325,25 @@ SLACK_REDIRECT_URI = "overvuedev://test"
290325

291326
[↥Back to top](#table-of-contents)
292327

293-
### Contributing
328+
## Contributing
294329

295330
We'd love for you to test this application out and submit any issues you encounter. Also feel free to fork to your own repo and submit PRs.
296-
Here are some features we're thinking about adding:
331+
Here are some features we're thinking about adding:
332+
297333

298-
- Option to export files in TypeScript
299334
- Ability to place child components into HTML elements
300-
- Integration with Storybook
301-
- Edit State and Actions in the Vuex Store
335+
- More semantic HTML tag options
336+
- Ability to export Vuex store boilerplate
337+
- Ability to add two-way binding to input elements
338+
- More typing options for Typescript mode
302339

303340
If you make changes and wish to update the website, here is the link to the repo: https://github.com/TeamOverVue/OverVuePage
304341

342+
<br/>
343+
305344
[↥Back to top](#table-of-contents)
306345

307-
### Authors
346+
## Authors
308347

309348
```
310349
Contributors:
@@ -329,8 +368,15 @@ Gabriela Kokhabi @gkokhabi
329368
Ross Lamerson @lamerson28
330369
Shanon Lee @shanonlee541
331370
Zoew McGrath @Z-McGrath
371+
Aram Paparian @apaparian
372+
Bryan Bart @MrBeeAreWhy
373+
Julia Bakerink @jbbake
374+
Kerolos Nesem @Kerolos-Nesem
375+
Megan Nadkarni @megatera
332376
```
333377

334378
Inspired by [PreVue](https://github.com/open-source-labs/PreVue)
335379

380+
<br/>
381+
336382
[↥Back to top](#table-of-contents)

0 commit comments

Comments
 (0)