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

View File

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

View File

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

View File

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

4
package-lock.json generated
View File

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

View File

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