Skip to content

style(ui): Adjust scale for mobile use - #77

Merged
disconsented merged 1 commit into
masterfrom
fix/mobile-ui
Sep 15, 2026
Merged

disconsented merged 1 commit into
masterfrom
fix/mobile-ui

Conversation

@disconsented

Copy link
Copy Markdown
Owner

No description provided.

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Svelte Check Results

Found 62 errors and 11 warnings (73 total) with the files in this PR.

ui/src/lib/appCard.svelte

ui/src/lib/appCard.svelte:16:14

Warn: 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:20

Warn: 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:26

Warn: 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:58

Warn: 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.svelte

ui/src/routes/+page.svelte:9:13

Warn: 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

ui/src/routes/admin/+page.svelte:5:13

Warn: 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:1

Warn: 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:1

Warn: 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:5

Warn: `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:5

Warn: `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:17

Error: Member 'data' implicitly has an 'any' type.

let { data }: { data } = $props();

ui/src/routes/admin/+page.svelte:187:50

Error: 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:65

Error: 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:20

Error: Property 'out' does not exist on type 'never'.

<td>{property.out.class}</td>

ui/src/routes/admin/+page.svelte:189:20

Error: Property 'out' does not exist on type 'never'.

<td>{property.out.value}</td>

ui/src/routes/admin/+page.svelte:190:20

Error: Property 'source' does not exist on type 'never'.

<td>{property.source}</td>

ui/src/routes/admin/+page.svelte:193:21

Error: Property 'status' does not exist on type 'never'.

