Compare commits

..

No commits in common. "4e6f19d620afd7bf3d7b7ae770e6a794569e617c" and "d6bebd8fec72419c3ab3b9e32429f15c9b4b8a18" have entirely different histories.

6 changed files with 8 additions and 19 deletions

View File

@ -79,8 +79,7 @@
class="range"
type="range"
min="0"
max="6"
@change="updateFilters"
max="10"
>
<span
@ -149,7 +148,6 @@ import Gender from './gender.vue';
import Pagination from '../pagination/pagination.vue';
const toggleValues = [true, undefined, false];
const cupSizes = ['A', 'B', 'C', 'D', 'E', 'F', 'G'];
function updateFilters() {
this.$router.push({
@ -157,7 +155,6 @@ function updateFilters() {
params: this.$route.params,
query: {
naturalBoobs: toggleValues[this.naturalBoobs],
cup: [cupSizes[this.boobSize]],
},
});
}
@ -175,7 +172,6 @@ async function fetchActors(scroll) {
pageNumber: Number(this.$route.params.pageNumber) || 1,
letter: this.letter.replace('all', ''),
gender: curatedGender === 'other' ? null : curatedGender,
cup: [...cupSizes.slice(this.boobSize)],
naturalBoobs: toggleValues[this.naturalBoobs] ?? null,
});
@ -224,7 +220,7 @@ export default {
totalCount: 0,
limit: 50,
letters: ['all'].concat(Array.from({ length: 26 }, (value, index) => String.fromCharCode(index + 97).toUpperCase())),
boobSize: cupSizes.indexOf(this.$route.query.cup || 'A'),
boobSize: 0,
naturalBoobs: naturalBoobs > -1 ? naturalBoobs : 1,
};
},

View File

@ -174,9 +174,9 @@ export default {
box-sizing: border-box;
padding: .5rem;
color: var(--text-light);
background: var(--darken);
background: var(--shadow);
font-size: .9rem;
text-shadow: 0 0 3px var(--darken);
text-shadow: 0 0 3px var(--shadow);
white-space: normal;
line-height: 1.25;
transform: translateY(100%);

View File

@ -3,6 +3,7 @@
<div
ref="trigger"
class="trigger noselect"
@mouseenter="toggle"
@click.stop="toggle"
>
<slot />

View File

@ -267,20 +267,16 @@ function initActorActions(store, router) {
letter,
gender,
naturalBoobs,
cup,
}) {
const genderFilter = (gender === null && 'gender: { isNull: true }')
|| (gender === 'all' && ' ')
|| `gender: { equalTo: "${gender}" }`;
console.log(cup);
const { connection: { actors, totalCount } } = await graphql(`
query Actors(
$limit: Int,
$offset: Int = 0,
$letter: String! = "",
$cup: [String!]
$naturalBoobs: Boolean,
) {
connection: actorsConnection(
@ -297,9 +293,6 @@ function initActorActions(store, router) {
naturalBoobs: {
equalTo: $naturalBoobs
}
cup: {
in: $cup
}
${genderFilter}
}
) {
@ -354,7 +347,6 @@ function initActorActions(store, router) {
offset: Math.max(0, (pageNumber - 1)) * limit,
limit,
letter,
cup,
naturalBoobs,
});

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx",
"version": "1.179.1",
"version": "1.179.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "1.179.1",
"version": "1.179.0",
"license": "ISC",
"dependencies": {
"@graphile-contrib/pg-order-by-related": "^1.0.0-beta.6",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.179.1",
"version": "1.179.0",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {