From 7fb9f60e13968da86fa48063e2b72aaf12a2d9ef Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Sat, 6 Jun 2026 02:04:40 -0400 Subject: [PATCH] Comment out user experience setup. --- src/TempoLite.vue | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/TempoLite.vue b/src/TempoLite.vue index e34bbc5..f42a9d1 100644 --- a/src/TempoLite.vue +++ b/src/TempoLite.vue @@ -1902,27 +1902,27 @@ async function createUserEntry() { return; } - let gaveRating = false; - if (userExists) { - try { - const ratingResponse = await fetch(`${STORY_RATING_URL}/${uuid}`, { - method: "GET", - // eslint-disable-next-line @typescript-eslint/naming-convention - headers: { "Authorization": process.env.VUE_APP_CDS_API_KEY ?? "" } - }); - - const ratingContent = await ratingResponse.json(); - gaveRating = ratingResponse.status === 200 && ratingContent.ratings?.length > 0; - } catch (e) { - console.error(e); - } - } - - if (!gaveRating) { - ratingTimeout = setTimeout(() => { - showRating.value = true; - }, 60_000); - } + // let gaveRating = false; + // if (userExists) { + // try { + // const ratingResponse = await fetch(`${STORY_RATING_URL}/${uuid}`, { + // method: "GET", + // // eslint-disable-next-line @typescript-eslint/naming-convention + // headers: { "Authorization": process.env.VUE_APP_CDS_API_KEY ?? "" } + // }); + + // const ratingContent = await ratingResponse.json(); + // gaveRating = ratingResponse.status === 200 && ratingContent.ratings?.length > 0; + // } catch (e) { + // console.error(e); + // } + // } + // + // if (!gaveRating) { + // ratingTimeout = setTimeout(() => { + // showRating.value = true; + // }, 60_000); + // } }