Skip to content

Commit 346f9b4

Browse files
authored
Merge pull request #63 from oslabs-beta/austin/new-vue-directory
Austin/new vue directory
2 parents 40ec099 + 1209594 commit 346f9b4

File tree

144 files changed

+3251
-11594
lines changed

Some content is hidden

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

144 files changed

+3251
-11594
lines changed

package-vue/.eslintrc.cjs

Lines changed: 0 additions & 18 deletions
This file was deleted.
File renamed without changes.

package-vue/.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["Vue.volar"]
3+
}

package-vue/DevelopmentSteps.md

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

package-vue/README.md

Lines changed: 1 addition & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -1,106 +1 @@
1-
<a id="readme-top"></a>
2-
3-
<p align="center">
4-
<img src="./assets/icon.png" alt="Logo" width="250"/>
5-
</p>
6-
7-
# Technologies
8-
9-
[![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)](https://www.javascript.com/)
10-
[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
11-
[![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge&logo=react&logoColor=%2361DAFB)](https://reactjs.org/)
12-
[![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge&logo=html5&logoColor=white)](https://html.com/html5/)
13-
[![Webpack](https://img.shields.io/badge/webpack-%238DD6F9.svg?style=for-the-badge&logo=webpack&logoColor=black)](https://webpack.js.org/)
14-
[![D3](https://img.shields.io/badge/d3%20js-F9A03C?style=for-the-badge&logo=d3.js&logoColor=white)](https://d3js.org/)
15-
[![ESLint](https://img.shields.io/badge/eslint-3A33D1?style=for-the-badge&logo=eslint&logoColor=white)](https://eslint.org/)
16-
[![Material UI](https://img.shields.io/badge/Material%20UI-007FFF?style=for-the-badge&logo=mui&logoColor=white)](https://mui.com/)
17-
[![Jest](https://img.shields.io/badge/Jest-C21325?style=for-the-badge&logo=jest&logoColor=white)](https://jestjs.io/)
18-
[![Babel](https://img.shields.io/badge/Babel-F9DC3E?style=for-the-badge&logo=babel&logoColor=white)](https://babeljs.io/)
19-
20-
# Overview
21-
22-
React Query Rewind introduces a powerful DevTool extension designed to work in conjunction with React Query's built-in DevTools in order to optimize time-traveling through state changes in an application. This open-source extension is tailored to enhance the debugging experience for React Query users, allowing them to explore state changes and component relationships with ease.
23-
24-
# Getting Started
25-
26-
## Prerequisites
27-
28-
1. React Query installed and in use in your application.
29-
30-
2. Install RQRewind Chrome Extension.
31-
32-
<!-- _link / picture of Extension in Chrome Store_ -->
33-
34-
## Installation
35-
36-
1. Download npm package into your application as a dev dependency.
37-
38-
```sh
39-
npm i --save-dev react-query-rewind
40-
```
41-
42-
2. Import the ReactQueryRewind component into the root of your applicaiton.
43-
44-
_picture of importing the component_
45-
46-
```javascript
47-
import ReactQueryRewind from 'react-query-rewind';
48-
```
49-
50-
3. Place ReactQueryRewind next to the root of your application inside the QueryClientProvider component.
51-
52-
```javascript
53-
ReactDOM.createRoot(document.getElementById('root')!).render(
54-
<QueryClientProvider client={queryClient}>
55-
<App />
56-
<ReactQueryRewind />
57-
</QueryClientProvider>
58-
);
59-
```
60-
61-
4. Open the Chrome DevTool Extension and start coding!
62-
63-
<p align="left">
64-
<img src="./assets/chrome-devtool.png" alt="Component Placement" width="600"/>
65-
</p>
66-
67-
# Features
68-
69-
- <b>Query States: </b>Upon opening RQRewind in Chrome Dev Tools, you will see the Queries tab open with a drop down menu listing the query keys of all the incoming queries. Select the queries that you want to monitor, make changes on the web app, and the changes of query states will be logged as reflected by the growing number above the play bar. Use the play bar to navigate to a particular state snapshot that you would like to inspect.
70-
71-
<p align="center"><img src="./assets/query-states.gif" width='800' style="margin-top: 1em; margin-bottom: 1em;"></p>
72-
73-
- <b>State Diff: </b>Toggle on the Diff button to see state changes between each snapshot highlighted. Turn on the switch on top of the page to show only parts of the state that are changed.
74-
75-
<p align="center"><img src="./assets/state-diff.gif" width='800' style="margin-top: 1em; margin-bottom: 1em;"></p>
76-
77-
- <b>Live UI Change: </b>As you review the state change history, there is also the option to turn on the time travel mode by clicking on the clock icon button. Under time travel mode, when visiting a logged state snapshot on RQRewindl, the UI of the app will change accordingly. Turn off time travel mode for RQRewind to continue logging future state changes.
78-
79-
<p align="center"><img src="./assets/UI-change.gif" width='800' style="margin-top: 1em; margin-bottom: 1em;"></p>
80-
81-
- <b>Component Tree: </b> Click on the Component Tree tab and turn on the Start Profiling switch. Click on any component on the app, and view the component tree that is rendered on the dev tools panel.
82-
83-
<p align="center"><img src="./assets/component-tree.gif" width='800' style="margin-top: 1em; margin-bottom: 1em;"></p>
84-
85-
# Contact Information
86-
87-
Austin Cavanagh - [GitHub](https://github.com/austin-cavanagh) - [LinkedIn](https://www.linkedin.com/in/austincavanagh/) - [email protected]
88-
89-
Emma Teering - [GitHub](https://github.com/eteering) - [LinkedIn](https://www.linkedin.com/in/emma-teering/) - [email protected]
90-
91-
John Dunn - [GitHub](https://github.com/johnwdunn20) - [LinkedIn](https://www.linkedin.com/in/johnwdunn/) - [email protected]
92-
93-
Rui Fan - [GitHub](https://github.com/ruifan-IU) - [LinkedIn](https://www.linkedin.com/in/rui-fan-868231299/) - [email protected]
94-
95-
# Links
96-
97-
[![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@teeringe/react-query-rewind-time-travel-debugging-made-simple-46aaeeafd497)
98-
[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/react-query-rewind/)
99-
100-
Project Link: [React Query Rewind](https://github.com/oslabs-beta/react-query-rewind-chrome)
101-
102-
# License
103-
104-
_MIT Link_
105-
106-
<p align="right">(<a href="#readme-top">back to top</a>)</p>
1+
# VueQueryRewind

package-vue/__tests__/index.tsx

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

package-vue/assets/UI-change.gif

-1.16 MB
Binary file not shown.

package-vue/assets/chrome-devtool.png

-363 KB
Binary file not shown.
-71.9 KB
Binary file not shown.

package-vue/assets/component-tree.gif

-821 KB
Binary file not shown.

package-vue/assets/icon.png

-330 KB
Binary file not shown.

package-vue/assets/query-states.gif

-1.3 MB
Binary file not shown.

package-vue/assets/state-diff.gif

-793 KB
Binary file not shown.

package-vue/babel.config.cjs

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

package-vue/example/client/src/link/types.d.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

package-vue/example/client/package-lock.json renamed to package-vue/examples/our-example/client/package-lock.json

Lines changed: 52 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)