{#if property.status === -1}

ui/src/routes/admin/+page.svelte:195:26

Error: Property 'status' does not exist on type 'never'.

{:else if property.status === 0}

ui/src/routes/admin/+page.svelte:205:37

Error: Property 'status' does not exist on type 'never'.

class="btn btn-sm {property.status === -1

ui/src/routes/admin/+page.svelte:209:28

Error: Property 'status' does not exist on type 'never'.

disabled={property.status === -1}

ui/src/routes/admin/+page.svelte:215:37

Error: Property 'status' does not exist on type 'never'.

class="btn btn-sm {property.status === 0

ui/src/routes/admin/+page.svelte:219:28

Error: Property 'status' does not exist on type 'never'.

disabled={property.status === 0}

ui/src/routes/admin/+page.svelte:225:37

Error: Property 'status' does not exist on type 'never'.

class="btn btn-sm {property.status === 1

ui/src/routes/admin/+page.svelte:229:28

Error: Property 'status' does not exist on type 'never'.

disabled={property.status === 1}

ui/src/routes/admin/+page.svelte:257:16

Error: Property 'id' does not exist on type 'never'.

<td>{user.id}</td>

ui/src/routes/admin/+page.svelte:258:16

Error: Property 'name' does not exist on type 'never'.

<td>{user.name ?? 'unpopulated'} </td>

ui/src/routes/admin/+page.svelte:263:22

Error: Property 'admin' does not exist on type 'never'.

checked={user.admin}

ui/src/routes/admin/+page.svelte:264:46

Error: Property 'id' does not exist on type 'never'.

onchange={(e) => toggleUserAdmin(user.id, e.target.checked)}

ui/src/routes/admin/+page.svelte:264:50

Error: 'e.target' is possibly 'null'.

onchange={(e) => toggleUserAdmin(user.id, e.target.checked)}

ui/src/routes/admin/+page.svelte:264:59

Error: Property 'checked' does not exist on type 'EventTarget'.

onchange={(e) => toggleUserAdmin(user.id, e.target.checked)}

ui/src/routes/admin/+page.svelte:271:22

Error: Property 'banned' does not exist on type 'never'.

checked={user.banned}

ui/src/routes/admin/+page.svelte:273:28

Error: Property 'id' does not exist on type 'never'.

toggleUserBan(user.id, e.target.checked);

ui/src/routes/admin/+page.svelte:273:32

Error: 'e.target' is possibly 'null'.

toggleUserBan(user.id, e.target.checked);

ui/src/routes/admin/+page.svelte:273:41

Error: Property 'checked' does not exist on type 'EventTarget'.

toggleUserBan(user.id, e.target.checked);

ui/src/routes/admin/+page.svelte:278:13

Error: Property 'last_logged_in' does not exist on type 'never'.

{user.last_logged_in}

ui/src/routes/admin/+page.svelte:9:18

Error: Parameter 'data' implicitly has an 'any' type.

data.users.then((data) => users.push(...data));

ui/src/routes/admin/+page.svelte:9:38

Error: 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:23

Error: Parameter 'data' implicitly has an 'any' type.

data.properties.then((data) => properties.push(...data));

ui/src/routes/admin/+page.svelte:10:48

Error: 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:2

Error: 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:30

Error: 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:44

Error: 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:60

Error: 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:2

Error: 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:30

Error: 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:44

Error: 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:61

Error: 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.svelte

ui/src/routes/app/[id]/search.svelte:82:24

Error: Property 'value' does not exist on type 'EventTarget'.

switch (event.target.value) {

ui/src/routes/app/[id]/search.svelte:121:22

Error: Parameter 'event' implicitly has an 'any' type.

function submitForum(event) {

ui/src/routes/app/[id]/search.svelte:198:7

Error: 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.svelte

ui/src/routes/app/[id]/+page.svelte:4:31

Error: 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:17

Error: Parameter 'data' implicitly has an 'any' type.

{#snippet rTable(data)}

ui/src/routes/app/[id]/+page.svelte:277:16

Error: Parameter 'data' implicitly has an 'any' type.

{#snippet rGrid(data)}

ui/src/routes/app/[id]/+page.svelte:287:20

Error: Parameter 'value' implicitly has an 'any' type.

{#snippet errorCard(value)}

ui/src/routes/app/[id]/+page.svelte:28:34

Error: Property 'tags' does not exist on type '{}'.

if (tags.v.length === 0 && app.v.tags) {

ui/src/routes/app/[id]/+page.svelte:29:17

Error: 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:30

Error: 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:44

Error: 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:63

Error: 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:32

Error: 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:20

Error: Parameter 'e' implicitly has an 'any' type.

function runSearch(e) {

ui/src/routes/app/[id]/+page.svelte:71:27

Error: Property 'tags' does not exist on type '{}'.

<Search appTags={app.v.tags}></Search>
ui/src/routes/item/[item]/BodyTab.svelte

ui/src/routes/item/[item]/BodyTab.svelte:79:19

Error: Parameter 'item' implicitly has an 'any' type.

{#snippet itemCard(item)}

ui/src/routes/item/[item]/BodyTab.svelte:21:17

Error: Parameter 'item' implicitly has an 'any' type.

function filter(item) {

ui/src/routes/item/[item]/BodyTab.svelte:22:42

Error: Parameter 'e' implicitly has an 'any' type.

const itemTags = (item.tags || []).map((e) => e.id);

ui/src/routes/item/[item]/BodyTab.svelte:25:48

Error: Parameter 'langId' implicitly has an 'any' type.

const itemLangs = (item.languages || []).map((langId) => whichLang(langId));

ui/src/routes/item/[item]/BodyTab.svelte:27:49

Error: Parameter 'langName' implicitly has an 'any' type.

selectedLangs.length === 0 || itemLangs.some((langName) => selectedLangs.includes(langName));

ui/src/routes/item/[item]/BodyTab.svelte:33:12

Error: Parameter 'e' implicitly has an 'any' type.

.filter((e) => filter(e))

ui/src/routes/item/[item]/BodyTab.svelte:34:14

Error: 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:17

Error: Parameter 'a' implicitly has an 'any' type.

.toSorted((b, a) => (a.last_updated || 0) - (b.last_updated || 0))
ui/src/routes/item/[item]/+page.svelte

ui/src/routes/item/[item]/+page.svelte:10:13

Warn: 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:31

Error: Cannot find module '*.svelte' or its corresponding type declarations.

import type { PageData } from '*.svelte';

ui/src/routes/item/[item]/+page.svelte:48:20

Error: Parameter 'value' implicitly has an 'any' type.

{#snippet errorCard(value)}

Last Updated: 15th September at 23:27 (d6d4425)

@disconsented
disconsented merged commit 119a37f into master Sep 15, 2026
5 of 6 checks passed
@disconsented
disconsented deleted the fix/mobile-ui branch September 15, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant