style(ui): Adjust scale for mobile use - #77
Merged
Merged
Conversation
Contributor
Svelte Check ResultsFound 62 errors and 11 warnings (73 total) with the files in this PR. ui/src/lib/appCard.svelteui/src/lib/appCard.svelte:16:14Warn: This reference only captures the initial value of `url`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
const link = url ? url : appid === '#' ? '.' : '/app/' + appid;ui/src/lib/appCard.svelte:16:20Warn: This reference only captures the initial value of `url`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
const link = url ? url : appid === '#' ? '.' : '/app/' + appid;ui/src/lib/appCard.svelte:16:26Warn: This reference only captures the initial value of `appid`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
const link = url ? url : appid === '#' ? '.' : '/app/' + appid;ui/src/lib/appCard.svelte:16:58Warn: This reference only captures the initial value of `appid`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
const link = url ? url : appid === '#' ? '.' : '/app/' + appid;ui/src/routes/+page.svelteui/src/routes/+page.svelte:9:13Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
console.log(data);ui/src/routes/admin/+page.svelteui/src/routes/admin/+page.svelte:5:13Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
console.log(data);ui/src/routes/admin/+page.svelte:9:1Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
data.users.then((data) => users.push(...data));ui/src/routes/admin/+page.svelte:10:1Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
data.properties.then((data) => properties.push(...data));ui/src/routes/admin/+page.svelte:12:5Warn: `searchTerm` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
https://svelte.dev/e/non_reactive_update
let searchTerm = '';ui/src/routes/admin/+page.svelte:13:5Warn: `statusFilter` is updated, but is not declared with `$state(...)`. Changing its value will not correctly trigger updates
https://svelte.dev/e/non_reactive_update
let statusFilter = 'all';ui/src/routes/admin/+page.svelte:4:17Error: Member 'data' implicitly has an 'any' type.
let { data }: { data } = $props();ui/src/routes/admin/+page.svelte:187:50Error: Property 'in' does not exist on type 'never'.
<td><a class="anchor" href="/item/{property.in}">{property.in}</a></td>ui/src/routes/admin/+page.svelte:187:65Error: Property 'in' does not exist on type 'never'.
<td><a class="anchor" href="/item/{property.in}">{property.in}</a></td>ui/src/routes/admin/+page.svelte:188:20Error: Property 'out' does not exist on type 'never'.
<td>{property.out.class}</td>ui/src/routes/admin/+page.svelte:189:20Error: Property 'out' does not exist on type 'never'.
<td>{property.out.value}</td>ui/src/routes/admin/+page.svelte:190:20Error: Property 'source' does not exist on type 'never'.
<td>{property.source}</td>ui/src/routes/admin/+page.svelte:193:21Error: Property 'status' does not exist on type 'never'.
{#if property.status === -1}ui/src/routes/admin/+page.svelte:195:26Error: Property 'status' does not exist on type 'never'.
{:else if property.status === 0}ui/src/routes/admin/+page.svelte:205:37Error: Property 'status' does not exist on type 'never'.
class="btn btn-sm {property.status === -1ui/src/routes/admin/+page.svelte:209:28Error: Property 'status' does not exist on type 'never'.
disabled={property.status === -1}ui/src/routes/admin/+page.svelte:215:37Error: Property 'status' does not exist on type 'never'.
class="btn btn-sm {property.status === 0ui/src/routes/admin/+page.svelte:219:28Error: Property 'status' does not exist on type 'never'.
disabled={property.status === 0}ui/src/routes/admin/+page.svelte:225:37Error: Property 'status' does not exist on type 'never'.
class="btn btn-sm {property.status === 1ui/src/routes/admin/+page.svelte:229:28Error: Property 'status' does not exist on type 'never'.
disabled={property.status === 1}ui/src/routes/admin/+page.svelte:257:16Error: Property 'id' does not exist on type 'never'.
<td>{user.id}</td>ui/src/routes/admin/+page.svelte:258:16Error: Property 'name' does not exist on type 'never'.
<td>{user.name ?? 'unpopulated'} </td>ui/src/routes/admin/+page.svelte:263:22Error: Property 'admin' does not exist on type 'never'.
checked={user.admin}ui/src/routes/admin/+page.svelte:264:46Error: Property 'id' does not exist on type 'never'.
onchange={(e) => toggleUserAdmin(user.id, e.target.checked)}ui/src/routes/admin/+page.svelte:264:50Error: 'e.target' is possibly 'null'.
onchange={(e) => toggleUserAdmin(user.id, e.target.checked)}ui/src/routes/admin/+page.svelte:264:59Error: Property 'checked' does not exist on type 'EventTarget'.
onchange={(e) => toggleUserAdmin(user.id, e.target.checked)}ui/src/routes/admin/+page.svelte:271:22Error: Property 'banned' does not exist on type 'never'.
checked={user.banned}ui/src/routes/admin/+page.svelte:273:28Error: Property 'id' does not exist on type 'never'.
toggleUserBan(user.id, e.target.checked);ui/src/routes/admin/+page.svelte:273:32Error: 'e.target' is possibly 'null'.
toggleUserBan(user.id, e.target.checked);ui/src/routes/admin/+page.svelte:273:41Error: Property 'checked' does not exist on type 'EventTarget'.
toggleUserBan(user.id, e.target.checked);ui/src/routes/admin/+page.svelte:278:13Error: Property 'last_logged_in' does not exist on type 'never'.
{user.last_logged_in}ui/src/routes/admin/+page.svelte:9:18Error: Parameter 'data' implicitly has an 'any' type.
data.users.then((data) => users.push(...data));ui/src/routes/admin/+page.svelte:9:38Error: Argument of type 'any' is not assignable to parameter of type 'never'.
data.users.then((data) => users.push(...data));ui/src/routes/admin/+page.svelte:10:23Error: Parameter 'data' implicitly has an 'any' type.
data.properties.then((data) => properties.push(...data));ui/src/routes/admin/+page.svelte:10:48Error: Argument of type 'any' is not assignable to parameter of type 'never'.
data.properties.then((data) => properties.push(...data));ui/src/routes/admin/+page.svelte:43:2Error: Type 'any[]' is not assignable to type 'never[]'.
Type 'any' is not assignable to type 'never'.
users = users.map((u) => (u.id === id ? { ...u, admin: !u.admin } : u));ui/src/routes/admin/+page.svelte:43:30Error: Property 'id' does not exist on type 'never'.
users = users.map((u) => (u.id === id ? { ...u, admin: !u.admin } : u));ui/src/routes/admin/+page.svelte:43:44Error: Spread types may only be created from object types.
users = users.map((u) => (u.id === id ? { ...u, admin: !u.admin } : u));ui/src/routes/admin/+page.svelte:43:60Error: Property 'admin' does not exist on type 'never'.
users = users.map((u) => (u.id === id ? { ...u, admin: !u.admin } : u));ui/src/routes/admin/+page.svelte:59:2Error: Type 'any[]' is not assignable to type 'never[]'.
Type 'any' is not assignable to type 'never'.
users = users.map((u) => (u.id === id ? { ...u, banned: !u.banned } : u));ui/src/routes/admin/+page.svelte:59:30Error: Property 'id' does not exist on type 'never'.
users = users.map((u) => (u.id === id ? { ...u, banned: !u.banned } : u));ui/src/routes/admin/+page.svelte:59:44Error: Spread types may only be created from object types.
users = users.map((u) => (u.id === id ? { ...u, banned: !u.banned } : u));ui/src/routes/admin/+page.svelte:59:61Error: Property 'banned' does not exist on type 'never'.
users = users.map((u) => (u.id === id ? { ...u, banned: !u.banned } : u));ui/src/routes/app/[id]/search.svelteui/src/routes/app/[id]/search.svelte:82:24Error: Property 'value' does not exist on type 'EventTarget'.
switch (event.target.value) {ui/src/routes/app/[id]/search.svelte:121:22Error: Parameter 'event' implicitly has an 'any' type.
function submitForum(event) {ui/src/routes/app/[id]/search.svelte:198:7Error: Type '(event: InputEvent) => void' is not assignable to type 'FormEventHandler<HTMLSelectElement>'.
Types of parameters 'event' and 'event' are incompatible.
Type 'Event & { currentTarget: EventTarget & HTMLSelectElement; }' is missing the following properties from type 'InputEvent': data, dataTransfer, inputType, isComposing, and 5 more.
oninput={updatedSelectionChange}ui/src/routes/app/[id]/+page.svelteui/src/routes/app/[id]/+page.svelte:4:31Error: Cannot find module '../../../../.svelte-kit/types/src/routes' or its corresponding type declarations.
import type { PageData } from '../../../../.svelte-kit/types/src/routes';ui/src/routes/app/[id]/+page.svelte:165:17Error: Parameter 'data' implicitly has an 'any' type.
{#snippet rTable(data)}ui/src/routes/app/[id]/+page.svelte:277:16Error: Parameter 'data' implicitly has an 'any' type.
{#snippet rGrid(data)}ui/src/routes/app/[id]/+page.svelte:287:20Error: Parameter 'value' implicitly has an 'any' type.
{#snippet errorCard(value)}ui/src/routes/app/[id]/+page.svelte:28:34Error: Property 'tags' does not exist on type '{}'.
if (tags.v.length === 0 && app.v.tags) {ui/src/routes/app/[id]/+page.svelte:29:17Error: Property 'tags' does not exist on type '{}'.
tags.v = app.v.tags.filter((tag) => app.v.default_tags.some((e) => e === tag));ui/src/routes/app/[id]/+page.svelte:29:30Error: Parameter 'tag' implicitly has an 'any' type.
tags.v = app.v.tags.filter((tag) => app.v.default_tags.some((e) => e === tag));ui/src/routes/app/[id]/+page.svelte:29:44Error: Property 'default_tags' does not exist on type '{}'.
tags.v = app.v.tags.filter((tag) => app.v.default_tags.some((e) => e === tag));ui/src/routes/app/[id]/+page.svelte:29:63Error: Parameter 'e' implicitly has an 'any' type.
tags.v = app.v.tags.filter((tag) => app.v.default_tags.some((e) => e === tag));ui/src/routes/app/[id]/+page.svelte:42:32Error: Parameter 's' implicitly has an 'any' type.
const slicedSource = $derived((s) => s.slice((page - 1) * pageSize, page * pageSize));ui/src/routes/app/[id]/+page.svelte:44:20Error: Parameter 'e' implicitly has an 'any' type.
function runSearch(e) {ui/src/routes/app/[id]/+page.svelte:71:27Error: Property 'tags' does not exist on type '{}'.
<Search appTags={app.v.tags}></Search>ui/src/routes/item/[item]/BodyTab.svelteui/src/routes/item/[item]/BodyTab.svelte:79:19Error: Parameter 'item' implicitly has an 'any' type.
{#snippet itemCard(item)}ui/src/routes/item/[item]/BodyTab.svelte:21:17Error: Parameter 'item' implicitly has an 'any' type.
function filter(item) {ui/src/routes/item/[item]/BodyTab.svelte:22:42Error: Parameter 'e' implicitly has an 'any' type.
const itemTags = (item.tags || []).map((e) => e.id);ui/src/routes/item/[item]/BodyTab.svelte:25:48Error: Parameter 'langId' implicitly has an 'any' type.
const itemLangs = (item.languages || []).map((langId) => whichLang(langId));ui/src/routes/item/[item]/BodyTab.svelte:27:49Error: Parameter 'langName' implicitly has an 'any' type.
selectedLangs.length === 0 || itemLangs.some((langName) => selectedLangs.includes(langName));ui/src/routes/item/[item]/BodyTab.svelte:33:12Error: Parameter 'e' implicitly has an 'any' type.
.filter((e) => filter(e))ui/src/routes/item/[item]/BodyTab.svelte:34:14Error: Parameter 'b' implicitly has an 'any' type.
.toSorted((b, a) => (a.last_updated || 0) - (b.last_updated || 0))ui/src/routes/item/[item]/BodyTab.svelte:34:17Error: Parameter 'a' implicitly has an 'any' type.
.toSorted((b, a) => (a.last_updated || 0) - (b.last_updated || 0))ui/src/routes/item/[item]/+page.svelteui/src/routes/item/[item]/+page.svelte:10:13Warn: This reference only captures the initial value of `data`. Did you mean to reference it inside a closure instead?
https://svelte.dev/e/state_referenced_locally
console.log(data);ui/src/routes/item/[item]/+page.svelte:5:31Error: Cannot find module '*.svelte' or its corresponding type declarations.
import type { PageData } from '*.svelte';ui/src/routes/item/[item]/+page.svelte:48:20Error: Parameter 'value' implicitly has an 'any' type.
{#snippet errorCard(value)}Last Updated: 15th September at 23:27 (d6d4425) |
disconsented
force-pushed
the
fix/mobile-ui
branch
from
September 15, 2026 23:27
a1d129a to
e928448
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.