Skip to content

Commit fb725e7

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/word-wrap-1.2.4
2 parents bbfedfb + 4fce691 commit fb725e7

File tree

122 files changed

+3130
-1767
lines changed

Some content is hidden

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

122 files changed

+3130
-1767
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
name: 🐞 Bug Report
2+
description: Create a report to help us improve
3+
title: "🐞 Bug: [Title]"
4+
labels: ["🐞 bug", "pending triage"]
5+
6+
body:
7+
- type: checkboxes
8+
attributes:
9+
label: Is there an existing issue for this?
10+
description: Please search to see if an issue already exists for the bug you encountered.
11+
options:
12+
- label: I have searched the existing issues.
13+
required: true
14+
15+
- type: textarea
16+
attributes:
17+
label: Describe the bug
18+
description: A clear and concise description of what the bug is.
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
attributes:
24+
label: Steps to Reproduce
25+
description: Steps to reproduce the behavior.
26+
placeholder: |
27+
1. Go to '...'
28+
2. Click on '...'
29+
3. Scroll down to '...'
30+
4. See error.
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
attributes:
36+
label: Expected Behavior
37+
description: A clear and concise description of what you expected to happen.
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
attributes:
43+
label: Screenshots
44+
description: |
45+
If applicable, add screenshots to help explain your problem.
46+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
47+
validations:
48+
required: false
49+
50+
- type: dropdown
51+
attributes:
52+
label: Is the faced issue/bug related to the Vue simulator?
53+
description: Describe the issue you have faced in detail.
54+
options:
55+
- 'Yes'
56+
- 'No'
57+
validations:
58+
required: true
59+
60+
- type: dropdown
61+
attributes:
62+
label: Used Vue simulator with or without backend?
63+
description: Provide a clear and concise description of how you used the simulator.
64+
options:
65+
- 'With Backend'
66+
- 'Without Backend'
67+
- 'With circuitverse.org'
68+
validations:
69+
required: false
70+
71+
- type: dropdown
72+
attributes:
73+
label: Is the bug present only on the dev server, the build, or both?
74+
description: Describe where the issue/bug occurs.
75+
options:
76+
- 'Dev Server Only'
77+
- 'Build Only'
78+
- 'Both'
79+
validations:
80+
required: false
81+
82+
- type: textarea
83+
attributes:
84+
label: Device Information
85+
description: |
86+
Examples:
87+
- **OS**: Ubuntu 20.04
88+
- **Browser**: Chrome
89+
- **Version**: 89
90+
render: markdown
91+
validations:
92+
required: false
93+
94+
- type: input
95+
attributes:
96+
label: Additional Context
97+
description: Add any other context about the problem here.
98+
validations:
99+
required: false
100+
101+
- type: dropdown
102+
attributes:
103+
label: Are you working on this issue?
104+
options:
105+
- 'Yes'
106+
- 'No'
107+
validations:
108+
required: true

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: ⭐️ Feature request
2+
description: Suggest an idea for this project
3+
title: "Feature "
4+
labels: ["🌟 feature", "pending triage"]
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: Is your feature request related to a problem? Please describe
9+
description: A clear and concise description of what the problem is
10+
validations:
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: Describe the solution you'd like
15+
description: A clear and concise description of what you want to happen
16+
validations:
17+
required: true
18+
- type: textarea
19+
attributes:
20+
label: Describe alternatives you've considered
21+
description: A clear and concise description of any alternative solutions or features you've considered
22+
validations:
23+
required: false
24+
- type: textarea
25+
attributes:
26+
label: Is requested feature related to vue simulator?
27+
description: A clear and concise description of what the feature request is for
28+
validations:
29+
required: true
30+
- type: input
31+
attributes:
32+
label: Additional context
33+
description: Add any other context about the problem here
34+
validations:
35+
required: false
36+
- type: dropdown
37+
attributes:
38+
label: Are you working on this?
39+
options:
40+
- 'Yes'
41+
- 'No'
42+
validations:
43+
required: true

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Satvik Ramaprasad
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 74 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,74 @@
1-
# GSoC'22 Project - [WIP]VueJS Simulator
2-
3-
## New Frontend Framework for Simulator UI.
4-
- [Phase-1 Report](https://blog.circuitverse.org/posts/devjitchoudhury_gsoc22_phase1_report/)
5-
- [Phase-2 Report](https://blog.circuitverse.org/posts/devjitchoudhury_gsoc22_phase2_report/)
6-
7-
### Project Goals -
8-
1. Replacing JqueryUI with a modern frontend framework.
9-
2. Decoupling the Simulator from backend
10-
3. Dividing into Components
11-
4. State Management
12-
5. Refactoring CSS
13-
6. Internationalization using Vue-i18n
14-
15-
16-
### To Dos -
17-
1. **Vue Project Integration** into the Main Repository or finding a way for the simulators in two different repositories to work in sync.
18-
2. **API Integration and Testing**
19-
3. **Embed Feature** - Discuss and implement the embeding of circuits feature.
20-
4. **Internationalization of Simulator** - Internationalization is already set up using Vue-i18n but progressive work needs to be done on it.
21-
5. **Refactoring of Styles** - Refactor the global stylesheet to local stylesheets for individual components. There is also a scope of removing SASS using modern CSS features.
22-
6. Few components - Verilog Module, Quick-Button, Testbench, and Timing-Diagram are yet to be converted to Vue.
23-
7. With the removal of jQuery-UI, there is also a scope of removing the use of jQuery from the project.
1+
<div align="center">
2+
<img src="https://github.com/CircuitVerse/CircuitVerse/raw/master/app/assets/images/cvlogo.svg" alt="The CircuitVerse logo" width="400"/>
3+
</div>
4+
5+
# CircuitVerse Frontend Vue
6+
[CircuitVerse Frontend Vue](https://circuitverse.netlify.app/simulatorvue) is dedicated to enhancing the CircuitVerse platform in several key ways. Our primary focus is on decoupling the [CircuitVerse Simulator](https://circuitverse.org/simulator) from the backend, allowing it to function independently and with greater flexibility. Additionally, we're working to remove the reliance on jQueryUI, opting for cleaner and more contemporary code practices. To improve performance and code readability, we're transitioning from traditional DOM mutations to string-based manipulation. Furthermore, we're actively integrating internationalization features to ensure the platform is accessible to users worldwide. In summary, our repository aims to elevate the capabilities and user experience of CircuitVerse through targeted improvements and optimizations.
7+
8+
## Community
9+
We would love to hear from you! We communicate on Slack:
10+
11+
[![Slack](https://img.shields.io/badge/chat-on_slack-purple.svg?style=for-the-badge&logo=slack)](https://join.slack.com/t/circuitverse-team/shared_invite/zt-p6bgler9-~8vWvsKmL9lZeYg4pP9hwQ)
12+
13+
## Installation
14+
To set up the project on your local machine, follow these steps:
15+
16+
1. Clone the repository to your local machine using the following command:
17+
```
18+
git clone https://github.com/CircuitVerse/cv-frontend-vue.git
19+
```
20+
2. Navigate to the project directory:
21+
```
22+
cd cv-frontend-vue
23+
```
24+
3. Install the project dependencies:
25+
```
26+
npm install
27+
```
28+
4. Start the development server:
29+
```
30+
npm run dev
31+
```
32+
33+
## Setting up on cloud with Stackblitz
34+
[StackBlitz](https://developer.stackblitz.com/guides/user-guide/what-is-stackblitz) is an instant fullstack web IDE for the JavaScript ecosystem.
35+
36+
1. Initiate the setup process by clicking on the following button:
37+
38+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/~/github.com/CircuitVerse/cv-frontend-vue)
39+
40+
2. Once the setup is complete, a Preview URL will be displayed in the browser window. Append `/simulatorvue/` to your URL to access the simulator.
41+
```
42+
https://<preview_url>/simulatorvue/
43+
```
44+
45+
## How to Use Vue Simulator with CircuitVerse Main Repo
46+
To access the Vue Simulator from the [CircuitVerse main repo](https://github.com/CircuitVerse/CircuitVerse) dev server, you can follow one of the following methods:
47+
48+
### Accessing Vue Simulator
49+
1. Start the CircuitVerse Main Repo dev server.
50+
2. go to the `/vuesimulator` path in the dev server.
51+
3. You would be accessing the Vue Simulator.
52+
53+
### Setting Vue Simulator as Default
54+
1. Log in to the CircuitVerse dev server using the admin account:
55+
- **Email:** `[email protected]`
56+
- **Password:** `password`
57+
2. Once logged in, go to `/flipper` path and turn on vuesim feature flag site wide or for your user.
58+
3. After activation, you will be able to access the Vue Simulator site-wide in your dev server, also in `/simulator` path the Vue Simulator will be opening instead of the old simulator.
59+
60+
## Code of Conduct
61+
We follow the [Code of Conduct](https://github.com/CircuitVerse/CircuitVerse/blob/master/code-of-conduct.md) of the [CircuitVerse](https://circuitverse.org) Community.
62+
63+
## Contributing
64+
See [`CONTRIBUTING.md`](https://github.com/CircuitVerse/CircuitVerse/blob/master/CONTRIBUTING.md) for more information on contributing to CircuitVerse.
65+
66+
## License
67+
This project is licensed under the [MIT License](LICENSE).
68+
69+
## To Dos -
70+
1. **Creating the mobile version of the vue simulator**
71+
2. **Testing and bug fixing**
72+
3. **Typescript integration & style Refactoring**
73+
4. **Creating the desktop application**
74+
5. **Removing JQuery**

0 commit comments

Comments
 (0)