Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.9.0 #41

Merged
merged 5 commits into from
Nov 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wavelovers",
"version": "1.8.0",
"version": "1.9.0",
"description": "Wavelovers is a tool that can turn your gamepad into a vibration massager or simply a gamepad vibration and buttons test tool.",
"keywords": [
"wavelovers",
Expand Down
14 changes: 7 additions & 7 deletions public/sitemap-internal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,43 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://wavelovers.ru/</loc>
<lastmod>2023-11-25</lastmod>
<lastmod>2023-11-26</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/custom</loc>
<lastmod>2023-11-25</lastmod>
<lastmod>2023-11-26</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/manual</loc>
<lastmod>2023-11-25</lastmod>
<lastmod>2023-11-26</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/diagnostic</loc>
<lastmod>2023-11-25</lastmod>
<lastmod>2023-11-26</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/faq</loc>
<lastmod>2023-11-25</lastmod>
<lastmod>2023-11-26</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/about</loc>
<lastmod>2023-11-25</lastmod>
<lastmod>2023-11-26</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://wavelovers.ru/donate</loc>
<lastmod>2023-11-25</lastmod>
<lastmod>2023-11-26</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
Expand Down
2 changes: 1 addition & 1 deletion public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://wavelovers.ru/sitemap-internal.xml</loc>
<lastmod>2023-11-25</lastmod>
<lastmod>2023-11-26</lastmod>
</sitemap>
</sitemapindex>
1 change: 0 additions & 1 deletion src/components/atoms/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { default as AGamepad } from './AGamepad.vue';
export { default as AMessage } from './AMessage.vue';
export { default as APattern } from './APattern.vue';
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { PropType } from 'vue';
import type { TPattern } from '@/models';

export default defineComponent({
name: 'APattern',
name: 'MPattern',
props: {
pattern: {
type: Object as PropType<TPattern>,
Expand All @@ -24,9 +24,14 @@ export default defineComponent({
required: true,
},
},
emits: {
change(index: number): boolean {
return index >= 0;
},
},
methods: {
change: function (index: number): void {
this.$emit('change', index as number);
this.$emit('change', index);
},
},
});
Expand Down Expand Up @@ -102,4 +107,3 @@ export default defineComponent({
color: var(--color-pattern-text);
}
</style>
@/models/Pattern
14 changes: 9 additions & 5 deletions src/components/molecules/MPatternList.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { APattern } from '@/components/atoms';
import MPattern from '@/components/molecules/MPattern.vue';

import type { PropType } from 'vue';
import type { TPattern } from '@/models';

export default defineComponent({
name: 'MPatternList',
components: {
APattern,
MPattern,
},
props: {
patterns: {
Expand All @@ -24,17 +24,22 @@ export default defineComponent({
required: true,
},
},
emits: {
change(index: number): boolean {
return index >= 0;
},
},
methods: {
change: function (index: number): void {
this.$emit('change', index as number);
this.$emit('change', index);
},
},
});
</script>

<template>
<div class="content-item pattern-list">
<APattern
<MPattern
v-for="(pattern, index) in patterns"
:key="pattern.name"
:pattern="pattern"
Expand Down Expand Up @@ -62,4 +67,3 @@ export default defineComponent({
}
}
</style>
@/models/Pattern
1 change: 1 addition & 0 deletions src/components/molecules/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export { default as MHeader } from './MHeader.vue';
export { default as MFooter } from './MFooter.vue';
export { default as MPattern } from './MPattern.vue';
export { default as MToolsNav } from './MToolsNav.vue';
export { default as MGamepadList } from './MGamepadList.vue';
export { default as MPatternList } from './MPatternList.vue';
Expand Down
1 change: 0 additions & 1 deletion src/components/organisms/OPatterns.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ export default defineComponent({
<MGamepadList v-if="gamepads.length > 0" :gamepads="gamepads" />
<AMessage v-else>Press any gamepad button or connect a new gamepad to vibrate.</AMessage>
</template>
@/models/Pattern
Loading