From db655551dcdf189d1e793a5ffd2cfae0e6ee21e7 Mon Sep 17 00:00:00 2001 From: Eichenholz Date: Thu, 6 Aug 2026 20:38:45 +0200 Subject: [PATCH] FIX - use five app rows per home page --- frontend/src/utils/pages.test.ts | 6 +++--- frontend/src/views/SpringboardView.vue | 2 +- sky_phone/source/html/index.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/utils/pages.test.ts b/frontend/src/utils/pages.test.ts index c52b5ed..341c115 100644 --- a/frontend/src/utils/pages.test.ts +++ b/frontend/src/utils/pages.test.ts @@ -11,11 +11,11 @@ describe('page clamping', () => { expect( paginateItems( Array.from({ length: 21 }, (_, index) => index), - 16, + 20, ), ).toEqual([ - Array.from({ length: 16 }, (_, index) => index), - [16, 17, 18, 19, 20], + Array.from({ length: 20 }, (_, index) => index), + [20], ]) }) }) diff --git a/frontend/src/views/SpringboardView.vue b/frontend/src/views/SpringboardView.vue index 8f8e0d6..69d592e 100644 --- a/frontend/src/views/SpringboardView.vue +++ b/frontend/src/views/SpringboardView.vue @@ -10,7 +10,7 @@ import { usePhoneStore } from '@/stores/phone' import type { PhoneAppCategory, PhoneAppDefinition } from '@/types/apps' import { paginateItems } from '@/utils/pages' -const APPS_PER_HOME_PAGE = 16 +const APPS_PER_HOME_PAGE = 20 const APP_LIBRARY_CATEGORIES: PhoneAppCategory[] = [ 'games', 'productivity', diff --git a/sky_phone/source/html/index.html b/sky_phone/source/html/index.html index bb96cc3..1d2984f 100644 --- a/sky_phone/source/html/index.html +++ b/sky_phone/source/html/index.html @@ -4,7 +4,7 @@ Sky Phone - +